Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/django-appconf/
Date: Sat, 26 Feb 2022 18:00:01
Message-Id: 1645898382.6be31f3c45d3189eab520017bcde9ea8a38dc31d.mgorny@gentoo
1 commit: 6be31f3c45d3189eab520017bcde9ea8a38dc31d
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 26 17:42:36 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 26 17:59:42 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6be31f3c
7
8 dev-python/django-appconf: EAPI 8, PEP517
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 .../django-appconf/django-appconf-1.0.5-r1.ebuild | 27 ++++++++++++++++++++++
13 1 file changed, 27 insertions(+)
14
15 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
16 new file mode 100644
17 index 000000000000..177aa0a9ff31
18 --- /dev/null
19 +++ b/dev-python/django-appconf/django-appconf-1.0.5-r1.ebuild
20 @@ -0,0 +1,27 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +DISTUTILS_USE_PEP517=setuptools
27 +PYTHON_COMPAT=( python3_{8..10} )
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="A helper class for handling configuration defaults of packaged apps gracefully"
32 +HOMEPAGE="https://django-appconf.readthedocs.io/"
33 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
34 +
35 +LICENSE="BSD"
36 +SLOT="0"
37 +KEYWORDS="~amd64"
38 +
39 +RDEPEND="
40 + dev-python/django[${PYTHON_USEDEP}]
41 +"
42 +
43 +python_test() {
44 + local -x DJANGO_SETTINGS_MODULE=tests.test_settings
45 + local -x PYTHONPATH="${S}"
46 + django-admin test -v 2 || die
47 +}