From: "Sven Vermeulen" <sven.vermeulen@siphos.be>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/hardened-dev:master commit in: dev-python/sepolgen/
Date: Sat, 26 May 2012 14:48:29 +0000 (UTC) [thread overview]
Message-ID: <1338043514.fe3cd53e9663b3a52c8faf96d5314e7fd7522f86.SwifT@gentoo> (raw)
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() {
next reply other threads:[~2012-05-26 14:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-26 14:48 Sven Vermeulen [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-05-26 15:30 [gentoo-commits] proj/hardened-dev:master commit in: dev-python/sepolgen/ Sven Vermeulen
2012-05-26 15:14 Sven Vermeulen
2012-05-26 15:00 Sven Vermeulen
2012-05-01 13:39 Sven Vermeulen
2012-02-25 14:16 Sven Vermeulen
2011-08-03 9:20 Anthony G. Basile
2011-02-06 20:03 Anthony G. Basile
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1338043514.fe3cd53e9663b3a52c8faf96d5314e7fd7522f86.SwifT@gentoo \
--to=sven.vermeulen@siphos.be \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox