diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2011-08-03 09:18:42 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2011-08-03 09:18:42 +0000 |
commit | 6e42d4b3328ff65052810cbf455cd4e46c51a13f (patch) | |
tree | 7b93e8a5225633ce450db796e83989f62aa466cb /dev-python | |
parent | Fix HOMEPAGE (diff) | |
download | gentoo-2-6e42d4b3328ff65052810cbf455cd4e46c51a13f.tar.gz gentoo-2-6e42d4b3328ff65052810cbf455cd4e46c51a13f.tar.bz2 gentoo-2-6e42d4b3328ff65052810cbf455cd4e46c51a13f.zip |
Bump to 20110727 release of SELinux userspace
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/sepolgen/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/sepolgen/sepolgen-1.1.0.ebuild | 57 |
2 files changed, 63 insertions, 1 deletions
diff --git a/dev-python/sepolgen/ChangeLog b/dev-python/sepolgen/ChangeLog index 328ec91e64a0..54e2641213df 100644 --- a/dev-python/sepolgen/ChangeLog +++ b/dev-python/sepolgen/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/sepolgen # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/ChangeLog,v 1.11 2011/05/28 05:34:22 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/ChangeLog,v 1.12 2011/08/03 09:18:42 blueness Exp $ + +*sepolgen-1.1.0 (03 Aug 2011) + + 03 Aug 2011; Anthony G. Basile <blueness@gentoo.org> +sepolgen-1.1.0.ebuild: + Bump to 20110727 release of SELinux userspace 28 May 2011; Anthony G. Basile <blueness@gentoo.org> sepolgen-1.0.23.ebuild: Stable amd64 x86 diff --git a/dev-python/sepolgen/sepolgen-1.1.0.ebuild b/dev-python/sepolgen/sepolgen-1.1.0.ebuild new file mode 100644 index 000000000000..61edf8300961 --- /dev/null +++ b/dev-python/sepolgen/sepolgen-1.1.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/sepolgen-1.1.0.ebuild,v 1.1 2011/08/03 09:18:42 blueness Exp $ + +EAPI="2" +PYTHON_DEPEND="2:2.5" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="2.4 3.* *-jython" + +inherit python + +DESCRIPTION="SELinux policy generation library" +HOMEPAGE="http://userspace.selinuxproject.org" +SRC_URI="http://userspace.selinuxproject.org/releases/20110727/devel/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=sys-libs/libselinux-2.0[python]" +RDEPEND="${DEPEND}" + +src_prepare() { + # fix up default paths to not be RH specific + sed -i -e 's:/usr/share/selinux/devel:/usr/share/selinux/strict:' \ + "${S}/src/sepolgen/defaults.py" || die + sed -i -e 's:/usr/share/selinux/devel:/usr/share/selinux/strict/include:' \ + "${S}/src/sepolgen/module.py" || die +} + +src_compile() { + : +} + +src_test() { + if has_version sec-policy/selinux-base-policy; then + python_src_test + else + ewarn "Sepolgen requires sec-policy/selinux-base-policy to run tests." + fi +} + +src_install() { + installation() { + emake DESTDIR="${D}" PYTHONLIBDIR="$(python_get_sitedir)" install + } + python_execute_function installation +} + +pkg_postinst() { + python_mod_optimize sepolgen +} + +pkg_postrm() { + python_mod_cleanup sepolgen +} |