# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=9

MY_PN="nginx-upload-progress-module"
inherit nginx-module

DESCRIPTION="An upload progress system for NGINX monitoring RFC1867 POST uploads"
HOMEPAGE="https://github.com/masterzen/nginx-upload-progress-module"
SRC_URI="https://github.com/masterzen/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S=${WORKDIR}/${MY_PN}-${PV}

LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~arm64"

# Uses custom shell-based tests.
RESTRICT="test"
