diff options
author | Mike Frysinger <vapier@gentoo.org> | 2013-12-07 10:48:58 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2013-12-07 10:48:58 +0000 |
commit | ad9584110c8a66da2fa932be830bc084e8b10164 (patch) | |
tree | 72f20f6c2db24d791f7a6f77ce4bd2c336c759b4 /dev-lang/python | |
parent | keyword ~ia64 wrt bug #463344 (diff) | |
download | gentoo-2-ad9584110c8a66da2fa932be830bc084e8b10164.tar.gz gentoo-2-ad9584110c8a66da2fa932be830bc084e8b10164.tar.bz2 gentoo-2-ad9584110c8a66da2fa932be830bc084e8b10164.zip |
Drop redundant die statements with EAPI=4.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Diffstat (limited to 'dev-lang/python')
-rw-r--r-- | dev-lang/python/ChangeLog | 6 | ||||
-rw-r--r-- | dev-lang/python/python-2.7.6.ebuild | 4 | ||||
-rw-r--r-- | dev-lang/python/python-3.3.3.ebuild | 16 |
3 files changed, 15 insertions, 11 deletions
diff --git a/dev-lang/python/ChangeLog b/dev-lang/python/ChangeLog index 68252ae9a9e7..2298270529b1 100644 --- a/dev-lang/python/ChangeLog +++ b/dev-lang/python/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-lang/python # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.717 2013/12/01 17:33:19 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.718 2013/12/07 10:48:58 vapier Exp $ + + 07 Dec 2013; Mike Frysinger <vapier@gentoo.org> python-2.7.6.ebuild, + python-3.3.3.ebuild: + Drop redundant die statements with EAPI=4. *python-2.7.6 (01 Dec 2013) diff --git a/dev-lang/python/python-2.7.6.ebuild b/dev-lang/python/python-2.7.6.ebuild index 8fe07742bce1..82ebac998169 100644 --- a/dev-lang/python/python-2.7.6.ebuild +++ b/dev-lang/python/python-2.7.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.7.6.ebuild,v 1.1 2013/12/01 17:33:19 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.7.6.ebuild,v 1.2 2013/12/07 10:48:58 vapier Exp $ EAPI="4" WANT_AUTOMAKE="none" @@ -283,7 +283,7 @@ src_install() { use threads || rm -r "${libdir}/multiprocessing" || die use wininst || rm -r "${libdir}/distutils/command/"wininst-*.exe || die - dodoc "${S}"/Misc/{ACKS,HISTORY,NEWS} || die "dodoc failed" + dodoc "${S}"/Misc/{ACKS,HISTORY,NEWS} if use examples; then insinto /usr/share/doc/${PF}/examples diff --git a/dev-lang/python/python-3.3.3.ebuild b/dev-lang/python/python-3.3.3.ebuild index 1f8bdaa97832..b84e2f72f8b6 100644 --- a/dev-lang/python/python-3.3.3.ebuild +++ b/dev-lang/python/python-3.3.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.3.3.ebuild,v 1.3 2013/11/23 17:47:09 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.3.3.ebuild,v 1.4 2013/12/07 10:48:58 vapier Exp $ EAPI="4" WANT_AUTOMAKE="none" @@ -173,7 +173,7 @@ src_compile() { touch Include/graminit.h Python/graminit.c || die cd "${BUILD_DIR}" || die - emake CPPFLAGS="" CFLAGS="" LDFLAGS="" || die "emake failed" + emake CPPFLAGS="" CFLAGS="" LDFLAGS="" # Work around bug 329499. See also bug 413751 and 457194. if has_version dev-libs/libffi[pax_kernel]; then @@ -225,7 +225,7 @@ src_install() { cd "${BUILD_DIR}" || die - emake DESTDIR="${D}" altinstall || die "emake altinstall failed" + emake DESTDIR="${D}" altinstall sed \ -e "s/\(CONFIGURE_LDFLAGS=\).*/\1/" \ @@ -233,7 +233,7 @@ src_install() { -i "${libdir}/config-${SLOT}/Makefile" || die "sed failed" # Backwards compat with Gentoo divergence. - dosym python${SLOT}-config /usr/bin/python-config-${SLOT} || die + dosym python${SLOT}-config /usr/bin/python-config-${SLOT} # Fix collisions between different slots of Python. rm -f "${ED}usr/$(get_libdir)/libpython3.so" @@ -249,20 +249,20 @@ src_install() { use threads || rm -fr "${libdir}/multiprocessing" use wininst || rm -f "${libdir}/distutils/command/"wininst-*.exe - dodoc "${S}"/Misc/{ACKS,HISTORY,NEWS} || die "dodoc failed" + dodoc "${S}"/Misc/{ACKS,HISTORY,NEWS} if use examples; then insinto /usr/share/doc/${PF}/examples find "${S}"/Tools -name __pycache__ -print0 | xargs -0 rm -fr - doins -r "${S}"/Tools || die "doins failed" + doins -r "${S}"/Tools fi insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510 local libname=$(printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' | \ emake --no-print-directory -s -f - 2>/dev/null) newins "${S}"/Tools/gdb/libpython.py "${libname}"-gdb.py - newconfd "${FILESDIR}/pydoc.conf" pydoc-${SLOT} || die "newconfd failed" - newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT} || die "newinitd failed" + newconfd "${FILESDIR}/pydoc.conf" pydoc-${SLOT} + newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT} sed \ -e "s:@PYDOC_PORT_VARIABLE@:PYDOC${SLOT/./_}_PORT:" \ -e "s:@PYDOC@:pydoc${SLOT}:" \ |