diff options
author | 2014-01-19 01:59:20 +0000 | |
---|---|---|
committer | 2014-01-19 01:59:20 +0000 | |
commit | ba3ea60565b28774e35775f8374046a334d669ed (patch) | |
tree | a431b6b198529e99b00a64f469c50b1e4a360d10 /app-admin | |
parent | Add arm64 love. (diff) | |
download | gentoo-2-ba3ea60565b28774e35775f8374046a334d669ed.tar.gz gentoo-2-ba3ea60565b28774e35775f8374046a334d669ed.tar.bz2 gentoo-2-ba3ea60565b28774e35775f8374046a334d669ed.zip |
Version bump, fixes bug 337601.
(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/eselect-python/ChangeLog | 8 | ||||
-rw-r--r-- | app-admin/eselect-python/eselect-python-20140115.ebuild | 53 |
2 files changed, 60 insertions, 1 deletions
diff --git a/app-admin/eselect-python/ChangeLog b/app-admin/eselect-python/ChangeLog index 53a3b506cc96..497f14c5c81c 100644 --- a/app-admin/eselect-python/ChangeLog +++ b/app-admin/eselect-python/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-admin/eselect-python # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-python/ChangeLog,v 1.80 2014/01/18 05:30:07 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-python/ChangeLog,v 1.81 2014/01/19 01:59:20 floppym Exp $ + +*eselect-python-20140115 (19 Jan 2014) + + 19 Jan 2014; Mike Gilbert <floppym@gentoo.org> + +eselect-python-20140115.ebuild: + Version bump, fixes bug 337601. 18 Jan 2014; Mike Frysinger <vapier@gentoo.org> eselect-python-20111108.ebuild, eselect-python-20131210.ebuild, diff --git a/app-admin/eselect-python/eselect-python-20140115.ebuild b/app-admin/eselect-python/eselect-python-20140115.ebuild new file mode 100644 index 000000000000..786d7c38a1e8 --- /dev/null +++ b/app-admin/eselect-python/eselect-python-20140115.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-python/eselect-python-20140115.ebuild,v 1.1 2014/01/19 01:59:20 floppym Exp $ + +# Keep the EAPI low here because everything else depends on it. +# We want to make upgrading simpler. + +if [[ ${PV} == "99999999" ]] ; then + inherit autotools git-r3 + EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/${PN}.git" +else + SRC_URI="mirror://gentoo/${P}.tar.bz2 + http://dev.gentoo.org/~floppym/dist/${P}.tar.bz2" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" +fi + +DESCRIPTION="Eselect module for management of multiple Python versions" +HOMEPAGE="http://www.gentoo.org/proj/en/Python/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +RDEPEND=">=app-admin/eselect-1.2.3" +# Avoid autotool deps for released versions for circ dep issues. +if [[ ${PV} == "99999999" ]] ; then + DEPEND="sys-devel/autoconf" +else + DEPEND="" +fi + +src_unpack() { + if [[ ${PV} == "99999999" ]] ; then + git-r3_src_unpack + cd "${S}" + eautoreconf + else + unpack ${A} + fi +} + +src_install() { + keepdir /etc/env.d/python + emake DESTDIR="${D}" install || die +} + +pkg_postinst() { + local ret=0 + ebegin "Running 'eselect python update'" + eselect python update --python2 --if-unset || ret=1 + eselect python update --python3 --if-unset || ret=1 + eend ${ret} +} |