commit:     abd18cd51dee2bb8612dba899dddf00d66ee864a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 13 06:10:02 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jun 13 07:18:47 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abd18cd5

dev-python/dj-database-url: Use PEP517 build

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

 .../dj-database-url-0.5.0-r1.ebuild                | 25 ++++++++++++++++++++++
 dev-python/dj-database-url/metadata.xml            |  2 +-
 2 files changed, 26 insertions(+), 1 deletion(-)

diff --git a/dev-python/dj-database-url/dj-database-url-0.5.0-r1.ebuild 
b/dev-python/dj-database-url/dj-database-url-0.5.0-r1.ebuild
new file mode 100644
index 000000000000..55e5d9e8e99d
--- /dev/null
+++ b/dev-python/dj-database-url/dj-database-url-0.5.0-r1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Use Database URLs in your Django Application"
+HOMEPAGE="
+       https://github.com/jazzband/dj-database-url/
+       https://pypi.org/project/dj-database-url/
+"
+SRC_URI="
+       https://github.com/jazzband/dj-database-url/archive/v${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux"
+
+distutils_enable_tests unittest

diff --git a/dev-python/dj-database-url/metadata.xml 
b/dev-python/dj-database-url/metadata.xml
index 98f104691e57..de6b57e3d247 100644
--- a/dev-python/dj-database-url/metadata.xml
+++ b/dev-python/dj-database-url/metadata.xml
@@ -8,6 +8,6 @@
        <stabilize-allarches/>
        <upstream>
                <remote-id type="pypi">dj-database-url</remote-id>
-               <remote-id type="github">jacobian/dj-database-url</remote-id>
+               <remote-id type="github">jazzband/dj-database-url</remote-id>
        </upstream>
 </pkgmetadata>

Reply via email to