From 245de16916deb56532a409d420fa6013b9c6ecee Mon Sep 17 00:00:00 2001 From: Conrad Kostecki Date: Sat, 30 Jan 2021 20:58:57 +0100 Subject: 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 --- dev-python/django-js-asset/django-js-asset-1.2.2.ebuild | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'dev-python/django-js-asset') 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 -- cgit v1.2.3-65-gdbad