From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A6CFE13832E for ; Sun, 21 Aug 2016 23:48:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1B06B21C060; Sun, 21 Aug 2016 23:48:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C149221C060 for ; Sun, 21 Aug 2016 23:48:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DFA183407B8 for ; Sun, 21 Aug 2016 23:48:37 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E47E297B for ; Sun, 21 Aug 2016 23:48:35 +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: <1471823313.2201fce60cda5118bf24a1ed379863f1d3e1590b.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-0.9.2-r1.ebuild X-VCS-Directories: dev-python/pypax/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 2201fce60cda5118bf24a1ed379863f1d3e1590b X-VCS-Branch: master Date: Sun, 21 Aug 2016 23:48:35 +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: 5781b20c-fa5a-4a89-b370-64c2e2804eac X-Archives-Hash: 1cc2990021759571f6f2ef96ef27e2c4 commit: 2201fce60cda5118bf24a1ed379863f1d3e1590b Author: Anthony G. Basile gentoo org> AuthorDate: Sun Aug 21 23:48:11 2016 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Sun Aug 21 23:48:33 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2201fce6 dev-python/pypax: add python 3.5 support Package-Manager: portage-2.2.28 dev-python/pypax/pypax-0.9.2-r1.ebuild | 49 ++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/dev-python/pypax/pypax-0.9.2-r1.ebuild b/dev-python/pypax/pypax-0.9.2-r1.ebuild new file mode 100644 index 0000000..0bf29a4 --- /dev/null +++ b/dev-python/pypax/pypax-0.9.2-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2016 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,3_5} 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 +}