Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Sven Vermeulen" <sven.vermeulen@...>
Subject: proj/hardened-dev:master commit in: dev-python/sepolgen/
Date: Sat, 26 May 2012 14:48:29 +0000 (UTC)
commit:     fe3cd53e9663b3a52c8faf96d5314e7fd7522f86
Author:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Sat May 26 14:45:14 2012 +0000
Commit:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
CommitDate: Sat May 26 14:45:14 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=fe3cd53e

Support python3

---
 dev-python/sepolgen/sepolgen-1.1.5-r1.ebuild |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/dev-python/sepolgen/sepolgen-1.1.5-r1.ebuild b/dev-python/sepolgen/sepolgen-1.1.5-r1.ebuild
index a762990..0d716b3 100644
--- a/dev-python/sepolgen/sepolgen-1.1.5-r1.ebuild
+++ b/dev-python/sepolgen/sepolgen-1.1.5-r1.ebuild
@@ -2,8 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/sepolgen-1.1.5.ebuild,v 1.3 2012/04/29 10:08:34 swift Exp $
 
-EAPI="4"
-PYTHON_DEPEND="*"
+EAPI="3"
+PYTHON_DEPEND=""
 SUPPORT_PYTHON_ABIS="1"
 RESTRICT_PYTHON_ABIS="*-jython"
 
@@ -12,7 +12,7 @@ inherit python eutils
 DESCRIPTION="SELinux policy generation library"
 HOMEPAGE="http://userspace.selinuxproject.org"
 SRC_URI="http://userspace.selinuxproject.org/releases/20120216/${P}.tar.gz
-		http://dev.gentoo.org/~swift/patches/sepolgen/sepolgen-1.1.5-2to3.patch.gz"
+	http://dev.gentoo.org/~swift/patches/sepolgen/sepolgen-1.1.5-gentoo-01.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -24,12 +24,17 @@ DEPEND=">=sys-libs/libselinux-2.0[python]
 RDEPEND="${DEPEND}"
 
 src_prepare() {
-	epatch "${DISTDIR}/sepolgen-1.1.5-2to3.patch.gz"
 	# 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
+
+	EPATCH_MULTI_MSG="Applying sepolgen patches ... " \
+	EPATCH_SUFFIX="patch" \
+	EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
+	EPATCH_FORCE="yes" \
+	epatch
 }
 
 src_compile() {


Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
proj/hardened-dev:master commit in: dev-python/sepolgen/
Next by thread:
dev/alexxy:master commit in: gnome-extra/nm-applet/
Previous by date:
gentoo-x86 commit in dev-db/mydumper: ChangeLog mydumper-0.5.1.ebuild
Next by date:
proj/hardened-dev:master commit in: sys-libs/libsemanage/


Updated Jun 26, 2012

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.