summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2009-12-16 01:55:00 +0000
committerChris PeBenito <pebenito@gentoo.org>2009-12-16 01:55:00 +0000
commitc483ff09e1cc8f1fb1055e1d58a5c44bd9900259 (patch)
tree9eb3c4a4d8b82b1b86a79563c2ce5ea66f9ee202 /dev-python/sepolgen
parentVersion bump (diff)
downloadhistorical-c483ff09e1cc8f1fb1055e1d58a5c44bd9900259.tar.gz
historical-c483ff09e1cc8f1fb1055e1d58a5c44bd9900259.tar.bz2
historical-c483ff09e1cc8f1fb1055e1d58a5c44bd9900259.zip
dev-python/sepolgen: fix build tests for #296737.
Package-Manager: portage-2.2_rc58/cvs/Linux x86_64
Diffstat (limited to 'dev-python/sepolgen')
-rw-r--r--dev-python/sepolgen/ChangeLog8
-rw-r--r--dev-python/sepolgen/Manifest11
-rw-r--r--dev-python/sepolgen/sepolgen-1.0.17-r1.ebuild57
3 files changed, 70 insertions, 6 deletions
diff --git a/dev-python/sepolgen/ChangeLog b/dev-python/sepolgen/ChangeLog
index 3c85a8ea57c8..7335ab8128d1 100644
--- a/dev-python/sepolgen/ChangeLog
+++ b/dev-python/sepolgen/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/sepolgen
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/ChangeLog,v 1.4 2009/08/02 01:43:14 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/ChangeLog,v 1.5 2009/12/16 01:55:00 pebenito Exp $
+
+*sepolgen-1.0.17-r1 (16 Dec 2009)
+
+ 16 Dec 2009; Chris PeBenito <pebenito@gentoo.org>
+ +sepolgen-1.0.17-r1.ebuild:
+ Fix build tests for #296737.
02 Aug 2009; Chris PeBenito <pebenito@gentoo.org> sepolgen-1.0.13.ebuild,
sepolgen-1.0.17.ebuild:
diff --git a/dev-python/sepolgen/Manifest b/dev-python/sepolgen/Manifest
index 93b8f19028ec..324c0304f77d 100644
--- a/dev-python/sepolgen/Manifest
+++ b/dev-python/sepolgen/Manifest
@@ -4,13 +4,14 @@ Hash: SHA1
DIST sepolgen-1.0.13.tar.gz 362194 RMD160 61e0e9c6a96615eb7dc717d1b7b263ca892b8d58 SHA1 ba00bc61b2ddf655b88351bb5822a8837b16883e SHA256 5af026b2b3eee30976cbb08973e79eb35c74f4f8ea1b928b20580e0789853da9
DIST sepolgen-1.0.17.tar.gz 362355 RMD160 804d2bf113d22cbdf27b9d602dc9100238c61df7 SHA1 fe8eb1160535c97ec06a1ffa703af49b8b2327cf SHA256 9e150b1ad258604539eb4eebe34bcf15f3b0869ce67d09fdee2ad3f7ebec868c
EBUILD sepolgen-1.0.13.ebuild 955 RMD160 e4b23f72da435f6993841f7f08980bd061e6faae SHA1 4d23ca18b156eae033a466e53534f15efac3156d SHA256 289ecd7325c9ef994e3e423be6e3abbd6c9748c5276053325cfa01737aa0ca18
+EBUILD sepolgen-1.0.17-r1.ebuild 1428 RMD160 4f4e85a98f3b3b70fbf524cba53c6fa06813923e SHA1 152ef80243c7a815251586edac98c0618a19843b SHA256 58f6e454a3c4b6eeb2fe46a9a8fb820f651adad853ef7570a029734659ab607d
EBUILD sepolgen-1.0.17.ebuild 957 RMD160 b1082d49b5d2a5e394b2bfc45f6a144ebe662d31 SHA1 670a86cbf1be87973e3aa20084a1bd54b7bf93f8 SHA256 8b4b29c0edf0e7f9986fc1872951fcef156ac9a689639c65b1e955abc0de71c4
-MISC ChangeLog 726 RMD160 4e18846d955e9ec00b21d2445810630008efd6f9 SHA1 ae5558955971bd094ae34ebe73d74ebc5a23f280 SHA256 cf7ac49d1891a4228a3ae3e3fd0b3e3c393c449b827a62c0766c4d4cebb4abb5
+MISC ChangeLog 875 RMD160 a00e4c5b6f8f1cd3409de0f2f04f549df8b0d1dd SHA1 08537ea53ff474870b7fb6a178f6c753a4c1de1a SHA256 736a909dc51f83aa3adf869deca49df0f9ded55ae8b1c06de2ff65ec560877c4
MISC metadata.xml 300 RMD160 36b5466d0f61dbc147eb3e2ffd94d1a6afed35ac SHA1 e18750d941907a5c15baf781d8e6786961cde972 SHA256 7fe4b477cb4f8b93c9e5bb63336688933259ff619f743fb2647479a59227dc2b
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
+Version: GnuPG v2.0.13 (GNU/Linux)
-iEYEARECAAYFAkp075IACgkQWczwbOluxW+UXwCfcvmevpRAIt57cAz+9pn7W6+o
-gxwAoNH6Agjq2+7+WOP9S4nlHXzbBXli
-=URii
+iEYEARECAAYFAksoPf8ACgkQWczwbOluxW/H2QCg6dEnQn7NNkQTkHceOaBS49dy
+ycIAoLNqwO1+6vG/MW/T2DYUi4tkWze/
+=98pL
-----END PGP SIGNATURE-----
diff --git a/dev-python/sepolgen/sepolgen-1.0.17-r1.ebuild b/dev-python/sepolgen/sepolgen-1.0.17-r1.ebuild
new file mode 100644
index 000000000000..cc9310918f6b
--- /dev/null
+++ b/dev-python/sepolgen/sepolgen-1.0.17-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/sepolgen-1.0.17-r1.ebuild,v 1.1 2009/12/16 01:55:00 pebenito Exp $
+
+inherit python
+
+IUSE=""
+
+DESCRIPTION="SELinux policy generation library"
+HOMEPAGE="http://userspace.selinuxproject.org"
+SRC_URI="http://userspace.selinuxproject.org/releases/current/devel/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=""
+RDEPEND=">=dev-lang/python-2.5
+ >=sys-libs/libselinux-2.0"
+
+src_unpack() {
+ unpack ${A}
+
+ # 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() {
+ return
+}
+
+src_test() {
+ if has_version sec-policy/selinux-base-policy; then
+ make test
+ else
+ ewarn "Sepolgen requires sec-policy/selinux-base-policy to run tests."
+ fi
+}
+
+src_install() {
+ python_version
+ python_need_rebuild
+ make DESTDIR="${D}" PYTHONLIBDIR="/usr/$(get_libdir)/python${PYVER}/site-packages" \
+ install || die "install failed"
+}
+
+pkg_postinst() {
+ python_version
+ python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages
+}
+
+pkg_postrm() {
+ python_version
+ python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages
+}