From fa9507bb58d339b7007b46a59d70c30099667245 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sun, 16 Dec 2012 11:59:12 +0000 Subject: Migrate to distutils-r1. (Portage version: 2.2.0_alpha148/cvs/Linux x86_64, signed Manifest commit with key 42B9401D) --- dev-python/pypam/ChangeLog | 10 ++++++--- dev-python/pypam/pypam-0.5.0-r1.ebuild | 40 ++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 3 deletions(-) create mode 100644 dev-python/pypam/pypam-0.5.0-r1.ebuild (limited to 'dev-python') 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 +pypam-0.5.0-r1.ebuild: + Migrate to distutils-r1. 29 Nov 2011; Tony Vroon 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 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 +} -- cgit v1.2.3-65-gdbad