1 |
commit: 72a9a1fe6d2f43079b8803efd1710e51a50848db |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 9 01:24:37 2020 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 9 01:25:15 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72a9a1fe |
7 |
|
8 |
dev-python/python-systemd: support python3.8 |
9 |
|
10 |
And other ebuild cleanup. |
11 |
|
12 |
Package-Manager: Portage-2.3.87_p10, Repoman-2.3.20_p57 |
13 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
14 |
|
15 |
.../python-systemd/python-systemd-234.ebuild | 26 +++++++--------------- |
16 |
1 file changed, 8 insertions(+), 18 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/python-systemd/python-systemd-234.ebuild b/dev-python/python-systemd/python-systemd-234.ebuild |
19 |
index 02b6eba8206..8f0b98cc2c8 100644 |
20 |
--- a/dev-python/python-systemd/python-systemd-234.ebuild |
21 |
+++ b/dev-python/python-systemd/python-systemd-234.ebuild |
22 |
@@ -1,8 +1,9 @@ |
23 |
-# Copyright 1999-2020 Gentoo Authors |
24 |
+# Copyright 2015-2020 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
EAPI=7 |
28 |
-PYTHON_COMPAT=( python{3_6,3_7} ) |
29 |
+PYTHON_COMPAT=( python3_{6..8} ) |
30 |
+DISTUTILS_USE_SETUPTOOLS="no" |
31 |
|
32 |
inherit distutils-r1 |
33 |
|
34 |
@@ -16,26 +17,15 @@ KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86" |
35 |
IUSE="test" |
36 |
RESTRICT="!test? ( test )" |
37 |
|
38 |
-COMMON_DEPEND=" |
39 |
- sys-apps/systemd:0= |
40 |
-" |
41 |
-DEPEND="${COMMON_DEPEND} |
42 |
- test? ( dev-python/pytest[${PYTHON_USEDEP}] ) |
43 |
-" |
44 |
-RDEPEND="${COMMON_DEPEND} |
45 |
+BDEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )" |
46 |
+DEPEND="sys-apps/systemd:0=" |
47 |
+RDEPEND="${DEPEND} |
48 |
!sys-apps/systemd[python(-)] |
49 |
" |
50 |
|
51 |
-PATCHES=( |
52 |
-) |
53 |
- |
54 |
python_compile() { |
55 |
- if python_is_python3; then |
56 |
- # https://bugs.gentoo.org/690316 |
57 |
- distutils-r1_python_compile -j1 |
58 |
- else |
59 |
- distutils-r1_python_compile |
60 |
- fi |
61 |
+ # https://bugs.gentoo.org/690316 |
62 |
+ distutils-r1_python_compile -j1 |
63 |
} |
64 |
|
65 |
python_test() { |