diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2021-01-30 20:58:57 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2021-01-30 21:26:35 +0100 |
commit | 245de16916deb56532a409d420fa6013b9c6ecee (patch) | |
tree | 4ca6e36898dc4c4e4416ad62286a3f9072ec590f /dev-python/django-js-asset | |
parent | dev-python/django-filter: drop old version (diff) | |
download | gentoo-245de16916deb56532a409d420fa6013b9c6ecee.tar.gz gentoo-245de16916deb56532a409d420fa6013b9c6ecee.tar.bz2 gentoo-245de16916deb56532a409d420fa6013b9c6ecee.zip |
dev-python/django-js-asset: add python3_9 support
Closes: https://bugs.gentoo.org/767001
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-python/django-js-asset')
-rw-r--r-- | dev-python/django-js-asset/django-js-asset-1.2.2.ebuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/dev-python/django-js-asset/django-js-asset-1.2.2.ebuild b/dev-python/django-js-asset/django-js-asset-1.2.2.ebuild index c252e0ece1be..16175edec804 100644 --- a/dev-python/django-js-asset/django-js-asset-1.2.2.ebuild +++ b/dev-python/django-js-asset/django-js-asset-1.2.2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python3_{7..9} ) inherit distutils-r1 DESCRIPTION="script tag with additional attributes for django.forms.Media" @@ -13,7 +13,10 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64" +RESTRICT="test" RDEPEND=">=dev-python/django-1.17[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} -dev-python/setuptools[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" +BDEPEND="test? ( dev-python/coverage[${PYTHON_USEDEP}] )" + +distutils_enable_tests setup.py |