diff options
author | Sam James <sam@gentoo.org> | 2020-11-18 01:39:43 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-11-18 01:39:43 +0000 |
commit | 1fc4c3233b538f3b58411f9d48ad1f0363db907b (patch) | |
tree | 55f35ab4385bbc37b46408f3b6795526cf5db809 | |
parent | dev-ml/camldbm: bump to 1.2 (diff) | |
download | gentoo-1fc4c3233b538f3b58411f9d48ad1f0363db907b.tar.gz gentoo-1fc4c3233b538f3b58411f9d48ad1f0363db907b.tar.bz2 gentoo-1fc4c3233b538f3b58411f9d48ad1f0363db907b.zip |
dev-python/flask-compress: modernise ebuild
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | dev-python/flask-compress/flask-compress-1.5.0.ebuild | 12 | ||||
-rw-r--r-- | dev-python/flask-compress/metadata.xml | 1 |
2 files changed, 3 insertions, 10 deletions
diff --git a/dev-python/flask-compress/flask-compress-1.5.0.ebuild b/dev-python/flask-compress/flask-compress-1.5.0.ebuild index 115c157c65c1..87024f2040d5 100644 --- a/dev-python/flask-compress/flask-compress-1.5.0.ebuild +++ b/dev-python/flask-compress/flask-compress-1.5.0.ebuild @@ -13,11 +13,11 @@ 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" +S="${WORKDIR}/${MY_P}" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="test" RDEPEND=" app-arch/brotli[python,${PYTHON_USEDEP}] @@ -25,12 +25,4 @@ RDEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] " -DEPEND=" - ${RDEPEND} - test? ( dev-python/pytest[${PYTHON_USEDEP}] )" - -S="${WORKDIR}/${MY_P}" - -python_test() { - pytest -} +distutils_enable_tests pytest diff --git a/dev-python/flask-compress/metadata.xml b/dev-python/flask-compress/metadata.xml index 09014f03117e..05b10e7385a6 100644 --- a/dev-python/flask-compress/metadata.xml +++ b/dev-python/flask-compress/metadata.xml @@ -9,6 +9,7 @@ <email>titanofold@gentoo.org</email> <name>Aaron W. Swenson</name> </maintainer> + <stabilize-allarches/> <upstream> <remote-id type="pypi">Flask-Gravatar</remote-id> </upstream> |