1 |
commit: 117dda79905cb93c250729a31461b2c6f8bbcd94 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 29 22:00:17 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 29 22:04:22 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=117dda79 |
7 |
|
8 |
dev-python/pypax: Switch to PEP 517 build |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
.../pypax/{pypax-9999.ebuild => pypax-0.9.5-r1.ebuild} | 15 ++++++--------- |
13 |
dev-python/pypax/pypax-9999.ebuild | 15 ++++++--------- |
14 |
2 files changed, 12 insertions(+), 18 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/pypax/pypax-9999.ebuild b/dev-python/pypax/pypax-0.9.5-r1.ebuild |
17 |
similarity index 83% |
18 |
copy from dev-python/pypax/pypax-9999.ebuild |
19 |
copy to dev-python/pypax/pypax-0.9.5-r1.ebuild |
20 |
index 6e639fff609e..1da867b776a7 100644 |
21 |
--- a/dev-python/pypax/pypax-9999.ebuild |
22 |
+++ b/dev-python/pypax/pypax-0.9.5-r1.ebuild |
23 |
@@ -1,10 +1,10 @@ |
24 |
-# Copyright 1999-2021 Gentoo Authors |
25 |
+# Copyright 1999-2022 Gentoo Authors |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
|
28 |
-EAPI=6 |
29 |
+EAPI=8 |
30 |
|
31 |
-DISTUTILS_USE_SETUPTOOLS=no |
32 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
33 |
+DISTUTILS_USE_PEP517=setuptools |
34 |
+PYTHON_COMPAT=( python3_{8..9} ) |
35 |
|
36 |
inherit distutils-r1 |
37 |
|
38 |
@@ -13,7 +13,7 @@ if [[ ${PV} == *9999* ]] ; then |
39 |
inherit git-r3 |
40 |
else |
41 |
SRC_URI="https://dev.gentoo.org/~blueness/elfix/elfix-${PV}.tar.gz" |
42 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
43 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" |
44 |
S="${WORKDIR}/elfix-${PV}" |
45 |
fi |
46 |
|
47 |
@@ -24,15 +24,12 @@ HOMEPAGE="https://dev.gentoo.org/~blueness/elfix/ |
48 |
LICENSE="GPL-3" |
49 |
SLOT="0" |
50 |
IUSE="+ptpax +xtpax" |
51 |
- |
52 |
REQUIRED_USE="|| ( ptpax xtpax )" |
53 |
|
54 |
RDEPEND=" |
55 |
ptpax? ( dev-libs/elfutils ) |
56 |
xtpax? ( sys-apps/attr )" |
57 |
- |
58 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
59 |
- ${RDEPEND}" |
60 |
+DEPEND="${RDEPEND}" |
61 |
|
62 |
src_compile() { |
63 |
cd scripts || die |
64 |
|
65 |
diff --git a/dev-python/pypax/pypax-9999.ebuild b/dev-python/pypax/pypax-9999.ebuild |
66 |
index 6e639fff609e..1da867b776a7 100644 |
67 |
--- a/dev-python/pypax/pypax-9999.ebuild |
68 |
+++ b/dev-python/pypax/pypax-9999.ebuild |
69 |
@@ -1,10 +1,10 @@ |
70 |
-# Copyright 1999-2021 Gentoo Authors |
71 |
+# Copyright 1999-2022 Gentoo Authors |
72 |
# Distributed under the terms of the GNU General Public License v2 |
73 |
|
74 |
-EAPI=6 |
75 |
+EAPI=8 |
76 |
|
77 |
-DISTUTILS_USE_SETUPTOOLS=no |
78 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
79 |
+DISTUTILS_USE_PEP517=setuptools |
80 |
+PYTHON_COMPAT=( python3_{8..9} ) |
81 |
|
82 |
inherit distutils-r1 |
83 |
|
84 |
@@ -13,7 +13,7 @@ if [[ ${PV} == *9999* ]] ; then |
85 |
inherit git-r3 |
86 |
else |
87 |
SRC_URI="https://dev.gentoo.org/~blueness/elfix/elfix-${PV}.tar.gz" |
88 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
89 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" |
90 |
S="${WORKDIR}/elfix-${PV}" |
91 |
fi |
92 |
|
93 |
@@ -24,15 +24,12 @@ HOMEPAGE="https://dev.gentoo.org/~blueness/elfix/ |
94 |
LICENSE="GPL-3" |
95 |
SLOT="0" |
96 |
IUSE="+ptpax +xtpax" |
97 |
- |
98 |
REQUIRED_USE="|| ( ptpax xtpax )" |
99 |
|
100 |
RDEPEND=" |
101 |
ptpax? ( dev-libs/elfutils ) |
102 |
xtpax? ( sys-apps/attr )" |
103 |
- |
104 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
105 |
- ${RDEPEND}" |
106 |
+DEPEND="${RDEPEND}" |
107 |
|
108 |
src_compile() { |
109 |
cd scripts || die |