diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-03-20 20:33:28 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-03-20 20:33:28 +0000 |
commit | 6827dd1a21d471bd4368ca15e5cac9c5565c9409 (patch) | |
tree | c9f164dab764603b3cb9a4a3156432685c4df88b /dev-lang | |
parent | Version bump, bug 304025. Updated usage of python eclass and also dep on >=py... (diff) | |
download | gentoo-2-6827dd1a21d471bd4368ca15e5cac9c5565c9409.tar.gz gentoo-2-6827dd1a21d471bd4368ca15e5cac9c5565c9409.tar.bz2 gentoo-2-6827dd1a21d471bd4368ca15e5cac9c5565c9409.zip |
Use -fwrapv (bug #297276). Install email module with USE="build".
(Portage version: 15835-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/python/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lang/python/python-2.4.6.ebuild | 8 | ||||
-rw-r--r-- | dev-lang/python/python-2.5.4-r4.ebuild | 8 | ||||
-rw-r--r-- | dev-lang/python/python-2.6.4-r1.ebuild | 8 | ||||
-rw-r--r-- | dev-lang/python/python-3.1.1-r1.ebuild | 8 |
5 files changed, 30 insertions, 9 deletions
diff --git a/dev-lang/python/ChangeLog b/dev-lang/python/ChangeLog index 9bbd4dda46ef..bd48de9bcb3a 100644 --- a/dev-lang/python/ChangeLog +++ b/dev-lang/python/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-lang/python # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.459 2010/03/10 10:09:02 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.460 2010/03/20 20:33:28 arfrever Exp $ + + 20 Mar 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-2.4.6.ebuild, python-2.5.4-r4.ebuild, python-2.6.4-r1.ebuild, + python-3.1.1-r1.ebuild: + Use -fwrapv (bug #297276). Install email module with USE="build". 10 Mar 2010; Joseph Jezak <josejx@gentoo.org> python-2.6.4-r1.ebuild: Marked ppc/ppc64 stable for bug #306793. diff --git a/dev-lang/python/python-2.4.6.ebuild b/dev-lang/python/python-2.4.6.ebuild index d1d39d224737..ca96aa1fddc4 100644 --- a/dev-lang/python/python-2.4.6.ebuild +++ b/dev-lang/python/python-2.4.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.4.6.ebuild,v 1.31 2010/03/07 11:31:55 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.4.6.ebuild,v 1.32 2010/03/20 20:33:28 arfrever Exp $ EAPI="1" @@ -118,6 +118,10 @@ src_configure() { einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}" fi + if [[ "$(gcc-major-version)" -ge 4 ]]; then + append-flags -fwrapv + fi + export OPT="${CFLAGS}" local myconf @@ -230,7 +234,7 @@ src_install() { # Python 2.4 partially doesn't respect $(get_libdir). if use build; then - rm -fr "${D}usr/bin/idle${SLOT}" "${D}"usr/lib*/python${SLOT}/{bsddb,email,idlelib,lib-tk,test} + rm -fr "${D}usr/bin/idle${SLOT}" "${D}"usr/lib*/python${SLOT}/{bsddb,idlelib,lib-tk,test} else use elibc_uclibc && rm -fr "${D}"usr/lib*/python${SLOT}/{bsddb/test,test} use berkdb || rm -fr "${D}"usr/lib*/python${SLOT}/{bsddb,test/test_bsddb*} diff --git a/dev-lang/python/python-2.5.4-r4.ebuild b/dev-lang/python/python-2.5.4-r4.ebuild index b5db8a64f622..d3990f123b18 100644 --- a/dev-lang/python/python-2.5.4-r4.ebuild +++ b/dev-lang/python/python-2.5.4-r4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.5.4-r4.ebuild,v 1.14 2010/03/07 11:31:55 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.5.4-r4.ebuild,v 1.15 2010/03/20 20:33:28 arfrever Exp $ EAPI="1" @@ -134,6 +134,10 @@ src_configure() { einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}" fi + if [[ "$(gcc-major-version)" -ge 4 ]]; then + append-flags -fwrapv + fi + export OPT="${CFLAGS}" filter-flags -malign-double @@ -242,7 +246,7 @@ src_install() { sed -e "s:^OPT=.*:OPT=\t\t-DNDEBUG:" -i "${D}$(python_get_libdir)/config/Makefile" if use build; then - rm -fr "${D}usr/bin/idle${SLOT}" "${D}$(python_get_libdir)/"{bsddb,email,idlelib,lib-tk,sqlite3,test} + rm -fr "${D}usr/bin/idle${SLOT}" "${D}$(python_get_libdir)/"{bsddb,idlelib,lib-tk,sqlite3,test} else use elibc_uclibc && rm -fr "${D}$(python_get_libdir)/"{bsddb/test,test} use berkdb || rm -fr "${D}$(python_get_libdir)/"{bsddb,test/test_bsddb*} diff --git a/dev-lang/python/python-2.6.4-r1.ebuild b/dev-lang/python/python-2.6.4-r1.ebuild index a9ec0c6f6efa..d35cabea53b1 100644 --- a/dev-lang/python/python-2.6.4-r1.ebuild +++ b/dev-lang/python/python-2.6.4-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.6.4-r1.ebuild,v 1.8 2010/03/10 10:09:02 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.6.4-r1.ebuild,v 1.9 2010/03/20 20:33:28 arfrever Exp $ EAPI="2" @@ -136,6 +136,10 @@ src_configure() { einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}" fi + if [[ "$(gcc-major-version)" -ge 4 ]]; then + append-flags -fwrapv + fi + export OPT="${CFLAGS}" filter-flags -malign-double @@ -239,7 +243,7 @@ src_install() { sed -e "s:^OPT=.*:OPT=\t\t-DNDEBUG:" -i "${D}$(python_get_libdir)/config/Makefile" if use build; then - rm -fr "${D}usr/bin/idle${SLOT}" "${D}$(python_get_libdir)/"{bsddb,email,idlelib,lib-tk,sqlite3,test} + rm -fr "${D}usr/bin/idle${SLOT}" "${D}$(python_get_libdir)/"{bsddb,idlelib,lib-tk,sqlite3,test} else use elibc_uclibc && rm -fr "${D}$(python_get_libdir)/"{bsddb/test,test} use berkdb || rm -fr "${D}$(python_get_libdir)/"{bsddb,test/test_bsddb*} diff --git a/dev-lang/python/python-3.1.1-r1.ebuild b/dev-lang/python/python-3.1.1-r1.ebuild index 04c376c2d00e..cf175d5df5bb 100644 --- a/dev-lang/python/python-3.1.1-r1.ebuild +++ b/dev-lang/python/python-3.1.1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.1.1-r1.ebuild,v 1.29 2010/03/04 17:55:42 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.1.1-r1.ebuild,v 1.30 2010/03/20 20:33:28 arfrever Exp $ EAPI="2" @@ -110,6 +110,10 @@ src_configure() { einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}" fi + if [[ "$(gcc-major-version)" -ge 4 ]]; then + append-flags -fwrapv + fi + export OPT="${CFLAGS}" filter-flags -malign-double @@ -224,7 +228,7 @@ src_install() { sed -e "s:^OPT=.*:OPT=\t\t-DNDEBUG:" -i "${D}$(python_get_libdir)/config/Makefile" if use build; then - rm -fr "${D}usr/bin/idle${SLOT}" "${D}$(python_get_libdir)/"{email,idlelib,sqlite3,test,tkinter} + rm -fr "${D}usr/bin/idle${SLOT}" "${D}$(python_get_libdir)/"{idlelib,sqlite3,test,tkinter} else use elibc_uclibc && rm -fr "${D}$(python_get_libdir)/test" use sqlite || rm -fr "${D}$(python_get_libdir)/"{sqlite3,test/test_sqlite*} |