From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9BEAB1399E9 for ; Fri, 4 Sep 2015 00:06:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9C8FE141F7; Fri, 4 Sep 2015 00:05:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 47E85141F7 for ; Fri, 4 Sep 2015 00:05:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F0DE53409C7 for ; Fri, 4 Sep 2015 00:05:55 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7DCA1180 for ; Fri, 4 Sep 2015 00:05:54 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1441325382.2df7899937e1567a2fe94c88b83658f82971b089.blueness@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pypax/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pypax/pypax-9999.ebuild X-VCS-Directories: dev-python/pypax/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 2df7899937e1567a2fe94c88b83658f82971b089 X-VCS-Branch: master Date: Fri, 4 Sep 2015 00:05:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 494d064d-c59f-41ba-8efa-ba3c5fec02fd X-Archives-Hash: 8a6e52bbf4fdf20a4cb9fbc8ae15658e commit: 2df7899937e1567a2fe94c88b83658f82971b089 Author: Anthony G. Basile gentoo org> AuthorDate: Fri Sep 4 00:09:42 2015 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Fri Sep 4 00:09:42 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2df78999 dev-python/pypax: add 9999 version. Package-Manager: portage-2.2.20.1 dev-python/pypax/pypax-9999.ebuild | 49 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/dev-python/pypax/pypax-9999.ebuild b/dev-python/pypax/pypax-9999.ebuild new file mode 100644 index 0000000..2b2ef71 --- /dev/null +++ b/dev-python/pypax/pypax-9999.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) + +inherit distutils-r1 + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://anongit.gentoo.org/proj/elfix.git" + inherit git-2 +else + SRC_URI="https://dev.gentoo.org/~blueness/elfix/elfix-${PV}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" + S="${WORKDIR}/elfix-${PV}" +fi + +DESCRIPTION="Python module to get or set either PT_PAX and/or XATTR_PAX flags" +HOMEPAGE="https://dev.gentoo.org/~blueness/elfix/ + https://www.gentoo.org/proj/en/hardened/pax-quickstart.xml" + +LICENSE="GPL-3" +SLOT="0" +IUSE="+ptpax +xtpax" + +REQUIRED_USE="|| ( ptpax xtpax )" + +RDEPEND=" + ptpax? ( dev-libs/elfutils ) + xtpax? ( sys-apps/attr )" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + ${RDEPEND}" + +src_compile() { + cd scripts + unset PTPAX + unset XTPAX + use ptpax && export PTPAX="yes" + use xtpax && export XTPAX="yes" + distutils-r1_src_compile +} + +src_install() { + cd scripts + distutils-r1_src_install +}