summaryrefslogtreecommitdiff
path: root/dev-python/pypax
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-01 00:07:06 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-01 00:07:06 +0100
commit1551fe56fd6ba43a94509cffc61b6bf854b7ac9f (patch)
treebe99b6ceb874878a108d68c641b476a2df076517 /dev-python/pypax
parent0e2a727aba684f1a44cc0402a3f77d242140681b (diff)
gentoo auto-resync : 01:06:2024 - 00:07:06
Diffstat (limited to 'dev-python/pypax')
-rw-r--r--dev-python/pypax/Manifest1
-rw-r--r--dev-python/pypax/pypax-0.9.5-r2.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/pypax/Manifest b/dev-python/pypax/Manifest
index c46213969451..de225af70432 100644
--- a/dev-python/pypax/Manifest
+++ b/dev-python/pypax/Manifest
@@ -1,4 +1,5 @@
DIST elfix-0.9.5.tar.gz 401722 BLAKE2B 184f8944c62412675819ca86f13bcf23039ebcf069df528267f3e4272859e6cc442a1e05a7a121d88987c282d7e2f513d02f28ce41a8e3c0c226b456fa256aa6 SHA512 e15ab664357796f3a63ac54912eb43ae659947088a10ef16aafcbdd713cc3670fb0319cb2b95a2d29092866d322ef69df1d63847dfc0c4ab2cdd49e6eaa4635e
EBUILD pypax-0.9.5-r1.ebuild 1103 BLAKE2B e8fbcc39219d7338aba389b49096cb39e628d366b37d4d8581ed5a87f3f500ae66c90b2319a3eede42ef6ec7e8e8e9ad4141b66a9eab373981e412eefd26bf14 SHA512 8fa3144a7d761fa7e8f0a46832ece4f15a3edf3903c023021531b2156c40b1443f92e39da0313f740abe8352e3778e1f48b65737cba453334d18cb26f87720d2
+EBUILD pypax-0.9.5-r2.ebuild 1110 BLAKE2B bf929f7447ba7dcd292c933ce63ed3e3ef15ada7952935801e3fb19a79533414bb074a548fb4d60b19eef6d2789a675041189d0f3dd1a4c664f6f5b03683301a SHA512 4185176b284cbc5c7d50ecedb00c7528b174934e2dde20548fb32425de8b81558a9c7de5d2690e0a8fb0c59abbe3fc3627638506bbfe794d70fdca791b4fd837
EBUILD pypax-9999.ebuild 1080 BLAKE2B 4264bca5d80467456961ddab04a40fa4b948ee22c245c494bc76db568412008991e266a69f26dbde6599779c24c1a188444fa8d26c194023a44f138339c693b8 SHA512 3f8139ce721b7e4545f5074b02e4c0d003c7de2c2602e1fb5b5d5a5e2f2637093327a6f967a409ef83fdeaf8833c8531d287053a3e82bff8a5fb6efa6fb62316
MISC metadata.xml 612 BLAKE2B 098958af51ca2eda318701a6e321400131ff0c34ae84353d46a42e2271681eeac9a6bede38284a678b1d25aec579dcafca93ce1257f0c24980ff95a7a455ed36 SHA512 0668039cd6310b64d905c8dc5c9b2ed1ea237a049a076e7b62588118a0c772e4f8142e63ce452cac6357f31488fb00cdca02a14e4945bcc4cc7275fdd4fff9c1
diff --git a/dev-python/pypax/pypax-0.9.5-r2.ebuild b/dev-python/pypax/pypax-0.9.5-r2.ebuild
new file mode 100644
index 000000000000..d4c2e380a5e2
--- /dev/null
+++ b/dev-python/pypax/pypax-0.9.5-r2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..12} )
+
+inherit distutils-r1
+
+if [[ ${PV} == *9999* ]] ; then
+ EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/elfix.git"
+ inherit git-r3
+else
+ SRC_URI="https://dev.gentoo.org/~blueness/elfix/elfix-${PV}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~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://wiki.gentoo.org/wiki/Project:Hardened/PaX_Quickstart"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="+ptpax +xtpax"
+REQUIRED_USE="|| ( ptpax xtpax )"
+
+RDEPEND="
+ ptpax? ( dev-libs/elfutils )
+ xtpax? ( sys-apps/attr )"
+DEPEND="${RDEPEND}"
+
+src_compile() {
+ cd scripts || die
+ unset PTPAX
+ unset XTPAX
+ use ptpax && export PTPAX="yes"
+ use xtpax && export XTPAX="yes"
+ distutils-r1_src_compile
+}
+
+src_install() {
+ cd scripts || die
+ distutils-r1_src_install
+}