/[gentoo-x86]/dev-python/python-selinux/python-selinux-2.16-r2.ebuild
Gentoo

Contents of /dev-python/python-selinux/python-selinux-2.16-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Tue Feb 8 17:47:41 2011 UTC (3 years, 8 months ago) by arfrever
Branch: MAIN
Changes since 1.4: +12 -6 lines
Use Python 2 (bug #345547).

(Portage version: 2.2.0_alpha22_p4/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/python-selinux/python-selinux-2.16-r2.ebuild,v 1.4 2010/04/16 19:44:03 arfrever Exp $
4
5 PYTHON_DEPEND="2"
6
7 inherit python
8
9 DESCRIPTION="Extra python bindings for SELinux functions"
10 HOMEPAGE="http://www.gentoo.org/proj/en/hardened/selinux/"
11 LICENSE="GPL-2"
12 SLOT="0"
13 SRC_URI="mirror://gentoo/${P}-1.tar.bz2"
14
15 KEYWORDS="amd64 x86"
16 IUSE=""
17
18 DEPEND=">=sys-libs/libselinux-1.28-r1"
19 RDEPEND="${DEPEND}"
20
21 S=${WORKDIR}/${PN}
22
23 pkg_setup() {
24 python_set_active_version 2
25 python_pkg_setup
26 }
27
28 src_compile() {
29 emake PYVER="$(python_get_version)" || die
30 }
31
32 src_install() {
33 python_need_rebuild
34 make DESTDIR="${D}" PYVER="$(python_get_version)" install || die
35 }

  ViewVC Help
Powered by ViewVC 1.1.20