diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-03-21 21:51:13 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-03-21 21:51:13 +0000 |
commit | e99ba9a17b62001a1dccbdce7df4bec3e29c7ee3 (patch) | |
tree | d33b7b5d02f7c51b63c4d650ca7d433dec09d1c1 /app-admin/eselect-python | |
parent | Removed seamonkey dependency (bug #300418). Added graphicsmagick as possible ... (diff) | |
download | gentoo-2-e99ba9a17b62001a1dccbdce7df4bec3e29c7ee3.tar.gz gentoo-2-e99ba9a17b62001a1dccbdce7df4bec3e29c7ee3.tar.bz2 gentoo-2-e99ba9a17b62001a1dccbdce7df4bec3e29c7ee3.zip |
Delete older ebuild.
Diffstat (limited to 'app-admin/eselect-python')
-rw-r--r-- | app-admin/eselect-python/eselect-python-20090824.ebuild | 50 | ||||
-rw-r--r-- | app-admin/eselect-python/files/eselect-python-20090824-old-glibc.patch | 30 |
2 files changed, 0 insertions, 80 deletions
diff --git a/app-admin/eselect-python/eselect-python-20090824.ebuild b/app-admin/eselect-python/eselect-python-20090824.ebuild deleted file mode 100644 index f1c15b028101..000000000000 --- a/app-admin/eselect-python/eselect-python-20090824.ebuild +++ /dev/null @@ -1,50 +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-20090824.ebuild,v 1.10 2009/10/04 01:56:58 arfrever Exp $ - -EAPI="1" - -inherit eutils flag-o-matic - -DESCRIPTION="Eselect module for management of 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="" - -RDEPEND=">=app-admin/eselect-1.0.2" -DEPEND="${RDEPEND} - sys-devel/autoconf" - -pkg_setup() { - append-flags -fno-PIC -fno-PIE -} - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/${P}-old-glibc.patch" - ./autogen.sh || die "autogen.sh failed" -} - -src_install() { - keepdir /etc/env.d/python - emake DESTDIR="${D}" install || die "emake install 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 -} diff --git a/app-admin/eselect-python/files/eselect-python-20090824-old-glibc.patch b/app-admin/eselect-python/files/eselect-python-20090824-old-glibc.patch deleted file mode 100644 index 522a75841dd1..000000000000 --- a/app-admin/eselect-python/files/eselect-python-20090824-old-glibc.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- configure.ac -+++ configure.ac -@@ -7,8 +7,26 @@ - AC_PATH_PROG(INSTALL, install) - MKDIR="${MKDIR:-${INSTALL} -d}" - -+AC_USE_SYSTEM_EXTENSIONS -+ - # strndup() was introduced in POSIX.1-2008. --AC_CHECK_FUNCS([strndup]) -+AC_MSG_CHECKING([for strndup]) -+old_CFLAGS="${CFLAGS}" -+CFLAGS="${CFLAGS} -Wall -Werror -Wextra" -+AC_LINK_IFELSE( -+[#include <string.h> -+int main() -+{ -+ strndup("", 0); -+ return 0; -+}], [have_strndup="1"], [have_strndup="0"]) -+if test "${have_strndup}" = "1"; then -+ AC_MSG_RESULT([yes]) -+ AC_DEFINE([HAVE_STRNDUP], [1], [Define to 1 if you have the 'strndup' function.]) -+else -+ AC_MSG_RESULT([no]) -+fi -+CFLAGS="${old_CFLAGS}" - - AC_SUBST([ASFLAGS]) - AC_SUBST([MKDIR]) |