1 |
commit: 2b3e01eb2245b331d74081dad921553dc6e4ab5a |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 28 21:48:40 2018 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 28 21:48:40 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b3e01eb |
7 |
|
8 |
dev-python/pypax: version bump to 0.9.3, fixes bug #648454 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/648454 |
11 |
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org> |
12 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
13 |
|
14 |
dev-python/pypax/Manifest | 1 + |
15 |
dev-python/pypax/pypax-0.9.3.ebuild | 48 +++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 49 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/pypax/Manifest b/dev-python/pypax/Manifest |
19 |
index db8a24120ca..c09e6771f9f 100644 |
20 |
--- a/dev-python/pypax/Manifest |
21 |
+++ b/dev-python/pypax/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST elfix-0.9.2.tar.gz 398758 BLAKE2B 22f8d9e85be2ae9bd906dfa6a1d8b7614f017686b4563ef7e97898a112a56cff59a8cb906ec957b7a111a5c9251a3de6b13dfb66ef9f732099ac610928d5321e SHA512 a7be30722abe7249ec42024d33b2bda00524cfb85da66b4511c5056efbdbfae1d3c2b42048bcf4d5cb7c0ae675f763b74a834d93a25b541ebac42fddcd2c6cf9 |
24 |
+DIST elfix-0.9.3.tar.gz 399533 BLAKE2B 7ff2099218de3352079564971cd2e3851a95820552b9057387b78945fb1a23d7b670591b174dc974ca2b0dcf3948546578a210687cbb16625dc5d638abf83169 SHA512 3395ce2e6d5e9fc9bdd93b58751cea33b5fb8e25e0a390e6261de6804cc54d4e1f91b4b5843fc45c9178d86d23e9932bf9d0f133a6d086607bf52ce16c65fd0d |
25 |
|
26 |
diff --git a/dev-python/pypax/pypax-0.9.3.ebuild b/dev-python/pypax/pypax-0.9.3.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..e803f0780cb |
29 |
--- /dev/null |
30 |
+++ b/dev-python/pypax/pypax-0.9.3.ebuild |
31 |
@@ -0,0 +1,48 @@ |
32 |
+# Copyright 1999-2018 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+if [[ ${PV} == *9999* ]] ; then |
42 |
+ EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/elfix.git" |
43 |
+ inherit git-r3 |
44 |
+else |
45 |
+ SRC_URI="https://dev.gentoo.org/~blueness/elfix/elfix-${PV}.tar.gz" |
46 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
47 |
+ S="${WORKDIR}/elfix-${PV}" |
48 |
+fi |
49 |
+ |
50 |
+DESCRIPTION="Python module to get or set either PT_PAX and/or XATTR_PAX flags" |
51 |
+HOMEPAGE="https://dev.gentoo.org/~blueness/elfix/ |
52 |
+ https://www.gentoo.org/proj/en/hardened/pax-quickstart.xml" |
53 |
+ |
54 |
+LICENSE="GPL-3" |
55 |
+SLOT="0" |
56 |
+IUSE="+ptpax +xtpax" |
57 |
+ |
58 |
+REQUIRED_USE="|| ( ptpax xtpax )" |
59 |
+ |
60 |
+RDEPEND=" |
61 |
+ ptpax? ( dev-libs/elfutils ) |
62 |
+ xtpax? ( sys-apps/attr )" |
63 |
+ |
64 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
65 |
+ ${RDEPEND}" |
66 |
+ |
67 |
+src_compile() { |
68 |
+ cd scripts || die |
69 |
+ unset PTPAX |
70 |
+ unset XTPAX |
71 |
+ use ptpax && export PTPAX="yes" |
72 |
+ use xtpax && export XTPAX="yes" |
73 |
+ distutils-r1_src_compile |
74 |
+} |
75 |
+ |
76 |
+src_install() { |
77 |
+ cd scripts || die |
78 |
+ distutils-r1_src_install |
79 |
+} |