Files
gentoo/dev-python/flask-compress/flask-compress-1.5.0.ebuild
Aaron W. Swenson 4a9a682019 dev-python/flask-compress: Initial Commit
Required by dev-db/pgadmin4-4.25.

Package initially created/curated by Jorge Pizarro Callejas, a.k.a. Jorgicio,
via https://github.com/jorgicio/jorgicio-gentoo-overlay.

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>
2020-09-12 07:47:33 -04:00

37 lines
701 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
inherit distutils-r1
MY_PN="Flask-Compress"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Compress responses in your Flask app with gzip"
HOMEPAGE="https://pypi.org/project/Flask-Compress"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="
app-arch/brotli[python,${PYTHON_USEDEP}]
dev-python/flask[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
"
DEPEND="
${RDEPEND}
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
S="${WORKDIR}/${MY_P}"
python_test() {
pytest
}