/[gentoo-x86]/dev-python/pypax/pypax-0.8.1-r1.ebuild
Gentoo

Contents of /dev-python/pypax/pypax-0.8.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Thu Sep 5 18:46:06 2013 UTC (11 months, 3 weeks ago) by mgorny
Branch: MAIN
Changes since 1.10: +2 -2 lines
Clean up PYTHON_COMPAT from old implementations.

(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/pypax/pypax-0.8.1-r1.ebuild,v 1.10 2013/04/13 07:36:48 ago Exp $
4
5 EAPI="5"
6
7 PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 )
8
9 inherit distutils-r1
10
11 DESCRIPTION="Python module to get or set either PT_PAX and/or XATTR_PAX flags"
12 HOMEPAGE="http://dev.gentoo.org/~blueness/elfix/
13 http://www.gentoo.org/proj/en/hardened/pax-quickstart.xml"
14 SRC_URI="http://dev.gentoo.org/~blueness/elfix/elfix-${PV}.tar.gz"
15
16 S="${WORKDIR}/elfix-${PV}/scripts"
17
18 LICENSE="GPL-3"
19 SLOT="0"
20 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86"
21 IUSE="+ptpax +xtpax"
22
23 REQUIRED_USE="|| ( ptpax xtpax )"
24
25 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
26 ptpax? ( dev-libs/elfutils )
27 xtpax? ( sys-apps/attr )"
28
29 RDEPEND=""
30
31 src_compile() {
32 unset PTPAX
33 unset XTPAX
34 use ptpax && export PTPAX="yes"
35 use xtpax && export XTPAX="yes"
36 }

  ViewVC Help
Powered by ViewVC 1.1.20