/[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 - (hide annotations) (download)
Tue Feb 8 17:47:41 2011 UTC (3 years, 5 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 arfrever 1.5 # Copyright 1999-2011 Gentoo Foundation
2 pebenito 1.1 # Distributed under the terms of the GNU General Public License v2
3 arfrever 1.5 # $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 pebenito 1.1
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 pebenito 1.3 KEYWORDS="amd64 x86"
16 pebenito 1.1 IUSE=""
17    
18 arfrever 1.5 DEPEND=">=sys-libs/libselinux-1.28-r1"
19 pebenito 1.3 RDEPEND="${DEPEND}"
20 pebenito 1.1
21     S=${WORKDIR}/${PN}
22    
23 arfrever 1.5 pkg_setup() {
24     python_set_active_version 2
25     python_pkg_setup
26     }
27    
28 pebenito 1.1 src_compile() {
29 arfrever 1.5 emake PYVER="$(python_get_version)" || die
30 pebenito 1.1 }
31    
32     src_install() {
33 pebenito 1.3 python_need_rebuild
34 arfrever 1.5 make DESTDIR="${D}" PYVER="$(python_get_version)" install || die
35 pebenito 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20