summaryrefslogtreecommitdiff
path: root/dev-python/pypam
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-12-22 14:08:05 +0000
committerV3n3RiX <venerix@koprulu.sector>2021-12-22 14:08:05 +0000
commit93a93e9a3b53c1a73142a305ea1f8136846942ee (patch)
treeb9791a06ab3284e27b568412c59316c66240c682 /dev-python/pypam
parent2771f79232c273bc2a57d23bf335dd81ccf6af28 (diff)
gentoo resync : 22.12.2021
Diffstat (limited to 'dev-python/pypam')
-rw-r--r--dev-python/pypam/Manifest1
-rw-r--r--dev-python/pypam/pypam-0.5.0-r7.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/pypam/Manifest b/dev-python/pypam/Manifest
index 5bdb7b7fd1ec..7c9ad8b9be01 100644
--- a/dev-python/pypam/Manifest
+++ b/dev-python/pypam/Manifest
@@ -6,4 +6,5 @@ AUX PyPAM-python3-support.patch 5759 BLAKE2B 4aabd07b022f1c9db01b462438a2908cc24
AUX pypam-0.5.0-stricter.patch 287 BLAKE2B d3c70bc1db78da2f8434cc076b2a2044dc0d23683cafbd520d98aef089da4d1fe7c0344e72f838a894423d9b8f53e566b10c3cb6b6e267fcc67de14d69601ab6 SHA512 2ea057cce5e8b7810c879554cb9793b3869342a95c5ffa5239012157a3d09c8ab8cbca1f18424b147e83d6ffd770c417cdd39b7521780e611f8c69991c91d9eb
DIST PyPAM-0.5.0.tar.gz 105206 BLAKE2B 7778275cae11606ca8e522d2f99fb0558c55545cdaedb3ff7c55b4bb693ed3429e22566912f53c7795f73316bc45f1bfbdf5a53daec234dba87e1c141e2410f2 SHA512 9e0e919e34930d2283307cd6665c5287c664a76a5de56367bd975867ac26b376ae03d30cb3bc4a16390c977ca2690cfd2e90ac73dcc7886b8c999444da4a07e0
EBUILD pypam-0.5.0-r6.ebuild 1103 BLAKE2B f309b200853809f4ffc061c44fa50eef542ef5f82cd4e7447f9f81d082ce36c9731c5e26ea02a9e0c7aaf9008590e55626bbfa13c6f99c2b45de6b01951071aa SHA512 0d8361f00ad8153a335e19420bea366180f1723d5632685f49bb5ee098e872121c5a22dead6c5df03069ca9978b371c79ffed3d8cbd07ac20d0694f97e0e7a33
+EBUILD pypam-0.5.0-r7.ebuild 1113 BLAKE2B 834cb09bfae4cf57baa0db8ce179a6d7dddaf90783b97e03f172cb07942156a34af82389e98c798dbc0d2088dc7124731a5901d5a9e650846eaa0633cc4c31a8 SHA512 7711644f9414a70ba83c3af42d5a4f93c065624c1959b52083287932cee07663bb1e527ec2c4520bff896b8acbe626485897b464d6779ce92dd3e951fd72a2fd
MISC metadata.xml 166 BLAKE2B d722eb15953d598289863849a29a7cb30aee8bb377f28eadd4f9832c86a3908f238f05351aa4ca511ef0b6bf1e486c5b3cd83eff62940c82f4c28c199a739792 SHA512 04043d591dec13326c96e2d223af0875732a0a030f1cd100330f810b82ef655484eee2143831aaf7370f38f767741cc284eaa875d965b7198e72218b23ab378a
diff --git a/dev-python/pypam/pypam-0.5.0-r7.ebuild b/dev-python/pypam/pypam-0.5.0-r7.ebuild
new file mode 100644
index 000000000000..a7a3593a67d9
--- /dev/null
+++ b/dev-python/pypam/pypam-0.5.0-r7.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_SETUPTOOLS=no
+MY_P="PyPAM-${PV}"
+PYTHON_COMPAT=( python3_{7..10} )
+inherit distutils-r1 flag-o-matic
+
+DESCRIPTION="Python Bindings for PAM (Pluggable Authentication Modules)"
+HOMEPAGE="http://www.pangalactic.org/PyPAM"
+SRC_URI="http://www.pangalactic.org/PyPAM/${MY_P}.tar.gz
+ https://distfiles.gentoo.org/distfiles/ad/PyPAM-0.5.0.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+IUSE=""
+
+DEPEND=">=sys-libs/pam-0.64"
+RDEPEND="${DEPEND}"
+
+DOCS=( AUTHORS examples/pamtest.py )
+
+PATCHES=(
+ # Pull patches from fedora.
+ "${FILESDIR}/PyPAM-${PV}-dealloc.patch"
+ "${FILESDIR}/PyPAM-${PV}-nofree.patch"
+ "${FILESDIR}/PyPAM-${PV}-memory-errors.patch"
+ "${FILESDIR}/PyPAM-${PV}-return-value.patch"
+ "${FILESDIR}/PyPAM-python3-support.patch"
+ # Fix a missing include.
+ "${FILESDIR}/${P}-stricter.patch"
+)
+
+src_compile() {
+ append-cflags -fno-strict-aliasing
+ distutils-r1_src_compile
+}
+
+python_test() {
+ "${PYTHON}" tests/PamTest.py || die
+}