1 |
commit: 245de16916deb56532a409d420fa6013b9c6ecee |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 30 19:58:57 2021 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 30 20:26:35 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=245de169 |
7 |
|
8 |
dev-python/django-js-asset: add python3_9 support |
9 |
|
10 |
Closes: https://bugs.gentoo.org/767001 |
11 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
12 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
13 |
|
14 |
dev-python/django-js-asset/django-js-asset-1.2.2.ebuild | 11 +++++++---- |
15 |
1 file changed, 7 insertions(+), 4 deletions(-) |
16 |
|
17 |
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 |
18 |
index c252e0ece1b..16175edec80 100644 |
19 |
--- a/dev-python/django-js-asset/django-js-asset-1.2.2.ebuild |
20 |
+++ b/dev-python/django-js-asset/django-js-asset-1.2.2.ebuild |
21 |
@@ -1,9 +1,9 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
+# Copyright 1999-2021 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=7 |
27 |
|
28 |
-PYTHON_COMPAT=( python3_{6,7} ) |
29 |
+PYTHON_COMPAT=( python3_{7..9} ) |
30 |
inherit distutils-r1 |
31 |
|
32 |
DESCRIPTION="script tag with additional attributes for django.forms.Media" |
33 |
@@ -13,7 +13,10 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
34 |
LICENSE="BSD" |
35 |
SLOT="0" |
36 |
KEYWORDS="~amd64" |
37 |
+RESTRICT="test" |
38 |
|
39 |
RDEPEND=">=dev-python/django-1.17[${PYTHON_USEDEP}]" |
40 |
-DEPEND="${RDEPEND} |
41 |
-dev-python/setuptools[${PYTHON_USEDEP}]" |
42 |
+DEPEND="${RDEPEND}" |
43 |
+BDEPEND="test? ( dev-python/coverage[${PYTHON_USEDEP}] )" |
44 |
+ |
45 |
+distutils_enable_tests setup.py |