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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AF66B158086 for ; Tue, 21 Dec 2021 01:37:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AD66D2BC039; Tue, 21 Dec 2021 01:37:24 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9F7DC2BC02C for ; Tue, 21 Dec 2021 01:37:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F1C1C342F17 for ; Tue, 21 Dec 2021 01:37:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6D0D9257 for ; Tue, 21 Dec 2021 01:37:20 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1640050052.9f5615198ca1d3166eca3cb34d1124d5c705449f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pypam/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pypam/pypam-0.5.0-r7.ebuild X-VCS-Directories: dev-python/pypam/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 9f5615198ca1d3166eca3cb34d1124d5c705449f X-VCS-Branch: master Date: Tue, 21 Dec 2021 01:37:20 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 613f4133-105e-45e5-8330-edb52e5a8ee2 X-Archives-Hash: 88475e6948a3caff28233e7303edc1b6 commit: 9f5615198ca1d3166eca3cb34d1124d5c705449f Author: Tomáš Mózes gmail com> AuthorDate: Mon Dec 20 20:27:51 2021 +0000 Commit: Sam James gentoo org> CommitDate: Tue Dec 21 01:27:32 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f561519 dev-python/pypam: update to EAPI 8, add Python 3.10 Signed-off-by: Tomáš Mózes gmail.com> Signed-off-by: Sam James gentoo.org> dev-python/pypam/pypam-0.5.0-r7.ebuild | 45 ++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) 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 +}