From: | "Anthony G. Basile (blueness)" <blueness@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/sepolgen: ChangeLog sepolgen-1.1.0.ebuild |
Date: | Wed, 03 Aug 2011 09:18:56 |
Message-Id: | 20110803091842.87B722004C@flycatcher.gentoo.org |
1 | blueness 11/08/03 09:18:42 |
2 | |
3 | Modified: ChangeLog |
4 | Added: sepolgen-1.1.0.ebuild |
5 | Log: |
6 | Bump to 20110727 release of SELinux userspace |
7 | |
8 | (Portage version: 2.1.10.3/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.12 dev-python/sepolgen/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sepolgen/ChangeLog?rev=1.12&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sepolgen/ChangeLog?rev=1.12&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sepolgen/ChangeLog?r1=1.11&r2=1.12 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-python/sepolgen/ChangeLog,v |
20 | retrieving revision 1.11 |
21 | retrieving revision 1.12 |
22 | diff -u -r1.11 -r1.12 |
23 | --- ChangeLog 28 May 2011 05:34:22 -0000 1.11 |
24 | +++ ChangeLog 3 Aug 2011 09:18:42 -0000 1.12 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-python/sepolgen |
27 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/ChangeLog,v 1.11 2011/05/28 05:34:22 blueness Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/ChangeLog,v 1.12 2011/08/03 09:18:42 blueness Exp $ |
30 | + |
31 | +*sepolgen-1.1.0 (03 Aug 2011) |
32 | + |
33 | + 03 Aug 2011; Anthony G. Basile <blueness@g.o> +sepolgen-1.1.0.ebuild: |
34 | + Bump to 20110727 release of SELinux userspace |
35 | |
36 | 28 May 2011; Anthony G. Basile <blueness@g.o> sepolgen-1.0.23.ebuild: |
37 | Stable amd64 x86 |
38 | |
39 | |
40 | |
41 | 1.1 dev-python/sepolgen/sepolgen-1.1.0.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sepolgen/sepolgen-1.1.0.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sepolgen/sepolgen-1.1.0.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: sepolgen-1.1.0.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2011 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/sepolgen-1.1.0.ebuild,v 1.1 2011/08/03 09:18:42 blueness Exp $ |
51 | |
52 | EAPI="2" |
53 | PYTHON_DEPEND="2:2.5" |
54 | SUPPORT_PYTHON_ABIS="1" |
55 | RESTRICT_PYTHON_ABIS="2.4 3.* *-jython" |
56 | |
57 | inherit python |
58 | |
59 | DESCRIPTION="SELinux policy generation library" |
60 | HOMEPAGE="http://userspace.selinuxproject.org" |
61 | SRC_URI="http://userspace.selinuxproject.org/releases/20110727/devel/${P}.tar.gz" |
62 | |
63 | LICENSE="GPL-2" |
64 | SLOT="0" |
65 | KEYWORDS="~amd64 ~x86" |
66 | IUSE="" |
67 | |
68 | DEPEND=">=sys-libs/libselinux-2.0[python]" |
69 | RDEPEND="${DEPEND}" |
70 | |
71 | src_prepare() { |
72 | # fix up default paths to not be RH specific |
73 | sed -i -e 's:/usr/share/selinux/devel:/usr/share/selinux/strict:' \ |
74 | "${S}/src/sepolgen/defaults.py" || die |
75 | sed -i -e 's:/usr/share/selinux/devel:/usr/share/selinux/strict/include:' \ |
76 | "${S}/src/sepolgen/module.py" || die |
77 | } |
78 | |
79 | src_compile() { |
80 | : |
81 | } |
82 | |
83 | src_test() { |
84 | if has_version sec-policy/selinux-base-policy; then |
85 | python_src_test |
86 | else |
87 | ewarn "Sepolgen requires sec-policy/selinux-base-policy to run tests." |
88 | fi |
89 | } |
90 | |
91 | src_install() { |
92 | installation() { |
93 | emake DESTDIR="${D}" PYTHONLIBDIR="$(python_get_sitedir)" install |
94 | } |
95 | python_execute_function installation |
96 | } |
97 | |
98 | pkg_postinst() { |
99 | python_mod_optimize sepolgen |
100 | } |
101 | |
102 | pkg_postrm() { |
103 | python_mod_cleanup sepolgen |
104 | } |