public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/hardened-dev:master commit in: sys-apps/apparmor-utils/
Date: Tue,  4 Jun 2013 13:45:10 +0000 (UTC)	[thread overview]
Message-ID: <1370353359.b7850286e6a7c3f261c1c4e6bf0c5fe7b2e6224e.kensington@gentoo> (raw)

commit:     b7850286e6a7c3f261c1c4e6bf0c5fe7b2e6224e
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  4 13:37:29 2013 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Tue Jun  4 13:42:39 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=b7850286

sys-apps/apparmor-utils: fix build when python-3 is active wrt bug #472278. Add missing PYTHON_REQUIRED_USE. Use correct PYTHON variable. Improve quoting.

Package-Manager: portage-2.1.12.2
Manifest-Sign-Key: 675D0D2C

---
 sys-apps/apparmor-utils/apparmor-utils-2.8.1.ebuild | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/sys-apps/apparmor-utils/apparmor-utils-2.8.1.ebuild b/sys-apps/apparmor-utils/apparmor-utils-2.8.1.ebuild
index 181c14f..a37ac39 100644
--- a/sys-apps/apparmor-utils/apparmor-utils-2.8.1.ebuild
+++ b/sys-apps/apparmor-utils/apparmor-utils-2.8.1.ebuild
@@ -16,6 +16,8 @@ SLOT="0"
 KEYWORDS="~amd64"
 IUSE=""
 
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
 LANGS="af ar bg bn bs ca cs cy da de el en_GB en_US es et fi fr gl
 	gu he hi hr hu id it ja ka km ko lo lt mk mr nb nl pa pl pt
 	pt_BR pt_PT ro ru si sk sl sr sv ta th tr uk vi wa xh zh_CN
@@ -48,13 +50,18 @@ src_prepare() {
 	done
 }
 
+src_compile() {
+	python_export_best
+	default
+}
+
 src_install() {
 	perlinfo
 	emake DESTDIR="${D}" PERLDIR="${D}/${VENDOR_LIB}/Immunix" install
 
 	install_python() {
-		${EPYTHON} ${S}/python-tools-setup.py install --prefix=/usr \
-			--root=${D} --version=${PV}
+		"${PYTHON}" "${S}"/python-tools-setup.py install --prefix=/usr \
+			--root="${D}" --version="${PV}"
 	}
 
 	python_foreach_impl install_python


             reply	other threads:[~2013-06-04 13:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-04 13:45 Michael Palimaka [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-08-08 13:47 [gentoo-commits] proj/hardened-dev:master commit in: sys-apps/apparmor-utils/ Michael Palimaka
2013-06-04 14:51 Michael Palimaka
2013-06-04 14:21 Michael Palimaka
2013-04-17 16:05 Michael Palimaka
2012-06-12 15:16 Michael Palimaka

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=1370353359.b7850286e6a7c3f261c1c4e6bf0c5fe7b2e6224e.kensington@gentoo \
    --to=kensington@gentoo.org \
    --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