diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-10-04 01:49:01 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-10-04 01:49:01 +0000 |
commit | 67614235adb66431a7817930a4de9043adb3eb2e (patch) | |
tree | 88cef62ca11cfddf39dd26c2e1723c94bee25312 /app-admin/eselect-python | |
parent | Add Blackfin to the list of supported targets #287251. (diff) | |
download | gentoo-2-67614235adb66431a7817930a4de9043adb3eb2e.tar.gz gentoo-2-67614235adb66431a7817930a4de9043adb3eb2e.tar.bz2 gentoo-2-67614235adb66431a7817930a4de9043adb3eb2e.zip |
Delete older ebuilds.
Diffstat (limited to 'app-admin/eselect-python')
-rw-r--r-- | app-admin/eselect-python/eselect-python-20090606.ebuild | 25 | ||||
-rw-r--r-- | app-admin/eselect-python/eselect-python-20090814.ebuild | 49 |
2 files changed, 0 insertions, 74 deletions
diff --git a/app-admin/eselect-python/eselect-python-20090606.ebuild b/app-admin/eselect-python/eselect-python-20090606.ebuild deleted file mode 100644 index cc25573790f0..000000000000 --- a/app-admin/eselect-python/eselect-python-20090606.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-python/eselect-python-20090606.ebuild,v 1.8 2009/08/25 17:31:16 arfrever Exp $ - -DESCRIPTION="Manages multiple Python versions" -HOMEPAGE="http://www.gentoo.org" -SRC_URI="mirror://gentoo/python.eselect-${PVR}.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" -IUSE="" - -RDEPEND=">=app-admin/eselect-1.0.2" - -pkg_setup() { - if has_version ">=app-admin/eselect-python-20090804"; then - die "Downgrade of app-admin/eselect-python is not supported" - fi -} - -src_install() { - insinto /usr/share/eselect/modules - newins "${WORKDIR}/python.eselect-${PVR}" python.eselect || die "newins python.eselect failed" -} diff --git a/app-admin/eselect-python/eselect-python-20090814.ebuild b/app-admin/eselect-python/eselect-python-20090814.ebuild deleted file mode 100644 index 10f516de8282..000000000000 --- a/app-admin/eselect-python/eselect-python-20090814.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-python/eselect-python-20090814.ebuild,v 1.2 2009/08/17 10:33:40 aballier Exp $ - -inherit flag-o-matic toolchain-funcs - -DESCRIPTION="Manages multiple Python versions" -HOMEPAGE="http://www.gentoo.org" -SRC_URI="mirror://gentoo/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" -IUSE="" - -DEPEND=">=app-admin/eselect-1.0.2" -RDEPEND="${DEPEND}" - -pkg_setup() { - append-flags -fno-PIC -fno-PIE -} - -src_compile() { - echo $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o python-wrapper python-wrapper.c - $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o python-wrapper python-wrapper.c || die "Building of python-wrapper failed" -} - -src_install() { - keepdir /etc/env.d/python - - dobin python-wrapper || die "dobin python-wrapper failed" - - insinto /usr/share/eselect/modules - doins python.eselect || die "doins python.eselect failed" -} - -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 -} |