mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-python/pypam: EAPI-7 bump
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -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.dealloc 2011-01-17 22:48:22.000000000 +0100
|
||||
+++ PyPAM-0.5.0/PAMmodule.c 2011-01-18 21:24:59.000000000 +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);
|
||||
|
||||
@@ -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.c 2012-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);
|
||||
|
||||
@@ -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.000000000 +0200
|
||||
+++ PyPAM-0.5.0/PAMmodule.c 2012-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);
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
--- PAMmodule.c.python3 2014-06-24 11:29:10.958299393 +0200
|
||||
+++ PAMmodule.c 2014-06-24 15:20:02.728118493 +0200
|
||||
--- a/PAMmodule.c
|
||||
+++ b(PAMmodule.c
|
||||
@@ -15,6 +15,14 @@
|
||||
#include <stdio.h>
|
||||
#include <dlfcn.h>
|
||||
@@ -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."""
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
=== modified file 'PAMmodule.c'
|
||||
--- PAMmodule.c 2007-05-28 17:50:59 +0000
|
||||
+++ PAMmodule.c 2007-05-28 18:13:33 +0000
|
||||
--- a/PAMmodule.c
|
||||
+++ b/PAMmodule.c
|
||||
@@ -9,8 +9,9 @@
|
||||
|
||||
+#include <Python.h>
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=no
|
||||
MY_P="PyPAM-${PV}"
|
||||
PYTHON_COMPAT=( python3_{7..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"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
@@ -21,8 +21,6 @@ IUSE=""
|
||||
DEPEND=">=sys-libs/pam-0.64"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DOCS=( AUTHORS examples/pamtest.py )
|
||||
|
||||
PATCHES=(
|
||||
|
||||
Reference in New Issue
Block a user