1 |
commit: f9bad27757b4d9c0a7599013e61e21e25940641c |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 28 09:15:07 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 28 09:15:07 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9bad277 |
7 |
|
8 |
dev-python/django-appconf: add 1.0.5, enable tests, enable py3.10 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/797862 |
11 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
12 |
|
13 |
dev-python/django-appconf/Manifest | 1 + |
14 |
.../django-appconf/django-appconf-1.0.5.ebuild | 23 ++++++++++++++++++++++ |
15 |
2 files changed, 24 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/django-appconf/Manifest b/dev-python/django-appconf/Manifest |
18 |
index d84cd9ecbe2..9a8514de5b5 100644 |
19 |
--- a/dev-python/django-appconf/Manifest |
20 |
+++ b/dev-python/django-appconf/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST django-appconf-1.0.4.tar.gz 18733 BLAKE2B 21af3c3913aafe6a7670256bb10e80d0ac286fdeea646f91e8696470be3c1dcfb0b6d04e626f80784de02693583bf0b7a16da658175f8a1d81200a5c837831ee SHA512 0d0a206d43d4c6d7f3dbe5fb6423f5f012dae42bae7459f3ee06501f9c126e73f69a30da5c34c84014e582a7b42f253ebd37ece8b8477963cb5d2357ca095639 |
23 |
+DIST django-appconf-1.0.5.tar.gz 15891 BLAKE2B 4d031a229ab11d55d85887346cf208cbe1136e48b78a4c096ba6d67017d80031d634cbeef82783713e4e005fe8a19f1f8e12193450b04e968b8ea5a94290f2bc SHA512 9d1b01e3f8dac5a9a7f6f4f5c0e9fcf4a2a0177e7702e5f932f238379bd2bb065a698c86d27c2dbab7ba6480abdc25595c8a4f7c6f0524517aeb1c0e34f09864 |
24 |
|
25 |
diff --git a/dev-python/django-appconf/django-appconf-1.0.5.ebuild b/dev-python/django-appconf/django-appconf-1.0.5.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..fbf31651a6f |
28 |
--- /dev/null |
29 |
+++ b/dev-python/django-appconf/django-appconf-1.0.5.ebuild |
30 |
@@ -0,0 +1,23 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="A helper class for handling configuration defaults of packaged apps gracefully." |
40 |
+HOMEPAGE="https://django-appconf.readthedocs.io/" |
41 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="BSD" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64" |
46 |
+ |
47 |
+RDEPEND="dev-python/django[${PYTHON_USEDEP}]" |
48 |
+ |
49 |
+python_test() { |
50 |
+ local -x DJANGO_SETTINGS_MODULE=tests.test_settings |
51 |
+ local -x PYTHONPATH="${S}" |
52 |
+ django-admin test -v 2 || die |
53 |
+} |