/[gentoo-x86]/dev-python/pypam/pypam-0.5.0-r2.ebuild
Gentoo

Contents of /dev-python/pypam/pypam-0.5.0-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Wed Jun 17 07:49:36 2015 UTC (5 years, 1 month ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
Drop vulnerable version

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key E9402A79B03529A2!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/pypam/pypam-0.5.0-r2.ebuild,v 1.7 2015/04/08 08:05:13 mgorny Exp $
4
5 EAPI=5
6 PYTHON_COMPAT=( python2_7 )
7
8 inherit distutils-r1 flag-o-matic
9
10 MY_PN="PyPAM"
11 MY_P="${MY_PN}-${PV}"
12
13 DESCRIPTION="Python Bindings for PAM (Pluggable Authentication Modules)"
14 HOMEPAGE="http://www.pangalactic.org/PyPAM"
15 SRC_URI="http://www.pangalactic.org/PyPAM/${MY_P}.tar.gz"
16
17 LICENSE="LGPL-2.1"
18 SLOT="0"
19 KEYWORDS="amd64 ~arm ~arm64 x86"
20 IUSE=""
21
22 DEPEND=">=sys-libs/pam-0.64"
23 RDEPEND="${DEPEND}"
24
25 S="${WORKDIR}/${MY_P}"
26
27 DOCS=( AUTHORS examples/pamtest.py )
28
29 PATCHES=(
30 # Fix a PyObject/PyMEM mixup.
31 "${FILESDIR}/${P}-python-2.5.patch"
32 # Fix a missing include.
33 "${FILESDIR}/${P}-stricter.patch"
34 )
35
36 src_compile() {
37 append-cflags -fno-strict-aliasing
38 distutils-r1_src_compile
39 }
40
41 python_test() {
42 "${PYTHON}" tests/PamTest.py
43 }

  ViewVC Help
Powered by ViewVC 1.1.20