summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2012-12-16 11:59:12 +0000
committerMichał Górny <mgorny@gentoo.org>2012-12-16 11:59:12 +0000
commitfa9507bb58d339b7007b46a59d70c30099667245 (patch)
tree0dc17040e8640ea18c63369a5d66df765951c70f /dev-python/pypam
parentMigrate to python-r1. (diff)
downloadgentoo-2-fa9507bb58d339b7007b46a59d70c30099667245.tar.gz
gentoo-2-fa9507bb58d339b7007b46a59d70c30099667245.tar.bz2
gentoo-2-fa9507bb58d339b7007b46a59d70c30099667245.zip
Migrate to distutils-r1.
(Portage version: 2.2.0_alpha148/cvs/Linux x86_64, signed Manifest commit with key 42B9401D)
Diffstat (limited to 'dev-python/pypam')
-rw-r--r--dev-python/pypam/ChangeLog10
-rw-r--r--dev-python/pypam/pypam-0.5.0-r1.ebuild40
2 files changed, 47 insertions, 3 deletions
diff --git a/dev-python/pypam/ChangeLog b/dev-python/pypam/ChangeLog
index b9a025c672e8..8de1f62c96c3 100644
--- a/dev-python/pypam/ChangeLog
+++ b/dev-python/pypam/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pypam
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pypam/ChangeLog,v 1.8 2011/11/29 23:36:57 chainsaw Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pypam/ChangeLog,v 1.9 2012/12/16 11:59:12 mgorny Exp $
+
+*pypam-0.5.0-r1 (16 Dec 2012)
+
+ 16 Dec 2012; Michał Górny <mgorny@gentoo.org> +pypam-0.5.0-r1.ebuild:
+ Migrate to distutils-r1.
29 Nov 2011; Tony Vroon <chainsaw@gentoo.org> pypam-0.5.0.ebuild:
Marked stable on AMD64 based on arch testing by Ian "idella4" Delaney &
@@ -28,4 +33,3 @@
28 May 2007; Marien Zwart <marienz@gentoo.org> ChangeLog:
New ebuild, thanks to gentoofan23 on freenode for testing.
-
diff --git a/dev-python/pypam/pypam-0.5.0-r1.ebuild b/dev-python/pypam/pypam-0.5.0-r1.ebuild
new file mode 100644
index 000000000000..face4063191a
--- /dev/null
+++ b/dev-python/pypam/pypam-0.5.0-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pypam/pypam-0.5.0-r1.ebuild,v 1.1 2012/12/16 11:59:12 mgorny Exp $
+
+EAPI=4
+PYTHON_COMPAT=( python{2_5,2_6,2_7} )
+
+inherit distutils-r1
+
+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 ~x86"
+IUSE=""
+
+DEPEND=">=sys-libs/pam-0.64"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
+
+DOCS=( AUTHORS examples/pamtest.py )
+
+PATCHES=(
+ # Fix a PyObject/PyMEM mixup.
+ "${FILESDIR}/${P}-python-2.5.patch"
+ # Fix a missing include.
+ "${FILESDIR}/${P}-stricter.patch"
+)
+
+python_test() {
+ "${PYTHON}" tests/PamTest.py
+}