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

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-06-13 08:10:02 +02:00
parent 1e4edb8f3b
commit abd18cd51d
2 changed files with 26 additions and 1 deletions

View File

@@ -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

View File

@@ -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>