diff options
author | Naohiro Aota <naota@gentoo.org> | 2014-03-04 21:43:48 +0000 |
---|---|---|
committer | Naohiro Aota <naota@gentoo.org> | 2014-03-04 21:43:48 +0000 |
commit | 4a904b1cb2f65c2e22e4c8b850ccb1ae8d8eb0c9 (patch) | |
tree | c391d7023dbd86193d9d227661ca2e03c6c172bd /dev-libs | |
parent | Add subslot dependency on dev-libs/icu (diff) | |
download | gentoo-2-4a904b1cb2f65c2e22e4c8b850ccb1ae8d8eb0c9.tar.gz gentoo-2-4a904b1cb2f65c2e22e4c8b850ccb1ae8d8eb0c9.tar.bz2 gentoo-2-4a904b1cb2f65c2e22e4c8b850ccb1ae8d8eb0c9.zip |
Update to use python-r1 properly #502960
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key F8551514)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/newt/ChangeLog | 5 | ||||
-rw-r--r-- | dev-libs/newt/newt-0.52.15.ebuild | 30 |
2 files changed, 21 insertions, 14 deletions
diff --git a/dev-libs/newt/ChangeLog b/dev-libs/newt/ChangeLog index 132012588d6d..0955aad5bca6 100644 --- a/dev-libs/newt/ChangeLog +++ b/dev-libs/newt/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-libs/newt # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/ChangeLog,v 1.87 2014/03/04 21:02:32 naota Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/ChangeLog,v 1.88 2014/03/04 21:43:48 naota Exp $ + + 04 Mar 2014; Naohiro Aota <naota@gentoo.org> newt-0.52.15.ebuild: + Update to use python-r1 properly #502960 04 Mar 2014; Naohiro Aota <naota@gentoo.org> newt-0.52.15.ebuild: Drop mis-added SHELL setting. diff --git a/dev-libs/newt/newt-0.52.15.ebuild b/dev-libs/newt/newt-0.52.15.ebuild index d662fc9d266c..04376c50fbab 100644 --- a/dev-libs/newt/newt-0.52.15.ebuild +++ b/dev-libs/newt/newt-0.52.15.ebuild @@ -1,12 +1,12 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.52.15.ebuild,v 1.6 2014/03/04 21:02:32 naota Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.52.15.ebuild,v 1.7 2014/03/04 21:43:48 naota Exp $ EAPI="5" PYTHON_COMPAT=( python{2_6,2_7} ) -inherit eutils multilib python-r1 autotools toolchain-funcs +inherit python-r1 eutils multilib autotools toolchain-funcs DESCRIPTION="Redhat's Newt windowing toolkit development files" HOMEPAGE="https://fedorahosted.org/newt/" @@ -62,24 +62,28 @@ src_prepare() { src_configure() { econf \ + PYTHONVERS="${PYTHON}" \ $(use_with gpm gpm-support) \ $(use_with tcl) \ $(use_enable nls) } -python_compile() { - emake PYTHONVERS="${PYTHON}" || die "emake failed" -} - -python_install() { - emake \ - DESTDIR="${D}" \ - PYTHONVERS="${PYTHON}" \ - install || die "make install failed" - python_optimize +src_compile() { + building() { + emake PYTHONVERS="${EPYTHON}" + } + python_foreach_impl building } -python_install_all() { +src_install() { + installit() { + emake \ + DESTDIR="${D}" \ + PYTHONVERS="${EPYTHON}" \ + install + python_optimize + } + python_foreach_impl installit dodoc peanuts.py popcorn.py tutorial.sgml doman whiptail.1 } |