commit:     14dd959a95014c0d63fe56ee8ab69030482d370c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 15 13:09:42 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Feb 15 13:10:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14dd959a

dev-python/django-js-asset: Enable py3.11, take for python@

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../django-js-asset/django-js-asset-2.0.ebuild       | 20 +++++++++++++++-----
 dev-python/django-js-asset/metadata.xml              |  7 ++++++-
 2 files changed, 21 insertions(+), 6 deletions(-)

diff --git a/dev-python/django-js-asset/django-js-asset-2.0.ebuild 
b/dev-python/django-js-asset/django-js-asset-2.0.ebuild
index 8eb1953daefe..6654e3521448 100644
--- a/dev-python/django-js-asset/django-js-asset-2.0.ebuild
+++ b/dev-python/django-js-asset/django-js-asset-2.0.ebuild
@@ -4,11 +4,15 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
+
 inherit distutils-r1
 
-DESCRIPTION="script tag with additional attributes for django.forms.Media"
-HOMEPAGE="https://github.com/matthiask/django-js-asset";
+DESCRIPTION="Script tag with additional attributes for django.forms.Media"
+HOMEPAGE="
+       https://github.com/matthiask/django-js-asset/
+       https://pypi.org/project/django-js-asset/
+"
 SRC_URI="
        https://github.com/matthiask/django-js-asset/archive/${PV}.tar.gz
                -> ${P}.gh.tar.gz
@@ -20,8 +24,14 @@ KEYWORDS="~amd64"
 IUSE="test"
 RESTRICT="!test? ( test )"
 
-RDEPEND=">=dev-python/django-2.2[${PYTHON_USEDEP}]"
-BDEPEND="test? ( ${RDEPEND} )"
+RDEPEND="
+       >=dev-python/django-2.2[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               ${RDEPEND}
+       )
+"
 
 python_test() {
        cd tests || die

diff --git a/dev-python/django-js-asset/metadata.xml 
b/dev-python/django-js-asset/metadata.xml
index 039080e9bc24..fa3194cddf60 100644
--- a/dev-python/django-js-asset/metadata.xml
+++ b/dev-python/django-js-asset/metadata.xml
@@ -1,8 +1,13 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-       <!-- maintainer-needed -->
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Python</name>
+       </maintainer>
+       <stabilize-allarches/>
        <upstream>
+               <remote-id type="github">matthiask/django-js-asset</remote-id>
                <remote-id type="pypi">django-js-asset</remote-id>
        </upstream>
 </pkgmetadata>

Reply via email to