* [gentoo-commits] gentoo-x86 commit in dev-python/sepolgen: ChangeLog sepolgen-1.1.9-r3.ebuild
@ 2013-07-19 20:16 Sven Vermeulen (swift)
0 siblings, 0 replies; only message in thread
From: Sven Vermeulen (swift) @ 2013-07-19 20:16 UTC (permalink / raw
To: gentoo-commits
swift 13/07/19 20:16:05
Modified: ChangeLog
Added: sepolgen-1.1.9-r3.ebuild
Log:
Move to python-r1, and fix sepolgen tests
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 0xCDBA2FDB)
Revision Changes Path
1.34 dev-python/sepolgen/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sepolgen/ChangeLog?rev=1.34&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sepolgen/ChangeLog?rev=1.34&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sepolgen/ChangeLog?r1=1.33&r2=1.34
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/sepolgen/ChangeLog,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- ChangeLog 16 Jun 2013 18:06:29 -0000 1.33
+++ ChangeLog 19 Jul 2013 20:16:05 -0000 1.34
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/sepolgen
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/ChangeLog,v 1.33 2013/06/16 18:06:29 swift Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/ChangeLog,v 1.34 2013/07/19 20:16:05 swift Exp $
+
+*sepolgen-1.1.9-r3 (19 Jul 2013)
+
+ 19 Jul 2013; Sven Vermeulen <swift@gentoo.org> +sepolgen-1.1.9-r3.ebuild:
+ Fix bug 467264 - sepolgen tests now succeed; also move to python-r1
16 Jun 2013; Sven Vermeulen <swift@gentoo.org> sepolgen-1.1.9-r2.ebuild:
Stabilize
1.1 dev-python/sepolgen/sepolgen-1.1.9-r3.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sepolgen/sepolgen-1.1.9-r3.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sepolgen/sepolgen-1.1.9-r3.ebuild?rev=1.1&content-type=text/plain
Index: sepolgen-1.1.9-r3.ebuild
===================================================================
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/sepolgen-1.1.9-r3.ebuild,v 1.1 2013/07/19 20:16:05 swift Exp $
EAPI="5"
PYTHON_COMPAT=( python2_7 )
inherit python-r1 eutils
DESCRIPTION="SELinux policy generation library"
HOMEPAGE="http://userspace.selinuxproject.org"
SRC_URI="http://userspace.selinuxproject.org/releases/20130423/${P}.tar.gz
http://dev.gentoo.org/~swift/patches/sepolgen/patchbundle-${P}-r2.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=sys-libs/libselinux-2.0[python]
app-admin/setools[python]
${PYTHON_DEPS}"
RDEPEND="${DEPEND}"
src_prepare() {
EPATCH_MULTI_MSG="Applying sepolgen patches ... " \
EPATCH_SUFFIX="patch" \
EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
EPATCH_FORCE="yes" \
epatch
epatch_user
python_copy_sources
}
src_compile() {
:
}
src_test() {
if has_version sec-policy/selinux-base-policy; then
invoke_sepolgen_test() {
emake test
}
python_foreach_impl invoke_sepolgen_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_foreach_impl installation
# Create sepolgen.conf with different devel location definition
local selinuxtype=$(awk -F'=' '/^SELINUXTYPE/ {print $2}' /etc/selinux/config);
mkdir -p "${D}"/etc/selinux || die "Failed to create selinux directory";
echo "SELINUX_DEVEL_PATH=/usr/share/selinux/${selinuxtype}/include" > "${D}"/etc/selinux/sepolgen.conf;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-07-19 20:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-19 20:16 [gentoo-commits] gentoo-x86 commit in dev-python/sepolgen: ChangeLog sepolgen-1.1.9-r3.ebuild Sven Vermeulen (swift)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox