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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Jan 24 00:14:51 2013 UTC (7 years, 6 months ago) by floppym
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Properly append -fno-strict-aliasing to CFLAGS.

(Portage version: 2.2.0_alpha159/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)

1 # Copyright 1999-2012 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-r1.ebuild,v 1.2 2012/12/17 20:00:09 mgorny Exp $
4
5 EAPI=5
6 PYTHON_COMPAT=( python{2_5,2_6,2_7} )
7
8 inherit distutils-r1
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 ~x86"
20 IUSE=""
21
22 DEPEND=">=sys-libs/pam-0.64"
23 RDEPEND="${DEPEND}"
24
25 S="${WORKDIR}/${MY_P}"
26
27 PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
28
29 DOCS=( AUTHORS examples/pamtest.py )
30
31 PATCHES=(
32 # Fix a PyObject/PyMEM mixup.
33 "${FILESDIR}/${P}-python-2.5.patch"
34 # Fix a missing include.
35 "${FILESDIR}/${P}-stricter.patch"
36 )
37
38 python_test() {
39 "${PYTHON}" tests/PamTest.py
40 }

  ViewVC Help
Powered by ViewVC 1.1.20