[gentoo-commits] repo/gentoo:master commit in: dev-python/pypam/, profiles/, dev-python/pypam/files/
commit: fca437485e58a32d6d3ece361d8a528f00aa8d82 Author: Sam James gentoo org> AuthorDate: Thu Jun 30 22:20:49 2022 + Commit: Sam James gentoo org> CommitDate: Thu Jun 30 22:20:58 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fca43748 dev-python/pypam: treeclean Bug: https://bugs.gentoo.org/802927 Bug: https://bugs.gentoo.org/833297 Signed-off-by: Sam James gentoo.org> dev-python/pypam/Manifest | 1 - dev-python/pypam/files/PyPAM-0.5.0-dealloc.patch | 17 -- .../pypam/files/PyPAM-0.5.0-memory-errors.patch| 128 - dev-python/pypam/files/PyPAM-0.5.0-nofree.patch| 60 --- .../pypam/files/PyPAM-0.5.0-return-value.patch | 57 -- dev-python/pypam/files/PyPAM-python3-support.patch | 198 - dev-python/pypam/files/pypam-0.5.0-stricter.patch | 15 -- dev-python/pypam/metadata.xml | 5 - dev-python/pypam/pypam-0.5.0-r6.ebuild | 45 - dev-python/pypam/pypam-0.5.0-r7.ebuild | 45 - dev-python/pypam/pypam-0.5.0-r8.ebuild | 40 - profiles/package.mask | 6 - 12 files changed, 617 deletions(-) diff --git a/dev-python/pypam/Manifest b/dev-python/pypam/Manifest deleted file mode 100644 index 01642e48981b.. --- a/dev-python/pypam/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST PyPAM-0.5.0.tar.gz 105206 BLAKE2B 7778275cae11606ca8e522d2f99fb0558c55545cdaedb3ff7c55b4bb693ed3429e22566912f53c7795f73316bc45f1bfbdf5a53daec234dba87e1c141e2410f2 SHA512 9e0e919e34930d2283307cd6665c5287c664a76a5de56367bd975867ac26b376ae03d30cb3bc4a16390c977ca2690cfd2e90ac73dcc7886b8c999444da4a07e0 diff --git a/dev-python/pypam/files/PyPAM-0.5.0-dealloc.patch b/dev-python/pypam/files/PyPAM-0.5.0-dealloc.patch deleted file mode 100644 index 596491c46bcd.. --- a/dev-python/pypam/files/PyPAM-0.5.0-dealloc.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff -up a/PAMmodule.c b/PAMmodule.c a/PAMmodule.c -+++ b/PAMmodule.c -@@ -538,10 +538,11 @@ static void PyPAM_dealloc(PyPAMObject *s - free(self->service); - free(self->user); - free(self->conv); --pam_end(self->pamh, PAM_SUCCESS); -+if (self->pamh) -+pam_end(self->pamh, PAM_SUCCESS); - dlclose(self->dlh2); - dlclose(self->dlh1); --PyMem_DEL(self); -+PyObject_Del(self); - } - - static PyObject * PyPAM_getattr(PyPAMObject *self, char *name) diff --git a/dev-python/pypam/files/PyPAM-0.5.0-memory-errors.patch b/dev-python/pypam/files/PyPAM-0.5.0-memory-errors.patch deleted file mode 100644 index 6da3dd6eb7d6.. --- a/dev-python/pypam/files/PyPAM-0.5.0-memory-errors.patch +++ /dev/null @@ -1,128 +0,0 @@ -diff -up a/PAMmodule.c b/PAMmodule.c a/PAMmodule.c -+++ b/PAMmodule.c -@@ -37,33 +37,48 @@ static void PyPAM_Err(PyPAMObject *self, - - err_msg = pam_strerror(self->pamh, result); - error = Py_BuildValue("(si)", err_msg, result); --Py_INCREF(PyPAM_Error); - PyErr_SetObject(PyPAM_Error, error); -+Py_XDECREF(error); - } - - static int PyPAM_conv(int num_msg, const struct pam_message **msg, - struct pam_response **resp, void *appdata_ptr) - { --PyObject*args; -- -+PyObject *args, *msgList, *respList, *item; -+struct pam_response *response, *spr; - PyPAMObject* self = (PyPAMObject *) appdata_ptr; -+ - if (self->callback == NULL) - return PAM_CONV_ERR; - - Py_INCREF(self); - --PyObject* msgList = PyList_New(num_msg); -- -+msgList = PyList_New(num_msg); -+if (msgList == NULL) { -+Py_DECREF(self); -+return PAM_CONV_ERR; -+} -+ - for (int i = 0; i < num_msg; i++) { --PyList_SetItem(msgList, i, --Py_BuildValue("(si)", msg[i]->msg, msg[i]->msg_style)); -+item = Py_BuildValue("(si)", msg[i]->msg, msg[i]->msg_style); -+if (item == NULL) { -+Py_DECREF(msgList); -+Py_DECREF(self); -+return PAM_CONV_ERR; -+} -+PyList_SetItem(msgList, i, item); - } -- -+ - args = Py_BuildValue("(OO)", self, msgList); --PyObject* respList = PyEval_CallObject(self->callback, args); -+if (args == NULL) { -+Py_DECREF(self); -+ Py_DECREF(msgList); -+return PAM_CONV_ERR; -+} -+respList = PyEval_CallObject(self->callback, args); - Py_DECREF(args); - Py_DECREF(self); -- -+ - if (respList == NULL) - return PAM_CONV_ERR; - -@@ -71,11 +86,15 @@ static int PyPAM_conv(int num_msg, const - Py_DECREF(respList); - return PAM_CONV_ERR; - } -- --*resp = (struct pam_response *) malloc( -+ -+response = (struct pam_response *) malloc( - PyList_Size(respList) * sizeof(struct pam_response)); -+if (response == NULL) { -+Py_DECREF(respList); -+return PAM_CONV_ERR; -+} -+spr = response; - --struct
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypam/
commit: 19a5e157c2944eff56ed289e43b0cb2b0f5f3afc Author: Michał Górny gentoo org> AuthorDate: Sat Jan 29 21:20:28 2022 + Commit: Michał Górny gentoo org> CommitDate: Sat Jan 29 21:28:11 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19a5e157 dev-python/pypam: Switch to PEP 517 build Signed-off-by: Michał Górny gentoo.org> dev-python/pypam/pypam-0.5.0-r8.ebuild | 40 ++ 1 file changed, 40 insertions(+) diff --git a/dev-python/pypam/pypam-0.5.0-r8.ebuild b/dev-python/pypam/pypam-0.5.0-r8.ebuild new file mode 100644 index ..9d2b524b2b96 --- /dev/null +++ b/dev-python/pypam/pypam-0.5.0-r8.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +MY_P="PyPAM-${PV}" +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +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" +) + +python_test() { + "${EPYTHON}" tests/PamTest.py || die +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypam/
commit: 9f5615198ca1d3166eca3cb34d1124d5c705449f Author: Tomáš Mózes gmail com> AuthorDate: Mon Dec 20 20:27:51 2021 + Commit: Sam James gentoo org> CommitDate: Tue Dec 21 01:27:32 2021 + 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 ..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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypam/
commit: f13d5324218e987fd2055a32e6e895d5eabf6e52 Author: Yongxiang Liang gmail com> AuthorDate: Sat Nov 20 12:47:04 2021 + Commit: Yixun Lan gentoo org> CommitDate: Tue Nov 23 01:09:46 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f13d5324 dev-python/pypam: keyword ~riscv Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Yongxiang Liang gmail.com> Signed-off-by: Yixun Lan gentoo.org> dev-python/pypam/pypam-0.5.0-r6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypam/pypam-0.5.0-r6.ebuild b/dev-python/pypam/pypam-0.5.0-r6.ebuild index ca6df1352e51..aebb5e349358 100644 --- a/dev-python/pypam/pypam-0.5.0-r6.ebuild +++ b/dev-python/pypam/pypam-0.5.0-r6.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" +KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" IUSE="" DEPEND=">=sys-libs/pam-0.64"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypam/
commit: b6f7bbdd84599d901aa0bf4504edef46b6da1beb Author: Mike Gilbert gentoo org> AuthorDate: Mon Jul 19 21:04:31 2021 + Commit: Mike Gilbert gentoo org> CommitDate: Mon Jul 19 21:06:15 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6f7bbdd dev-python/pypam: add distfiles.gentoo.org to SRC_URI Prevents fetch failures for people with broken GENTOO_MIRRORS. Bug: https://bugs.gentoo.org/802927 Signed-off-by: Mike Gilbert gentoo.org> dev-python/pypam/pypam-0.5.0-r6.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-python/pypam/pypam-0.5.0-r6.ebuild b/dev-python/pypam/pypam-0.5.0-r6.ebuild index af7d95bbd82..ca6df1352e5 100644 --- a/dev-python/pypam/pypam-0.5.0-r6.ebuild +++ b/dev-python/pypam/pypam-0.5.0-r6.ebuild @@ -10,7 +10,8 @@ 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; +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"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypam/, dev-python/pypam/files/
commit: 7fc5f8e8357d0af7035bd28ea9e23fbf41114d0a Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Apr 4 18:41:45 2021 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Apr 5 08:56:51 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fc5f8e8 dev-python/pypam: EAPI-7 bump Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-python/pypam/files/PyPAM-0.5.0-dealloc.patch | 6 +++--- dev-python/pypam/files/PyPAM-0.5.0-memory-errors.patch | 6 +++--- dev-python/pypam/files/PyPAM-0.5.0-return-value.patch | 6 +++--- dev-python/pypam/files/PyPAM-python3-support.patch | 12 ++-- dev-python/pypam/files/pypam-0.5.0-stricter.patch | 4 ++-- dev-python/pypam/pypam-0.5.0-r6.ebuild | 14 ++ 6 files changed, 23 insertions(+), 25 deletions(-) diff --git a/dev-python/pypam/files/PyPAM-0.5.0-dealloc.patch b/dev-python/pypam/files/PyPAM-0.5.0-dealloc.patch index b73dd0b08c5..596491c46bc 100644 --- a/dev-python/pypam/files/PyPAM-0.5.0-dealloc.patch +++ b/dev-python/pypam/files/PyPAM-0.5.0-dealloc.patch @@ -1,6 +1,6 @@ -diff -up PyPAM-0.5.0/PAMmodule.c.dealloc PyPAM-0.5.0/PAMmodule.c PyPAM-0.5.0/PAMmodule.c.dealloc2011-01-17 22:48:22.0 +0100 -+++ PyPAM-0.5.0/PAMmodule.c2011-01-18 21:24:59.0 +0100 +diff -up a/PAMmodule.c b/PAMmodule.c +--- a/PAMmodule.c b/PAMmodule.c @@ -538,10 +538,11 @@ static void PyPAM_dealloc(PyPAMObject *s free(self->service); free(self->user); diff --git a/dev-python/pypam/files/PyPAM-0.5.0-memory-errors.patch b/dev-python/pypam/files/PyPAM-0.5.0-memory-errors.patch index 6e0b4c0dce4..6da3dd6eb7d 100644 --- a/dev-python/pypam/files/PyPAM-0.5.0-memory-errors.patch +++ b/dev-python/pypam/files/PyPAM-0.5.0-memory-errors.patch @@ -1,6 +1,6 @@ -diff -up PyPAM-0.5.0/PAMmodule.c.memory PyPAM-0.5.0/PAMmodule.c PyPAM-0.5.0/PAMmodule.c.memory 2012-05-07 17:22:54.503914026 +0200 -+++ PyPAM-0.5.0/PAMmodule.c2012-05-07 17:23:15.644381942 +0200 +diff -up a/PAMmodule.c b/PAMmodule.c +--- a/PAMmodule.c b/PAMmodule.c @@ -37,33 +37,48 @@ static void PyPAM_Err(PyPAMObject *self, err_msg = pam_strerror(self->pamh, result); diff --git a/dev-python/pypam/files/PyPAM-0.5.0-return-value.patch b/dev-python/pypam/files/PyPAM-0.5.0-return-value.patch index 6e771e9949a..3773d6fafd2 100644 --- a/dev-python/pypam/files/PyPAM-0.5.0-return-value.patch +++ b/dev-python/pypam/files/PyPAM-0.5.0-return-value.patch @@ -1,6 +1,6 @@ -diff -up PyPAM-0.5.0/PAMmodule.c.retval PyPAM-0.5.0/PAMmodule.c PyPAM-0.5.0/PAMmodule.c.retval 2012-05-04 21:47:51.0 +0200 -+++ PyPAM-0.5.0/PAMmodule.c2012-05-07 09:42:27.690963206 +0200 +diff -up a/PAMmodule.c b/PAMmodule.c +--- a/PAMmodule.c b/PAMmodule.c @@ -248,7 +248,7 @@ static PyObject * PyPAM_setcred(PyObject result = pam_setcred(_self->pamh, flags); diff --git a/dev-python/pypam/files/PyPAM-python3-support.patch b/dev-python/pypam/files/PyPAM-python3-support.patch index 2aec60eabdf..a4100953631 100644 --- a/dev-python/pypam/files/PyPAM-python3-support.patch +++ b/dev-python/pypam/files/PyPAM-python3-support.patch @@ -1,5 +1,5 @@ PAMmodule.c.python32014-06-24 11:29:10.958299393 +0200 -+++ PAMmodule.c2014-06-24 15:20:02.728118493 +0200 +--- a/PAMmodule.c b(PAMmodule.c @@ -15,6 +15,14 @@ #include #include @@ -167,8 +167,8 @@ +return m; +#endif } setup.py.python3 2014-06-24 15:58:07.792172439 +0200 -+++ setup.py 2014-06-24 15:58:13.714909021 +0200 +--- a/setup.py b/setup.py @@ -12,7 +12,7 @@ license='LGPL', ext_modules=[ @@ -178,8 +178,8 @@ ['PAMmodule.c'], libraries=['pam', 'pam_misc'], extra_compile_args = ['-std=c99'], tests/PamTest.py.python3 2014-06-24 16:54:28.902998249 +0200 -+++ tests/PamTest.py 2014-06-24 17:07:11.392094775 +0200 +--- a/tests/PamTest.py b/tests/PamTest.py @@ -41,13 +41,13 @@ def test_userdata_default(self): """The default value for userdata is None.""" diff --git a/dev-python/pypam/files/pypam-0.5.0-stricter.patch b/dev-python/pypam/files/pypam-0.5.0-stricter.patch index 45391034913..2ebe2d0af95 100644 --- a/dev-python/pypam/files/pypam-0.5.0-stricter.patch +++ b/dev-python/pypam/files/pypam-0.5.0-stricter.patch @@ -1,6 +1,6 @@ === modified file 'PAMmodule.c' PAMmodule.c2007-05-28 17:50:59 + -+++ PAMmodule.c2007-05-28 18:13:33 + +--- a/PAMmodule.c b/PAMmodule.c @@ -9,8 +9,9 @@ +#include diff --git a/dev-python/pypam/pypam-0.5.0-r6.ebuild b/dev-python/pypam/pypam-0.5.0-r6.ebuild index 9f1d35ef9ee..af7d95bbd82 100644 --- a/dev-python/pypam/pypam-0.5.0-r6.ebuild +++ b/dev-python/pypam/pypam-0.5.0-r6.ebuild @@ -1,17 +1,17 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypam/
commit: 9e23f783bb4ec76193681c473f9746b6f27b635b Author: Michał Górny gentoo org> AuthorDate: Sun Sep 20 09:14:36 2020 + Commit: Michał Górny gentoo org> CommitDate: Sun Sep 20 09:36:20 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e23f783 dev-python/pypam: Remove python2 Signed-off-by: Michał Górny gentoo.org> dev-python/pypam/{pypam-0.5.0-r5.ebuild => pypam-0.5.0-r6.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypam/pypam-0.5.0-r5.ebuild b/dev-python/pypam/pypam-0.5.0-r6.ebuild similarity index 95% rename from dev-python/pypam/pypam-0.5.0-r5.ebuild rename to dev-python/pypam/pypam-0.5.0-r6.ebuild index fa06db32e49..a427ebc555c 100644 --- a/dev-python/pypam/pypam-0.5.0-r5.ebuild +++ b/dev-python/pypam/pypam-0.5.0-r6.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{6..9} ) +PYTHON_COMPAT=( python3_{6..9} ) inherit distutils-r1 flag-o-matic
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypam/
commit: 71d314b550781f9f99d58ef803f93c4286583827 Author: Michał Górny gentoo org> AuthorDate: Fri Sep 18 15:29:46 2020 + Commit: Michał Górny gentoo org> CommitDate: Fri Sep 18 15:29:46 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71d314b5 dev-python/pypam: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pypam/pypam-0.5.0-r4.ebuild | 46 -- 1 file changed, 46 deletions(-) diff --git a/dev-python/pypam/pypam-0.5.0-r4.ebuild b/dev-python/pypam/pypam-0.5.0-r4.ebuild deleted file mode 100644 index 6ccd947b160..000 --- a/dev-python/pypam/pypam-0.5.0-r4.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{6,7,8} ) - -inherit distutils-r1 flag-o-matic - -MY_PN="PyPAM" -MY_P="${MY_PN}-${PV}" - -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; - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" -IUSE="" - -DEPEND=">=sys-libs/pam-0.64" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_P}" - -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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypam/
commit: 5e3a4dbed02a6304c28671c839f03cc3d0187a64 Author: Tomáš Mózes gmail com> AuthorDate: Fri Jul 24 16:44:56 2020 + Commit: Thomas Deutschmann gentoo org> CommitDate: Sun Jul 26 16:22:17 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e3a4dbe dev-python/pypam: add python3.9 support Needed by app-emulation/xen-tools Signed-off-by: Tomáš Mózes gmail.com> Signed-off-by: Thomas Deutschmann gentoo.org> dev-python/pypam/pypam-0.5.0-r5.ebuild | 46 ++ 1 file changed, 46 insertions(+) diff --git a/dev-python/pypam/pypam-0.5.0-r5.ebuild b/dev-python/pypam/pypam-0.5.0-r5.ebuild new file mode 100644 index 000..d2e07613cfd --- /dev/null +++ b/dev-python/pypam/pypam-0.5.0-r5.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python2_7 python3_{6..9} ) + +inherit distutils-r1 flag-o-matic + +MY_PN="PyPAM" +MY_P="${MY_PN}-${PV}" + +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; + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +DEPEND=">=sys-libs/pam-0.64" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypam/
commit: e7de991ade5151b8c6de76e51a89cb94b0a7ab36 Author: Mikle Kolyada gentoo org> AuthorDate: Thu May 7 09:24:57 2020 + Commit: Mikle Kolyada gentoo org> CommitDate: Thu May 7 09:25:17 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7de991a dev-python/pypam: advance stable keywords Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Mikle Kolyada gentoo.org> dev-python/pypam/pypam-0.5.0-r3.ebuild | 46 -- dev-python/pypam/pypam-0.5.0-r4.ebuild | 2 +- 2 files changed, 1 insertion(+), 47 deletions(-) diff --git a/dev-python/pypam/pypam-0.5.0-r3.ebuild b/dev-python/pypam/pypam-0.5.0-r3.ebuild deleted file mode 100644 index a2bb5774fe0..000 --- a/dev-python/pypam/pypam-0.5.0-r3.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -PYTHON_COMPAT=( python{2_7,3_6} ) - -inherit distutils-r1 flag-o-matic - -MY_PN="PyPAM" -MY_P="${MY_PN}-${PV}" - -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; - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" -IUSE="" - -DEPEND=">=sys-libs/pam-0.64" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_P}" - -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 -} diff --git a/dev-python/pypam/pypam-0.5.0-r4.ebuild b/dev-python/pypam/pypam-0.5.0-r4.ebuild index d26ff5f7409..6ccd947b160 100644 --- a/dev-python/pypam/pypam-0.5.0-r4.ebuild +++ b/dev-python/pypam/pypam-0.5.0-r4.ebuild @@ -15,7 +15,7 @@ SRC_URI="http://www.pangalactic.org/PyPAM/${MY_P}.tar.gz; LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 x86" IUSE="" DEPEND=">=sys-libs/pam-0.64"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypam/
commit: 2826275d584e67d81d323706b7dab09d94fc76ed Author: Tomáš Mózes gmail com> AuthorDate: Tue Apr 28 14:16:25 2020 + Commit: Yixun Lan gentoo org> CommitDate: Thu Apr 30 14:42:31 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2826275d dev-python/pypam: add python3.{7,8} support Bug: https://bugs.gentoo.org/719426 Signed-off-by: Tomáš Mózes gmail.com> Signed-off-by: Yixun Lan gentoo.org> dev-python/pypam/pypam-0.5.0-r4.ebuild | 46 ++ 1 file changed, 46 insertions(+) diff --git a/dev-python/pypam/pypam-0.5.0-r4.ebuild b/dev-python/pypam/pypam-0.5.0-r4.ebuild new file mode 100644 index 000..d26ff5f7409 --- /dev/null +++ b/dev-python/pypam/pypam-0.5.0-r4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python2_7 python3_{6,7,8} ) + +inherit distutils-r1 flag-o-matic + +MY_PN="PyPAM" +MY_P="${MY_PN}-${PV}" + +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; + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +DEPEND=">=sys-libs/pam-0.64" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypam/
commit: 2bab9655e01cda683a240a45e0d83e34e96af9d6 Author: Michał Górny gentoo org> AuthorDate: Sun Apr 26 06:41:59 2020 + Commit: Michał Górny gentoo org> CommitDate: Sun Apr 26 06:49:12 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bab9655 dev-python/pypam: Drop to maint-needed Signed-off-by: Michał Górny gentoo.org> dev-python/pypam/metadata.xml | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dev-python/pypam/metadata.xml b/dev-python/pypam/metadata.xml index 7f4f33c6dbc..58f638b2ac3 100644 --- a/dev-python/pypam/metadata.xml +++ b/dev-python/pypam/metadata.xml @@ -1,8 +1,5 @@ http://www.gentoo.org/dtd/metadata.dtd;> - - pyt...@gentoo.org - Python - +
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypam/
commit: 7d33a1fe6857166290c8a0ad44ee07051afd6983 Author: Manuel Rüger gentoo org> AuthorDate: Thu May 4 16:25:30 2017 + Commit: Manuel Rüger gentoo org> CommitDate: Thu May 4 16:25:30 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d33a1fe dev-python/pypam: Add python3_6 Package-Manager: Portage-2.3.5, Repoman-2.3.2 dev-python/pypam/pypam-0.5.0-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pypam/pypam-0.5.0-r3.ebuild b/dev-python/pypam/pypam-0.5.0-r3.ebuild index eb48f5060bd..4ed08707692 100644 --- a/dev-python/pypam/pypam-0.5.0-r3.ebuild +++ b/dev-python/pypam/pypam-0.5.0-r3.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=5 -PYTHON_COMPAT=( python{2_7,3_4,3_5} ) +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) inherit distutils-r1 flag-o-matic
[gentoo-commits] repo/gentoo:master commit in: dev-python/pypam/
commit: f018960c688ffebbf97891ac4427216475a5baa3 Author: Manuel Rüger gentoo org> AuthorDate: Fri Mar 10 15:35:23 2017 + Commit: Manuel Rüger gentoo org> CommitDate: Fri Mar 10 15:36:35 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f018960c dev-python/pypam: Add support for python3_5 Package-Manager: Portage-2.3.4, Repoman-2.3.2 dev-python/pypam/pypam-0.5.0-r3.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/pypam/pypam-0.5.0-r3.ebuild b/dev-python/pypam/pypam-0.5.0-r3.ebuild index a1723a99b76..eb48f5060bd 100644 --- a/dev-python/pypam/pypam-0.5.0-r3.ebuild +++ b/dev-python/pypam/pypam-0.5.0-r3.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 -PYTHON_COMPAT=( python{2_7,3_4} ) +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) inherit distutils-r1 flag-o-matic