1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 # Keep the EAPI low here because everything else depends on it.
6 # We want to make upgrading simpler.
8 ESVN_PROJECT="eselect-python"
9 ESVN_REPO_URI="https://overlays.gentoo.org/svn/proj/python/projects/eselect-python/trunk"
11 if [[ ${PV} == "99999999" ]] ; then
12 inherit autotools subversion
14 SRC_URI="mirror://gentoo/${P}.tar.bz2"
15 KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
18 DESCRIPTION="Eselect module for management of multiple Python versions"
19 HOMEPAGE="https://www.gentoo.org/proj/en/Python/"
25 RDEPEND=">=app-admin/eselect-1.2.3"
26 # Avoid autotool deps for released versions for circ dep issues.
27 if [[ ${PV} == "99999999" ]] ; then
28 DEPEND="sys-devel/autoconf"
36 [[ -x configure ]] || eautoreconf
40 keepdir /etc/env.d/python
41 emake DESTDIR="${D}" install || die
45 if has_version "<${CATEGORY}/${PN}-20090804" || ! has_version "${CATEGORY}/${PN}"; then
46 run_eselect_python_update="1"
51 if [[ "${run_eselect_python_update}" == "1" ]]; then
52 ebegin "Running \`eselect python update\`"
53 eselect python update --ignore 3.0 --ignore 3.1 --ignore 3.2 > /dev/null