Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pypax/
Date: Sun, 21 Aug 2016 23:48:40
Message-Id: 1471823313.2201fce60cda5118bf24a1ed379863f1d3e1590b.blueness@gentoo
1 commit: 2201fce60cda5118bf24a1ed379863f1d3e1590b
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 21 23:48:11 2016 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 21 23:48:33 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2201fce6
7
8 dev-python/pypax: add python 3.5 support
9
10 Package-Manager: portage-2.2.28
11
12 dev-python/pypax/pypax-0.9.2-r1.ebuild | 49 ++++++++++++++++++++++++++++++++++
13 1 file changed, 49 insertions(+)
14
15 diff --git a/dev-python/pypax/pypax-0.9.2-r1.ebuild b/dev-python/pypax/pypax-0.9.2-r1.ebuild
16 new file mode 100644
17 index 0000000..0bf29a4
18 --- /dev/null
19 +++ b/dev-python/pypax/pypax-0.9.2-r1.ebuild
20 @@ -0,0 +1,49 @@
21 +# Copyright 1999-2016 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id$
24 +
25 +EAPI="5"
26 +
27 +PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} pypy )
28 +
29 +inherit distutils-r1
30 +
31 +if [[ ${PV} == "9999" ]] ; then
32 + EGIT_REPO_URI="git://anongit.gentoo.org/proj/elfix.git"
33 + inherit git-2
34 +else
35 + SRC_URI="https://dev.gentoo.org/~blueness/elfix/elfix-${PV}.tar.gz"
36 + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
37 + S="${WORKDIR}/elfix-${PV}"
38 +fi
39 +
40 +DESCRIPTION="Python module to get or set either PT_PAX and/or XATTR_PAX flags"
41 +HOMEPAGE="https://dev.gentoo.org/~blueness/elfix/
42 + https://www.gentoo.org/proj/en/hardened/pax-quickstart.xml"
43 +
44 +LICENSE="GPL-3"
45 +SLOT="0"
46 +IUSE="+ptpax +xtpax"
47 +
48 +REQUIRED_USE="|| ( ptpax xtpax )"
49 +
50 +RDEPEND="
51 + ptpax? ( dev-libs/elfutils )
52 + xtpax? ( sys-apps/attr )"
53 +
54 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
55 + ${RDEPEND}"
56 +
57 +src_compile() {
58 + cd scripts
59 + unset PTPAX
60 + unset XTPAX
61 + use ptpax && export PTPAX="yes"
62 + use xtpax && export XTPAX="yes"
63 + distutils-r1_src_compile
64 +}
65 +
66 +src_install() {
67 + cd scripts
68 + distutils-r1_src_install
69 +}