diff options
author | Ulrich Müller <ulm@gentoo.org> | 2015-03-31 16:54:42 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2015-03-31 16:54:42 +0000 |
commit | 5d8ea63ec450fbbf6c1095c3a050617bfc64855d (patch) | |
tree | b3c27a963a8f286f8de8320ca2a039eaf2cac3d3 /app-eselect | |
parent | Move package from app-admin to app-eselect category. (diff) | |
download | gentoo-2-5d8ea63ec450fbbf6c1095c3a050617bfc64855d.tar.gz gentoo-2-5d8ea63ec450fbbf6c1095c3a050617bfc64855d.tar.bz2 gentoo-2-5d8ea63ec450fbbf6c1095c3a050617bfc64855d.zip |
Move package from app-admin to app-eselect category.
(Portage version: 2.2.18/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 9433907D693FB5B8!)
Diffstat (limited to 'app-eselect')
-rw-r--r-- | app-eselect/eselect-python/ChangeLog | 393 | ||||
-rw-r--r-- | app-eselect/eselect-python/eselect-python-20111108.ebuild | 56 | ||||
-rw-r--r-- | app-eselect/eselect-python/eselect-python-20131210.ebuild | 53 | ||||
-rw-r--r-- | app-eselect/eselect-python/eselect-python-20140115.ebuild | 51 | ||||
-rw-r--r-- | app-eselect/eselect-python/eselect-python-20140125.ebuild | 51 | ||||
-rw-r--r-- | app-eselect/eselect-python/eselect-python-99999999.ebuild | 51 | ||||
-rw-r--r-- | app-eselect/eselect-python/metadata.xml | 5 |
7 files changed, 660 insertions, 0 deletions
diff --git a/app-eselect/eselect-python/ChangeLog b/app-eselect/eselect-python/ChangeLog new file mode 100644 index 000000000000..96dd469fbe57 --- /dev/null +++ b/app-eselect/eselect-python/ChangeLog @@ -0,0 +1,393 @@ +# ChangeLog for app-eselect/eselect-python +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-eselect/eselect-python/ChangeLog,v 1.1 2015/03/31 16:54:42 ulm Exp $ + + 31 Mar 2015; Ulrich Müller <ulm@gentoo.org> +eselect-python-20111108.ebuild, + +eselect-python-20131210.ebuild, +eselect-python-20140115.ebuild, + +eselect-python-20140125.ebuild, +eselect-python-99999999.ebuild, + +metadata.xml: + Move package from app-admin to app-eselect category. + + 05 Jun 2014; Mike Gilbert <floppym@gentoo.org> + -eselect-python-20091230.ebuild, -eselect-python-20100321.ebuild: + Remove EAPI 1 ebuilds per QA request, bug 512124. + + 02 Feb 2014; Fabian Groffen <grobian@gentoo.org> + eselect-python-20140125.ebuild, eselect-python-99999999.ebuild: + Add Prefix keywords (forgotten after migration from prefix-tree) + +*eselect-python-20140125 (25 Jan 2014) + + 25 Jan 2014; Mike Gilbert <floppym@gentoo.org> + +eselect-python-20140125.ebuild: + Version bump. Includes fix for gentoo-prefix. + + 19 Jan 2014; Mike Gilbert <floppym@gentoo.org> eselect-python-20140115.ebuild, + eselect-python-99999999.ebuild: + Fix python atoms in pkg_postinst, bug 498530. + + 19 Jan 2014; Mike Gilbert <floppym@gentoo.org> eselect-python-20140115.ebuild, + eselect-python-99999999.ebuild: + Tidy up RDEPEND. Don't call eselect python update when python is not + installed, bug 380567. + +*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, + eselect-python-99999999.ebuild: + Add arm64 love. + +*eselect-python-20131210 (10 Dec 2013) + + 10 Dec 2013; Mike Gilbert <floppym@gentoo.org> + +eselect-python-20131210.ebuild, eselect-python-99999999.ebuild: + Version bump. + + 13 Apr 2013; Agostino Sarubbo <ago@gentoo.org> eselect-python-20111108.ebuild: + Stable for s390, wrt bug #462644 + + 02 Apr 2013; Agostino Sarubbo <ago@gentoo.org> eselect-python-20111108.ebuild: + Stable for hppa, wrt bug #462644 + + 02 Apr 2013; Agostino Sarubbo <ago@gentoo.org> eselect-python-20111108.ebuild: + Stable for sh, wrt bug #462644 + + 31 Mar 2013; Agostino Sarubbo <ago@gentoo.org> eselect-python-20111108.ebuild: + Stable for sparc, wrt bug #462644 + + 28 Mar 2013; Agostino Sarubbo <ago@gentoo.org> eselect-python-20111108.ebuild: + Stable for ia64, wrt bug #462644 + + 23 Mar 2013; Agostino Sarubbo <ago@gentoo.org> eselect-python-20111108.ebuild: + Stable for alpha, wrt bug #462644 + + 23 Mar 2013; Agostino Sarubbo <ago@gentoo.org> eselect-python-20111108.ebuild: + Stable for arm, wrt bug #462644 + + 23 Mar 2013; Agostino Sarubbo <ago@gentoo.org> eselect-python-20111108.ebuild: + Stable for ppc64, wrt bug #462644 + + 22 Mar 2013; Agostino Sarubbo <ago@gentoo.org> eselect-python-20111108.ebuild: + Stable for ppc, wrt bug #462644 + + 22 Mar 2013; Agostino Sarubbo <ago@gentoo.org> eselect-python-20111108.ebuild: + Stable for x86, wrt bug #462644 + + 22 Mar 2013; Agostino Sarubbo <ago@gentoo.org> eselect-python-20111108.ebuild: + Stable for amd64, wrt bug #462644 + + 22 Mar 2013; Mike Frysinger <vapier@gentoo.org> + eselect-python-99999999.ebuild: + Update to git and simplify wrapper selection #441008 by Michał Górny. + + 22 Mar 2013; Mike Frysinger <vapier@gentoo.org> + eselect-python-20091230.ebuild, eselect-python-20100321.ebuild, + eselect-python-20111108.ebuild, eselect-python-99999999.ebuild: + Set HOMEPAGE to the Gentoo Python project. + + 26 Apr 2012; Alexis Ballier <aballier@gentoo.org> + eselect-python-20111108.ebuild, eselect-python-99999999.ebuild: + keyword ~amd64-fbsd + +*eselect-python-20111108 (09 Nov 2011) + + 09 Nov 2011; Mike Frysinger <vapier@gentoo.org> + +eselect-python-20111108.ebuild, eselect-python-99999999.ebuild: + Rewrite the ebuilds to not require autotools/newer EAPI to make upgrading + simple. + + 19 Jun 2010; Raúl Porcel <armin76@gentoo.org> + eselect-python-20100321.ebuild: + alpha/ia64/m68k/s390/sh/sparc stable wrt #316367 + + 28 May 2010; Markus Meier <maekke@gentoo.org> + eselect-python-20100321.ebuild: + arm/x86 stable, bug #316367 + + 26 May 2010; Pacho Ramos <pacho@gentoo.org> + eselect-python-20100321.ebuild: + stable amd64, bug 316367 + + 13 May 2010; Joseph Jezak <josejx@gentoo.org> + eselect-python-20100321.ebuild: + Marked ppc/ppc64 stable for bug #316637. + + 04 May 2010; Jeroen Roovers <jer@gentoo.org> + eselect-python-20100321.ebuild: + Stable for HPPA (bug #316367). + +*eselect-python-20100321 (21 Mar 2010) + + 21 Mar 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + -eselect-python-20090824.ebuild, + -files/eselect-python-20090824-old-glibc.patch, + +eselect-python-20100321.ebuild: + Version bump. Fix process names of directly executed Python scripts (bug + #286424). Fix building on systems without strtok_r() (bug #299152). Set + a+rx permissions on /usr/bin/python-config (bug #299688). Handle files + specific to Mac OS X (bug #310551). + + 13 Feb 2010; Raúl Porcel <armin76@gentoo.org> + eselect-python-20091230.ebuild: + alpha/ia64/m68k/s390/sh/sparc stable wrt #302775 + + 10 Feb 2010; Jeroen Roovers <jer@gentoo.org> + eselect-python-20091230.ebuild: + Stable for HPPA (bug #302775). + + 10 Feb 2010; Joseph Jezak <josejx@gentoo.org> + eselect-python-20091230.ebuild: + Marked ppc stable for bug #302775. + + 04 Feb 2010; Markus Meier <maekke@gentoo.org> + eselect-python-20091230.ebuild: + amd64/arm stable, bug #302775 + + 04 Feb 2010; Brent Baude <ranger@gentoo.org> + eselect-python-20091230.ebuild: + Marking eselect-python-20091230 ppc64 for bug 302775 + + 01 Feb 2010; Christian Faulhammer <fauli@gentoo.org> + eselect-python-20091230.ebuild: + stable x86, bug 302775 + +*eselect-python-20091230 (30 Dec 2009) + + 30 Dec 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +eselect-python-20091230.ebuild: + Version bump. Add support for --python2 / --python3 options (bug #296220). + Support `eselect --brief python list` (bug #292112). Fix some minor bugs. + Require GCC >=3.4 (bug #291980). + + 30 Dec 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + eselect-python-99999999.ebuild: + Require GCC >=3.4 (bug #291980). Update dependencies. + + 04 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + eselect-python-20090824.ebuild: + Use EAPI="1" to allow upgrades using older versions of Portage not + supporting EAPI="2". + + 20 Sep 2009; Mounir Lamouri <volkmar@gentoo.org> + eselect-python-20090824.ebuild: + Stabilizing for ppc. Fix bug 284971 + + 19 Sep 2009; Raúl Porcel <armin76@gentoo.org> + eselect-python-20090824.ebuild: + alpha/ia64/m68k/s390/sh/sparc stable wrt #284971 + + 18 Sep 2009; Markus Meier <maekke@gentoo.org> + eselect-python-20090824.ebuild: + amd64/arm stable, bug #284971 + + 18 Sep 2009; Jeroen Roovers <jer@gentoo.org> + eselect-python-20090824.ebuild: + Stable for HPPA (bug #284971). + + 16 Sep 2009; Christian Faulhammer <fauli@gentoo.org> + eselect-python-20090824.ebuild: + stable x86, bug 284971 + + 15 Sep 2009; Tom Gall <tgall@gentoo.org> eselect-python-20090824.ebuild: + stable on ppc64, bug#284971 + + 14 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + eselect-python-20090824.ebuild, eselect-python-99999999.ebuild: + Fix dependencies (bug #284670). + + 02 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + eselect-python-20090824.ebuild, + +files/eselect-python-20090824-old-glibc.patch: + Fix building with old versions of sys-libs/glibc. + +*eselect-python-20090824 (24 Aug 2009) + + 24 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +eselect-python-20090824.ebuild: + Version bump. + +*eselect-python-99999999 (24 Aug 2009) + + 24 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +eselect-python-99999999.ebuild: + Add live ebuild. + + 17 Aug 2009; Alexis Ballier <aballier@gentoo.org> + eselect-python-20090814.ebuild: + restore fbsd keywords now that its fine + +*eselect-python-20090814 (14 Aug 2009) + + 14 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + -eselect-python-20080521.ebuild, -eselect-python-20080925.ebuild, + -eselect-python-20090801.ebuild, -eselect-python-20090804.ebuild, + +eselect-python-20090814.ebuild: + Version bump. + + 13 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + eselect-python-20090804.ebuild: + Run `eselect python update` when no version of app-admin/eselect-python + was earlier installed (bug #281247). + + 05 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + eselect-python-20090804.ebuild: + Append -fno-PIC -fno-PIE to avoid problems with hardened compiler. + +*eselect-python-20090804 (04 Aug 2009) + + 04 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +eselect-python-20090804.ebuild: + Version bump (bug #279915). + + 03 Aug 2009; Diego E. Pettenò <flameeyes@gentoo.org> + eselect-python-20090801.ebuild: + FreeBSD doesn't like having as interpreter of a script another script, + unkeywording until fixed. + + 01 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + eselect-python-20090801.ebuild: + Use '/bin/bash' for wrapper scripts (bug #279875). + +*eselect-python-20090801 (01 Aug 2009) + + 01 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +eselect-python-20090801.ebuild: + Version bump. Make 'python' and 'python-config' scripts instead of + symlinks. Support .xz-compressed man pages (bug #276106). + + 11 Jul 2009; Joseph Jezak <josejx@gentoo.org> + eselect-python-20090606.ebuild: + Marked ppc/ppc64 stable for bug #276590. + + 10 Jul 2009; Jeremy Olexa <darkside@gentoo.org> + eselect-python-20090606.ebuild: + amd64 stable, bug 276590 + + 08 Jul 2009; Raúl Porcel <armin76@gentoo.org> + eselect-python-20090606.ebuild: + alpha/arm/ia64/m68k/s390/sh stable wrt #276590 + + 08 Jul 2009; Ferris McCormick <fmccor@gentoo.org> + eselect-python-20090606.ebuild: + Sparc stable, bug #276590. + + 08 Jul 2009; Christian Faulhammer <fauli@gentoo.org> + eselect-python-20090606.ebuild: + stable x86, bug 276590 + + 08 Jul 2009; Jeroen Roovers <jer@gentoo.org> + eselect-python-20090606.ebuild: + Stable for HPPA (bug #276590). + +*eselect-python-20090606 (06 Jun 2009) + + 06 Jun 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +eselect-python-20090606.ebuild: + Version bump. + + 30 May 2009; nixnut <nixnut@gentoo.org> ChangeLog: + ppc stable #271010 + + 25 May 2009; Brent Baude <ranger@gentoo.org> + eselect-python-20080925.ebuild: + Marking eselect-python-20080925 ppc64 and ppc for bug 252317 + + 24 May 2009; Jeroen Roovers <jer@gentoo.org> + eselect-python-20080925.ebuild: + Stable for HPPA (bug #271010). + + 24 May 2009; Markus Meier <maekke@gentoo.org> + eselect-python-20080925.ebuild: + amd64 stable, bug #271010 + + 24 May 2009; Raúl Porcel <armin76@gentoo.org> + eselect-python-20080925.ebuild: + alpha/arm/ia64/m68k/s390/sh/sparc/x86 stable wrt #271010 + + 15 May 2009; Alexis Ballier <aballier@gentoo.org> + eselect-python-20080925.ebuild: + keyword ~sparc-fbsd + + 03 May 2009; Alexis Ballier <aballier@gentoo.org> + eselect-python-20080925.ebuild: + keyword ~x86-fbsd + + 29 Apr 2009; Raúl Porcel <armin76@gentoo.org> + eselect-python-20080925.ebuild: + Add ~m68k + + 22 Mar 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> + metadata.xml: + Removing hawking as a maintainer since he was retired. + + 24 Dec 2008; Raúl Porcel <armin76@gentoo.org> + eselect-python-20080925.ebuild: + Add ~arm/~s390/~sh wrt #228611 + +*eselect-python-20080925 (25 Oct 2008) + + 25 Oct 2008; Ali Polatel <hawking@gentoo.org> + -eselect-python-20080124.ebuild, -eselect-python-20080620.ebuild, + -eselect-python-20080630.ebuild, +eselect-python-20080925.ebuild: + Version bump. Fixes bug 240149. Drop old. + +*eselect-python-20080630 (18 Sep 2008) + + 18 Sep 2008; Ali Polatel <hawking@gentoo.org> + +eselect-python-20080630.ebuild: + Version bump. + + 13 Jul 2008; Joseph Jezak <josejx@gentoo.org> + eselect-python-20080620.ebuild: + Marked ~ppc for bug #228611. + + 04 Jul 2008; <ricmm@gentoo.org> eselect-python-20080620.ebuild: + Add ~mips, bug #228611 + + 01 Jul 2008; Jeroen Roovers <jer@gentoo.org> + eselect-python-20080620.ebuild: + Marked ~hppa (bug #228611). + +*eselect-python-20080620 (29 Jun 2008) + + 29 Jun 2008; Ali Polatel <hawking@gentoo.org> + +eselect-python-20080620.ebuild: + Version bump. + + 22 Jun 2008; Christian Faulhammer <opfer@gentoo.org> + eselect-python-20080521.ebuild: + stable x86, bug 228613 + + 21 Jun 2008; Markus Rothe <corsair@gentoo.org> + eselect-python-20080521.ebuild: + Added ~ppc64; bug #228611 + + 21 Jun 2008; Olivier Crête <tester@gentoo.org> + eselect-python-20080521.ebuild: + amd64 stable, bug #228613 + + 21 Jun 2008; Raúl Porcel <armin76@gentoo.org> + eselect-python-20080521.ebuild: + Add ~alpha/~ia64/~sparc wrt #228611 + +*eselect-python-20080521 (21 May 2008) + + 21 May 2008; Ali Polatel <hawking@gentoo.org> + +eselect-python-20080521.ebuild: + Version bump. Implemented update --if-unset so it can be used from ebuilds + easily. + + 21 May 2008; Ali Polatel <hawking@gentoo.org> + eselect-python-20080124.ebuild: + Keyworded ~amd64 + +*eselect-python-20080124 (24 Jan 2008) + + 24 Jan 2008; Ali Polatel <hawking@gentoo.org> +metadata.xml, + +eselect-python-20080124.ebuild: + eselect-python, initial version diff --git a/app-eselect/eselect-python/eselect-python-20111108.ebuild b/app-eselect/eselect-python/eselect-python-20111108.ebuild new file mode 100644 index 000000000000..764ff3f2d599 --- /dev/null +++ b/app-eselect/eselect-python/eselect-python-20111108.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-eselect/eselect-python/eselect-python-20111108.ebuild,v 1.1 2015/03/31 16:54:42 ulm Exp $ + +# Keep the EAPI low here because everything else depends on it. +# We want to make upgrading simpler. + +ESVN_PROJECT="eselect-python" +ESVN_REPO_URI="https://overlays.gentoo.org/svn/proj/python/projects/eselect-python/trunk" + +if [[ ${PV} == "99999999" ]] ; then + inherit autotools subversion +else + SRC_URI="mirror://gentoo/${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() { + unpack ${A} + cd "${S}" + [[ -x configure ]] || eautoreconf +} + +src_install() { + keepdir /etc/env.d/python + emake DESTDIR="${D}" install || die +} + +pkg_preinst() { + if has_version "<${CATEGORY}/${PN}-20090804" || ! has_version "${CATEGORY}/${PN}"; then + run_eselect_python_update="1" + fi +} + +pkg_postinst() { + if [[ "${run_eselect_python_update}" == "1" ]]; then + ebegin "Running \`eselect python update\`" + eselect python update --ignore 3.0 --ignore 3.1 --ignore 3.2 > /dev/null + eend "$?" + fi +} diff --git a/app-eselect/eselect-python/eselect-python-20131210.ebuild b/app-eselect/eselect-python/eselect-python-20131210.ebuild new file mode 100644 index 000000000000..8b2bd1dc07b6 --- /dev/null +++ b/app-eselect/eselect-python/eselect-python-20131210.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-eselect/eselect-python/eselect-python-20131210.ebuild,v 1.1 2015/03/31 16:54:42 ulm 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} +} diff --git a/app-eselect/eselect-python/eselect-python-20140115.ebuild b/app-eselect/eselect-python/eselect-python-20140115.ebuild new file mode 100644 index 000000000000..00b3120f6b5e --- /dev/null +++ b/app-eselect/eselect-python/eselect-python-20140115.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-eselect/eselect-python/eselect-python-20140115.ebuild,v 1.1 2015/03/31 16:54:42 ulm 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" + +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() { + if has_version 'dev-lang/python'; then + eselect python update --if-unset + fi + if has_version '=dev-lang/python-2*'; then + eselect python update --python2 --if-unset + fi + if has_version '=dev-lang/python-3*'; then + eselect python update --python3 --if-unset + fi +} diff --git a/app-eselect/eselect-python/eselect-python-20140125.ebuild b/app-eselect/eselect-python/eselect-python-20140125.ebuild new file mode 100644 index 000000000000..885ae0704b4c --- /dev/null +++ b/app-eselect/eselect-python/eselect-python-20140125.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-eselect/eselect-python/eselect-python-20140125.ebuild,v 1.1 2015/03/31 16:54:42 ulm 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 ~ppc-aix ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +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" + +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() { + if has_version 'dev-lang/python'; then + eselect python update --if-unset + fi + if has_version '=dev-lang/python-2*'; then + eselect python update --python2 --if-unset + fi + if has_version '=dev-lang/python-3*'; then + eselect python update --python3 --if-unset + fi +} diff --git a/app-eselect/eselect-python/eselect-python-99999999.ebuild b/app-eselect/eselect-python/eselect-python-99999999.ebuild new file mode 100644 index 000000000000..dbfde11d7cc1 --- /dev/null +++ b/app-eselect/eselect-python/eselect-python-99999999.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-eselect/eselect-python/eselect-python-99999999.ebuild,v 1.1 2015/03/31 16:54:42 ulm 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 ~ppc-aix ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +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" + +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() { + if has_version 'dev-lang/python'; then + eselect python update --if-unset + fi + if has_version '=dev-lang/python-2*'; then + eselect python update --python2 --if-unset + fi + if has_version '=dev-lang/python-3*'; then + eselect python update --python3 --if-unset + fi +} diff --git a/app-eselect/eselect-python/metadata.xml b/app-eselect/eselect-python/metadata.xml new file mode 100644 index 000000000000..301d2207cc29 --- /dev/null +++ b/app-eselect/eselect-python/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> +</pkgmetadata> |