commit: 6be31f3c45d3189eab520017bcde9ea8a38dc31d
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 26 17:42:36 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb 26 17:59:42 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6be31f3c
dev-python/django-appconf: EAPI 8, PEP517
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
.../django-appconf/django-appconf-1.0.5-r1.ebuild | 27 ++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/dev-python/django-appconf/django-appconf-1.0.5-r1.ebuild
b/dev-python/django-appconf/django-appconf-1.0.5-r1.ebuild
new file mode 100644
index 000000000000..177aa0a9ff31
--- /dev/null
+++ b/dev-python/django-appconf/django-appconf-1.0.5-r1.ebuild
@@ -0,0 +1,27 @@
+# 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="A helper class for handling configuration defaults of packaged
apps gracefully"
+HOMEPAGE="https://django-appconf.readthedocs.io/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ dev-python/django[${PYTHON_USEDEP}]
+"
+
+python_test() {
+ local -x DJANGO_SETTINGS_MODULE=tests.test_settings
+ local -x PYTHONPATH="${S}"
+ django-admin test -v 2 || die
+}