From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id BCCA81384B4 for ; Sat, 7 Nov 2015 20:00:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 744B5E0810; Sat, 7 Nov 2015 20:00:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ED4EEE0810 for ; Sat, 7 Nov 2015 20:00:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8F9EE340562 for ; Sat, 7 Nov 2015 20:00:19 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A232F1B4 for ; Sat, 7 Nov 2015 20:00:16 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1446926409.45f180f61b1191a2de1dae08f18390f284601483.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:python-soabi-cleanup commit in: dev-lang/python/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/python/python-2.7.10-r3.ebuild dev-lang/python/python-3.3.5-r3.ebuild dev-lang/python/python-3.4.3-r3.ebuild dev-lang/python/python-3.5.0-r2.ebuild X-VCS-Directories: dev-lang/python/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 45f180f61b1191a2de1dae08f18390f284601483 X-VCS-Branch: python-soabi-cleanup Date: Sat, 7 Nov 2015 20:00:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 3f1cbc20-00f7-4a21-b73e-c9087b613ee4 X-Archives-Hash: a03ffaf430bddfa0e13c8e564514be56 commit: 45f180f61b1191a2de1dae08f18390f284601483 Author: Michał Górny gentoo org> AuthorDate: Fri Nov 6 22:16:25 2015 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Nov 7 20:00:09 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45f180f6 dev-lang/python: Remove python-config-X.Y compatibility Remove the python-config-X.Y symlinks that were added as the Gentoo divergence compatibility. ...hon-3.4.3-r3.ebuild => python-2.7.10-r3.ebuild} | 125 ++++++++++++++------- dev-lang/python/python-3.3.5-r3.ebuild | 3 - dev-lang/python/python-3.4.3-r3.ebuild | 3 - dev-lang/python/python-3.5.0-r2.ebuild | 3 - 4 files changed, 82 insertions(+), 52 deletions(-) diff --git a/dev-lang/python/python-3.4.3-r3.ebuild b/dev-lang/python/python-2.7.10-r3.ebuild similarity index 67% copy from dev-lang/python/python-3.4.3-r3.ebuild copy to dev-lang/python/python-2.7.10-r3.ebuild index 6d1f40f..1fa586e 100644 --- a/dev-lang/python/python-3.4.3-r3.ebuild +++ b/dev-lang/python/python-2.7.10-r3.ebuild @@ -7,18 +7,18 @@ WANT_LIBTOOL="none" inherit autotools eutils flag-o-matic multilib pax-utils python-utils-r1 toolchain-funcs multiprocessing -MY_P="Python-${PV/_/}" -PATCHSET_VERSION="3.4.3-0" +MY_P="Python-${PV}" +PATCHSET_VERSION="2.7.10-0" DESCRIPTION="An interpreted, interactive, object-oriented programming language" HOMEPAGE="http://www.python.org/" -SRC_URI="http://www.python.org/ftp/python/${PV%_rc*}/${MY_P}.tar.xz +SRC_URI="http://www.python.org/ftp/python/${PV}/${MY_P}.tar.xz https://dev.gentoo.org/~floppym/python/python-gentoo-patches-${PATCHSET_VERSION}.tar.xz" LICENSE="PSF-2" -SLOT="3.4" +SLOT="2.7" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" -IUSE="build elibc_uclibc examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl +threads tk wininst +xml" +IUSE="-berkdb build doc elibc_uclibc examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml" # Do not add a dependency on dev-lang/python to this ebuild. # If you need to apply a patch which requires python for bootstrapping, please @@ -26,11 +26,23 @@ IUSE="build elibc_uclibc examples gdbm hardened ipv6 libressl +ncurses +readline # patchset. See bug 447752. RDEPEND="app-arch/bzip2 - app-arch/xz-utils >=sys-libs/zlib-1.1.3 virtual/libffi virtual/libintl xml? ( >=dev-libs/expat-2.1 ) + berkdb? ( || ( + sys-libs/db:5.3 + sys-libs/db:5.2 + sys-libs/db:5.1 + sys-libs/db:5.0 + sys-libs/db:4.8 + sys-libs/db:4.7 + sys-libs/db:4.6 + sys-libs/db:4.5 + sys-libs/db:4.4 + sys-libs/db:4.3 + sys-libs/db:4.2 + ) ) gdbm? ( sys-libs/gdbm[berkdb] ) ncurses? ( >=sys-libs/ncurses-5.2 @@ -46,31 +58,49 @@ RDEPEND="app-arch/bzip2 dev-tcltk/blt dev-tcltk/tix ) - !!=${CATEGORY}/${PN}-${SLOT}_alpha"; then + if has_version "<${CATEGORY}/${PN}-${SLOT}" && ! has_version "${CATEGORY}/${PN}:2.7"; then python_updater_warning="1" fi } @@ -297,8 +336,8 @@ pkg_postinst() { if [[ "${python_updater_warning}" == "1" ]]; then ewarn "You have just upgraded from an older version of Python." - ewarn - ewarn "Please adjust PYTHON_TARGETS (if so desired), and run emerge with the --newuse or --changed-use option to rebuild packages installing python modules." + ewarn "You should switch active version of Python ${PV%%.*} and run" + ewarn "'python-updater [options]' to rebuild Python modules." fi } diff --git a/dev-lang/python/python-3.3.5-r3.ebuild b/dev-lang/python/python-3.3.5-r3.ebuild index 497a255..f8a120c 100644 --- a/dev-lang/python/python-3.3.5-r3.ebuild +++ b/dev-lang/python/python-3.3.5-r3.ebuild @@ -246,9 +246,6 @@ src_install() { -e "s/\(PY_LDFLAGS=\).*/\1/" \ -i "${libdir}/config-${SLOT}"*/Makefile || die "sed failed" - # Backwards compat with Gentoo divergence. - dosym python${SLOT}-config /usr/bin/python-config-${SLOT} - # Fix collisions between different slots of Python. rm -f "${ED}usr/$(get_libdir)/libpython3.so" diff --git a/dev-lang/python/python-3.4.3-r3.ebuild b/dev-lang/python/python-3.4.3-r3.ebuild index 6d1f40f..3020fc8 100644 --- a/dev-lang/python/python-3.4.3-r3.ebuild +++ b/dev-lang/python/python-3.4.3-r3.ebuild @@ -231,9 +231,6 @@ src_install() { -e "s/\(PY_LDFLAGS=\).*/\1/" \ -i "${libdir}/config-${SLOT}"*/Makefile || die "sed failed" - # Backwards compat with Gentoo divergence. - dosym python${SLOT}-config /usr/bin/python-config-${SLOT} - # Fix collisions between different slots of Python. rm -f "${ED}usr/$(get_libdir)/libpython3.so" diff --git a/dev-lang/python/python-3.5.0-r2.ebuild b/dev-lang/python/python-3.5.0-r2.ebuild index 8ecb63c..5c4addf 100644 --- a/dev-lang/python/python-3.5.0-r2.ebuild +++ b/dev-lang/python/python-3.5.0-r2.ebuild @@ -237,9 +237,6 @@ src_install() { -e "s/\(PY_LDFLAGS=\).*/\1/" \ -i "${libdir}/config-${SLOT}"*/Makefile || die "sed failed" - # Backwards compat with Gentoo divergence. - dosym python${SLOT}-config /usr/bin/python-config-${SLOT} - # Fix collisions between different slots of Python. rm -f "${ED}usr/$(get_libdir)/libpython3.so"