summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2003-04-01 00:05:24 +0000
committerAlastair Tse <liquidx@gentoo.org>2003-04-01 00:05:24 +0000
commit0913489057f5b206d47ff2b621013bd89476707f (patch)
tree5b74e4f37b1e21f400e10ae6e171277e523dc319
parentoops! forgot to ~ppc it! (diff)
downloadhistorical-0913489057f5b206d47ff2b621013bd89476707f.tar.gz
historical-0913489057f5b206d47ff2b621013bd89476707f.tar.bz2
historical-0913489057f5b206d47ff2b621013bd89476707f.zip
historical python ebuilds cleanup
-rw-r--r--dev-lang/python/files/digest-python-2.1.31
-rw-r--r--dev-lang/python/files/digest-python-2.2-r71
-rw-r--r--dev-lang/python/files/digest-python-2.2.11
-rw-r--r--dev-lang/python/files/digest-python-2.2.1-r11
-rw-r--r--dev-lang/python/files/digest-python-2.2.1-r21
-rw-r--r--dev-lang/python/files/digest-python-2.2.1-r31
-rw-r--r--dev-lang/python/files/digest-python-2.2.1-r41
-rw-r--r--dev-lang/python/files/pfconfig.h17
-rw-r--r--dev-lang/python/files/python-config3
-rw-r--r--dev-lang/python/files/python-config-2.23
-rw-r--r--dev-lang/python/python-2.1.3.ebuild76
-rw-r--r--dev-lang/python/python-2.2-r7.ebuild131
-rw-r--r--dev-lang/python/python-2.2.1-r1.ebuild80
-rw-r--r--dev-lang/python/python-2.2.1-r2.ebuild80
-rw-r--r--dev-lang/python/python-2.2.1-r3.ebuild83
-rw-r--r--dev-lang/python/python-2.2.1-r4.ebuild93
-rw-r--r--dev-lang/python/python-2.2.1.ebuild85
17 files changed, 0 insertions, 658 deletions
diff --git a/dev-lang/python/files/digest-python-2.1.3 b/dev-lang/python/files/digest-python-2.1.3
deleted file mode 100644
index c1a147f934c3..000000000000
--- a/dev-lang/python/files/digest-python-2.1.3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 a8b04cdc822a6fc833ed9b99c7fba589 Python-2.1.3.tgz 6194432
diff --git a/dev-lang/python/files/digest-python-2.2-r7 b/dev-lang/python/files/digest-python-2.2-r7
deleted file mode 100644
index 1a6a57c9f144..000000000000
--- a/dev-lang/python/files/digest-python-2.2-r7
+++ /dev/null
@@ -1 +0,0 @@
-MD5 87febf0780c8e18454022d34b2ca70a0 Python-2.2.tgz 6542443
diff --git a/dev-lang/python/files/digest-python-2.2.1 b/dev-lang/python/files/digest-python-2.2.1
deleted file mode 100644
index ea99f8857c06..000000000000
--- a/dev-lang/python/files/digest-python-2.2.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 e7012d611602b62e36073c2fd02396a3 Python-2.2.1.tgz 6535104
diff --git a/dev-lang/python/files/digest-python-2.2.1-r1 b/dev-lang/python/files/digest-python-2.2.1-r1
deleted file mode 100644
index ea99f8857c06..000000000000
--- a/dev-lang/python/files/digest-python-2.2.1-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 e7012d611602b62e36073c2fd02396a3 Python-2.2.1.tgz 6535104
diff --git a/dev-lang/python/files/digest-python-2.2.1-r2 b/dev-lang/python/files/digest-python-2.2.1-r2
deleted file mode 100644
index ea99f8857c06..000000000000
--- a/dev-lang/python/files/digest-python-2.2.1-r2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 e7012d611602b62e36073c2fd02396a3 Python-2.2.1.tgz 6535104
diff --git a/dev-lang/python/files/digest-python-2.2.1-r3 b/dev-lang/python/files/digest-python-2.2.1-r3
deleted file mode 100644
index ea99f8857c06..000000000000
--- a/dev-lang/python/files/digest-python-2.2.1-r3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 e7012d611602b62e36073c2fd02396a3 Python-2.2.1.tgz 6535104
diff --git a/dev-lang/python/files/digest-python-2.2.1-r4 b/dev-lang/python/files/digest-python-2.2.1-r4
deleted file mode 100644
index ea99f8857c06..000000000000
--- a/dev-lang/python/files/digest-python-2.2.1-r4
+++ /dev/null
@@ -1 +0,0 @@
-MD5 e7012d611602b62e36073c2fd02396a3 Python-2.2.1.tgz 6535104
diff --git a/dev-lang/python/files/pfconfig.h b/dev-lang/python/files/pfconfig.h
deleted file mode 100644
index 6b0d4db091b0..000000000000
--- a/dev-lang/python/files/pfconfig.h
+++ /dev/null
@@ -1,17 +0,0 @@
-/* pfconfig.h. Generated automatically by configure. */
-/* pfconfig.h.in. Generated automatically from configure.in by autoheader. */
-
-/* Define to empty if the keyword does not work. */
-/* #undef const */
-
-/* Define to `unsigned' if <sys/types.h> doesn't define. */
-/* #undef size_t */
-
-/* Define if you have the ANSI C header files. */
-#define STDC_HEADERS 1
-
-/* Define if you have the <endian.h> header file. */
-#define HAVE_ENDIAN_H 1
-
-/* Define if you have the <limits.h> header file. */
-#define HAVE_LIMITS_H 1
diff --git a/dev-lang/python/files/python-config b/dev-lang/python/files/python-config
deleted file mode 100644
index db0ba030bf9c..000000000000
--- a/dev-lang/python/files/python-config
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/python
-import distutils.sysconfig, string
-print "-lpython2.1",string.join(string.split(distutils.sysconfig.get_config_var("MODLIBS")))
diff --git a/dev-lang/python/files/python-config-2.2 b/dev-lang/python/files/python-config-2.2
deleted file mode 100644
index 2bcfdae49fb8..000000000000
--- a/dev-lang/python/files/python-config-2.2
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/python
-import distutils.sysconfig, string
-print "-lpython2.2 -L /usr/lib/python2.2/config",string.join(string.split(distutils.sysconfig.get_config_var("MODLIBS")))
diff --git a/dev-lang/python/python-2.1.3.ebuild b/dev-lang/python/python-2.1.3.ebuild
deleted file mode 100644
index a5950d2037d4..000000000000
--- a/dev-lang/python/python-2.1.3.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.1.3.ebuild,v 1.10 2003/02/13 10:28:06 vapier Exp $
-
-IUSE="readline tcltk berkdb"
-
-PYVER_MAJOR="`echo ${PV} | cut -d '.' -f 1`"
-PYVER_MINOR="`echo ${PV} | cut -d '.' -f 2`"
-PYVER="${PYVER_MAJOR}.${PYVER_MINOR}"
-S=${WORKDIR}/Python-${PV}
-DESCRIPTION="A really great language"
-SRC_URI="http://www.python.org/ftp/python/${PV}/Python-${PV}.tgz"
-
-HOMEPAGE="http://www.python.org"
-LICENSE="PSF-2.1.1"
-KEYWORDS="x86 sparc "
-
-DEPEND="virtual/glibc >=sys-libs/zlib-1.1.3
- readline? ( >=sys-libs/readline-4.1 >=sys-libs/ncurses-5.2 )
- berkdb? ( >=sys-libs/db-3 )
- tcltk? ( >=dev-lang/tk-8.0 )"
-RDEPEND="$DEPEND"
-
-# The dev-python/python-fchksum RDEPEND is needed to that this python provides
-# the functionality expected from previous pythons.
-
-PROVIDE="virtual/python-2.1"
-SLOT="2.1"
-KEYWORDS="x86 sparc "
-
-src_compile() {
- export OPT="$CFLAGS"
-
- # adjust makefile to install pydoc into ${D} correctly
- t=${S}/Makefile.pre.in
- cp $t $t.orig || die
- sed 's:install-platlib.*:& --install-scripts=$(BINDIR):' $t.orig > $t
-
- local myopts
- #if we are creating a new build image, we remove the dependency on g++
-
- econf --with-fpectl \
- --with-threads \
- --infodir='${prefix}'/share/info \
- --mandir='${prefix}'/share/man \
- $myopts || die
- emake || die "Parallel make failed"
-}
-
-src_install() {
- dodir /usr
- make install prefix=${D}/usr || die
- rm "${D}/usr/bin/python"
-# dosym python${PYVER_MAJOR} /usr/bin/python
-# dosym python${PYVER_MAJOR}.${PYVER_MINOR} /usr/bin/python${PYVER_MAJOR}
- dodoc README
-
- # install our own custom python-config
-# exeinto /usr/bin
-# newexe ${FILESDIR}/python-config-${PYVER} python-config
-
- # seems like the build do not install Makefile.pre.in anymore
- # it probably shouldn't - use DistUtils, people!
- insinto /usr/lib/python${PYVER}/config
- doins ${S}/Makefile.pre.in
-
- # If USE tcltk lets install idle
- # Need to script the python version in the path
- if use tcltk; then
- dodir /usr/lib/python${PYVER}/tools
- mv "${S}/Tools/idle" "${D}/usr/lib/python${PYVER}/tools/"
- dosym /usr/lib/python${PYVER}/tools/idle/idle.py /usr/bin/idle-${PV}.py
- fi
- mv ${D}/usr/man/man1/python.1 ${D}/usr/man/man1/python-${PV}
- rm ${D}/usr/bin/pydoc
-}
diff --git a/dev-lang/python/python-2.2-r7.ebuild b/dev-lang/python/python-2.2-r7.ebuild
deleted file mode 100644
index b4f244ef130b..000000000000
--- a/dev-lang/python/python-2.2-r7.ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.2-r7.ebuild,v 1.11 2003/02/13 10:28:12 vapier Exp $
-
-IUSE="readline tcltk berkdb bootstrap"
-
-PYVER_MAJOR="`echo ${PV} | cut -d '.' -f 1`"
-PYVER_MINOR="`echo ${PV} | cut -d '.' -f 2`"
-PYVER="${PYVER_MAJOR}.${PYVER_MINOR}"
-S=${WORKDIR}/Python-${PV}
-DESCRIPTION="A really great language"
-SRC_URI="http://www.python.org/ftp/python/${PV}/Python-${PV}.tgz"
-
-HOMEPAGE="http://www.python.org"
-LICENSE="PSF-2.2"
-KEYWORDS="x86 sparc "
-
-DEPEND="virtual/glibc >=sys-libs/zlib-1.1.3
- readline? ( >=sys-libs/readline-4.1 >=sys-libs/ncurses-5.2 )
- berkdb? ( >=sys-libs/db-3 )
- tcltk? ( >=dev-lang/tk-8.0 )"
-RDEPEND="$DEPEND dev-python/python-fchksum"
-
-# The dev-python/python-fchksum RDEPEND is needed to that this python provides
-# the functionality expected from previous pythons.
-
-PROVIDE="virtual/python"
-
-SLOT="2.2"
-
-KEYWORDS="x86 sparc "
-
-src_compile() {
- # python's config seems to ignore CFLAGS
- export OPT=$CFLAGS
-
- # adjust makefile to install pydoc into ${D} correctly
- t=${S}/Makefile.pre.in
- cp $t $t.orig || die
- sed 's:install-platlib.*:& --install-scripts=$(BINDIR):' $t.orig > $t
-
- # adjust Setup to include the various modules we need
- cd ${S}
- # turn **on** shared
- scmd="s:#\(\*shared\*\):\1:;"
- # adjust for USE readline
- if use readline; then
- scmd="$scmd s:#\(readline .*\) -ltermcap:\1:;"
- scmd="$scmd s:#\(_curses .*\) -lcurses -ltermcap:\1 -lncurses:;"
- fi
- # adjust for USE tcltk
- if use tcltk; then
- # Find the version of tcl/tk that has headers installed.
- # This will be the most recently merged, not necessarily the highest
- # version number.
- tclv=$(grep TCL_VER /usr/include/tcl.h | sed 's/^.*"\(.*\)".*/\1/')
- tkv=$( grep TK_VER /usr/include/tk.h | sed 's/^.*"\(.*\)".*/\1/')
- # adjust Setup to match
- scmd="$scmd s:# \(_tkinter \):\1:;"
- scmd="$scmd s:#\(\t-ltk[0-9.]* -ltcl[0-9.]*\):\t-ltk$tkv -ltcl$tclv:;"
- scmd="$scmd s:#\(\t-L/usr/X11R6/lib\):\1:;"
- scmd="$scmd s:#\(\t-lX11.*\):\1:;"
- scmd="$scmd s:#\(\t-I/usr/X11R6/include\):\1:;"
- fi
- # adjust for USE berkdb
- if use berkdb; then
- # patch the dbmmodule to use db3's dbm compatibility code. That way,
- # we're depending on db3 rather than old db1.
- t=Modules/dbmmodule.c
- cp $t $t.orig || die
- sed \
- -e '10,25d' \
- -e '26i\' \
- -e '#define DB_DBM_HSEARCH 1\' \
- -e 'static char *which_dbm = "BSD db";\' \
- -e '#include <db3/db.h>' \
- $t.orig > $t
- # now fix Setup
- scmd="$scmd s:#dbm.*:dbm dbmmodule.c -I/usr/include/db3 -ldb-3.2:;"
- fi
- # no USE vars to switch off these adjustments:
- scmd="$scmd s:#\(_locale .*\):\1:;" # access to ISO C locale support
- scmd="$scmd s:#\(syslog .*\):\1:;" # syslog daemon interface
- scmd="$scmd s:#\(zlib .*\):\1:;" # This require zlib 1.1.3 (or later).
- scmd="$scmd s:#\(termios .*\):\1:;" # Steen Lumholt's termios module
- scmd="$scmd s:#\(resource .*\):\1:;" # Jeremy Hylton's rlimit interface
- sed "$scmd" Modules/Setup.dist > Modules/Setup
-
- local myopts
- #if we are creating a new build image, we remove the dependency on g++
- if [ "`use build`" -a ! "`use bootstrap`" ]
- then
- myopts="--with-cxx=no"
- fi
- ./configure \
- --prefix=/usr \
- --without-libdb \
- --infodir='${prefix}'/share/info \
- --mandir='${prefix}'/share/man $myopts
- assert "Configure failed"
- # kill the -DHAVE_CONFIG_H flag
- mv Makefile Makefile.orig
- sed -e 's/-DHAVE_CONFIG_H//' Makefile.orig > Makefile
- #emake || die "Parallel make failed"
- make || die "Parallel make failed"
-}
-
-src_install() {
- dodir /usr
- make install prefix=${D}/usr || die
- rm "${D}/usr/bin/python"
- dosym python${PYVER_MAJOR} /usr/bin/python
- dosym python${PYVER_MAJOR}.${PYVER_MINOR} /usr/bin/python${PYVER_MAJOR}
- dodoc README
-
- # install our own custom python-config
- exeinto /usr/bin
- newexe ${FILESDIR}/python-config-${PYVER} python-config
-
- # seems like the build do not install Makefile.pre.in anymore
- insinto /usr/lib/python${PYVER}/config
- doins ${S}/Makefile.pre.in
-
- # If USE tcltk lets install idle
- # Need to script the python version in the path
- if use tcltk; then
- dodir /usr/lib/python${PYVER}/tools
- mv "${S}/Tools/idle" "${D}/usr/lib/python${PYVER}/tools/"
- dosym /usr/lib/python${PYVER}/tools/idle/idle.py /usr/bin/idle.py
- fi
-}
diff --git a/dev-lang/python/python-2.2.1-r1.ebuild b/dev-lang/python/python-2.2.1-r1.ebuild
deleted file mode 100644
index 77af082eb113..000000000000
--- a/dev-lang/python/python-2.2.1-r1.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.2.1-r1.ebuild,v 1.10 2003/02/13 10:28:17 vapier Exp $
-
-IUSE="readline tcltk berkdb bootstrap"
-
-PYVER_MAJOR="`echo ${PV} | cut -d '.' -f 1`"
-PYVER_MINOR="`echo ${PV} | cut -d '.' -f 2`"
-PYVER="${PYVER_MAJOR}.${PYVER_MINOR}"
-S=${WORKDIR}/Python-${PV}
-DESCRIPTION="A really great language"
-SRC_URI="http://www.python.org/ftp/python/${PV}/Python-${PV}.tgz"
-
-HOMEPAGE="http://www.python.org"
-LICENSE="PSF-2.2"
-KEYWORDS="x86 sparc "
-
-DEPEND="virtual/glibc >=sys-libs/zlib-1.1.3
- readline? ( >=sys-libs/readline-4.1 >=sys-libs/ncurses-5.2 )
- berkdb? ( >=sys-libs/db-3 )
- tcltk? ( >=dev-lang/tk-8.0 )"
-if [ -z "`use build`" -a -z "`use bootstrap`" ]; then
- DEPEND="$DEPEND dev-libs/expat"
-fi
-RDEPEND="$DEPEND dev-python/python-fchksum"
-
-# The dev-python/python-fchksum RDEPEND is needed to that this python provides
-# the functionality expected from previous pythons.
-
-PROVIDE="virtual/python"
-
-SLOT="2.2"
-
-src_compile() {
- export OPT="$CFLAGS"
-
- # adjust makefile to install pydoc into ${D} correctly
- t=${S}/Makefile.pre.in
- cp $t $t.orig || die
- sed 's:install-platlib.*:& --install-scripts=$(BINDIR):' $t.orig > $t
-
- local myopts
- #if we are creating a new build image, we remove the dependency on g++
- if [ "`use build`" -a ! "`use bootstrap`" ]
- then
- myopts="--with-cxx=no"
- fi
-
- econf --with-fpectl \
- --infodir='${prefix}'/share/info \
- --mandir='${prefix}'/share/man \
- $myopts || die
- emake || die "Parallel make failed"
-}
-
-src_install() {
- dodir /usr
- make install prefix=${D}/usr || die
- rm "${D}/usr/bin/python"
- dosym python${PYVER_MAJOR} /usr/bin/python
- dosym python${PYVER_MAJOR}.${PYVER_MINOR} /usr/bin/python${PYVER_MAJOR}
- dodoc README
-
- # install our own custom python-config
- exeinto /usr/bin
- newexe ${FILESDIR}/python-config-${PYVER} python-config
-
- # seems like the build do not install Makefile.pre.in anymore
- # it probably shouldn't - use DistUtils, people!
- insinto /usr/lib/python${PYVER}/config
- doins ${S}/Makefile.pre.in
-
- # If USE tcltk lets install idle
- # Need to script the python version in the path
- if use tcltk; then
- dodir /usr/lib/python${PYVER}/tools
- mv "${S}/Tools/idle" "${D}/usr/lib/python${PYVER}/tools/"
- dosym /usr/lib/python${PYVER}/tools/idle/idle.py /usr/bin/idle.py
- fi
-}
diff --git a/dev-lang/python/python-2.2.1-r2.ebuild b/dev-lang/python/python-2.2.1-r2.ebuild
deleted file mode 100644
index bec745414bb2..000000000000
--- a/dev-lang/python/python-2.2.1-r2.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.2.1-r2.ebuild,v 1.12 2003/02/13 10:28:22 vapier Exp $
-
-IUSE="readline tcltk berkdb bootstrap"
-
-PYVER_MAJOR="`echo ${PV} | cut -d '.' -f 1`"
-PYVER_MINOR="`echo ${PV} | cut -d '.' -f 2`"
-PYVER="${PYVER_MAJOR}.${PYVER_MINOR}"
-S=${WORKDIR}/Python-${PV}
-DESCRIPTION="A really great language"
-SRC_URI="http://www.python.org/ftp/python/${PV}/Python-${PV}.tgz"
-
-HOMEPAGE="http://www.python.org"
-LICENSE="PSF-2.2"
-KEYWORDS="x86 ppc sparc alpha"
-
-DEPEND="virtual/glibc >=sys-libs/zlib-1.1.3
- readline? ( >=sys-libs/readline-4.1 >=sys-libs/ncurses-5.2 )
- berkdb? ( >=sys-libs/db-3 )
- tcltk? ( >=dev-lang/tk-8.0 )"
-if [ -z "`use build`" -a -z "`use bootstrap`" ]; then
- DEPEND="$DEPEND dev-libs/expat"
-fi
-RDEPEND="$DEPEND dev-python/python-fchksum"
-
-# The dev-python/python-fchksum RDEPEND is needed to that this python provides
-# the functionality expected from previous pythons.
-
-PROVIDE="virtual/python"
-
-SLOT="2.2"
-
-src_compile() {
- export OPT="$CFLAGS"
-
- # adjust makefile to install pydoc into ${D} correctly
- t=${S}/Makefile.pre.in
- cp $t $t.orig || die
- sed 's:install-platlib.*:& --install-scripts=$(BINDIR):' $t.orig > $t
-
- local myopts
- #if we are creating a new build image, we remove the dependency on g++
- if [ "`use build`" -a ! "`use bootstrap`" ]
- then
- myopts="--with-cxx=no"
- fi
-
- econf --with-fpectl \
- --infodir='${prefix}'/share/info \
- --mandir='${prefix}'/share/man \
- $myopts || die
- emake || die "Parallel make failed"
-}
-
-src_install() {
- dodir /usr
- make install prefix=${D}/usr || die
- rm "${D}/usr/bin/python"
- dosym python${PYVER_MAJOR} /usr/bin/python
- dosym python${PYVER_MAJOR}.${PYVER_MINOR} /usr/bin/python${PYVER_MAJOR}
- dodoc README
-
- # install our own custom python-config
- exeinto /usr/bin
- newexe ${FILESDIR}/python-config-${PV} python-config
-
- # seems like the build do not install Makefile.pre.in anymore
- # it probably shouldn't - use DistUtils, people!
- insinto /usr/lib/python${PYVER}/config
- doins ${S}/Makefile.pre.in
-
- # If USE tcltk lets install idle
- # Need to script the python version in the path
- if use tcltk; then
- dodir /usr/lib/python${PYVER}/tools
- mv "${S}/Tools/idle" "${D}/usr/lib/python${PYVER}/tools/"
- dosym /usr/lib/python${PYVER}/tools/idle/idle.py /usr/bin/idle.py
- fi
-}
diff --git a/dev-lang/python/python-2.2.1-r3.ebuild b/dev-lang/python/python-2.2.1-r3.ebuild
deleted file mode 100644
index 82a82b38662e..000000000000
--- a/dev-lang/python/python-2.2.1-r3.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.2.1-r3.ebuild,v 1.8 2003/02/13 10:28:28 vapier Exp $
-
-IUSE="readline tcltk berkdb bootstrap"
-
-PYVER_MAJOR="`echo ${PV} | cut -d '.' -f 1`"
-PYVER_MINOR="`echo ${PV} | cut -d '.' -f 2`"
-PYVER="${PYVER_MAJOR}.${PYVER_MINOR}"
-S=${WORKDIR}/Python-${PV}
-DESCRIPTION="A really great language"
-SRC_URI="http://www.python.org/ftp/python/${PV}/Python-${PV}.tgz"
-
-HOMEPAGE="http://www.python.org"
-LICENSE="PSF-2.2"
-KEYWORDS="x86 ppc sparc alpha"
-
-DEPEND="virtual/glibc >=sys-libs/zlib-1.1.3
- readline? ( >=sys-libs/readline-4.1 >=sys-libs/ncurses-5.2 )
- berkdb? ( >=sys-libs/db-3 )
- tcltk? ( >=dev-lang/tk-8.0 )"
-if [ -z "`use build`" -a -z "`use bootstrap`" ]; then
- DEPEND="$DEPEND dev-libs/expat"
-fi
-RDEPEND="$DEPEND dev-python/python-fchksum"
-
-# The dev-python/python-fchksum RDEPEND is needed to that this python provides
-# the functionality expected from previous pythons.
-
-PROVIDE="virtual/python"
-
-SLOT="2.2"
-
-inherit flag-o-matic
-
-src_compile() {
- filter-flags -malign-double
- export OPT="$CFLAGS"
-
- # adjust makefile to install pydoc into ${D} correctly
- t=${S}/Makefile.pre.in
- cp $t $t.orig || die
- sed 's:install-platlib.*:& --install-scripts=$(BINDIR):' $t.orig > $t
-
- local myopts
- #if we are creating a new build image, we remove the dependency on g++
- if [ "`use build`" -a ! "`use bootstrap`" ]
- then
- myopts="--with-cxx=no"
- fi
-
- econf --with-fpectl \
- --infodir='${prefix}'/share/info \
- --mandir='${prefix}'/share/man \
- $myopts || die
- emake || die "Parallel make failed"
-}
-
-src_install() {
- dodir /usr
- make install prefix=${D}/usr || die
- rm "${D}/usr/bin/python"
- dosym python${PYVER_MAJOR} /usr/bin/python
- dosym python${PYVER_MAJOR}.${PYVER_MINOR} /usr/bin/python${PYVER_MAJOR}
- dodoc README
-
- # install our own custom python-config
- exeinto /usr/bin
- newexe ${FILESDIR}/python-config-${PV} python-config
-
- # seems like the build do not install Makefile.pre.in anymore
- # it probably shouldn't - use DistUtils, people!
- insinto /usr/lib/python${PYVER}/config
- doins ${S}/Makefile.pre.in
-
- # If USE tcltk lets install idle
- # Need to script the python version in the path
- if use tcltk; then
- /usr/lib/python${PYVER}/tools
- mv "${S}/Tools/idle" "${D}/usr/lib/python${PYVER}/tools/"
- dosym /usr/lib/python${PYVER}/tools/idle/idle.py /usr/bin/idle.py
- fi
-}
diff --git a/dev-lang/python/python-2.2.1-r4.ebuild b/dev-lang/python/python-2.2.1-r4.ebuild
deleted file mode 100644
index 37aa4e9298cb..000000000000
--- a/dev-lang/python/python-2.2.1-r4.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.2.1-r4.ebuild,v 1.8 2003/02/13 10:28:33 vapier Exp $
-
-IUSE="readline tcltk berkdb bootstrap"
-
-PYVER_MAJOR="`echo ${PV} | cut -d '.' -f 1`"
-PYVER_MINOR="`echo ${PV} | cut -d '.' -f 2`"
-PYVER="${PYVER_MAJOR}.${PYVER_MINOR}"
-S=${WORKDIR}/Python-${PV}
-DESCRIPTION="A really great language"
-SRC_URI="http://www.python.org/ftp/python/${PV}/Python-${PV}.tgz"
-
-HOMEPAGE="http://www.python.org"
-LICENSE="PSF-2.2"
-KEYWORDS="x86 ppc sparc alpha"
-
-DEPEND="virtual/glibc >=sys-libs/zlib-1.1.3
- readline? ( >=sys-libs/readline-4.1 >=sys-libs/ncurses-5.2 )
- berkdb? ( >=sys-libs/db-3 )
- tcltk? ( >=dev-lang/tk-8.0 )"
-if [ -z "`use build`" -a -z "`use bootstrap`" ]; then
- DEPEND="$DEPEND dev-libs/expat"
-fi
-RDEPEND="$DEPEND dev-python/python-fchksum"
-
-# The dev-python/python-fchksum RDEPEND is needed to that this python provides
-# the functionality expected from previous pythons.
-
-PROVIDE="virtual/python"
-
-SLOT="2.2"
-
-inherit flag-o-matic
-
-src_compile() {
- filter-flags -malign-double
- export OPT="$CFLAGS"
-
- # adjust makefile to install pydoc into ${D} correctly
- t=${S}/Makefile.pre.in
- cp $t $t.orig || die
- sed 's:install-platlib.*:& --install-scripts=$(BINDIR):' $t.orig > $t
-
- local myopts
- #if we are creating a new build image, we remove the dependency on g++
- if [ "`use build`" -a ! "`use bootstrap`" ]
- then
- myopts="--with-cxx=no"
- fi
-
- econf --with-fpectl \
- --infodir='${prefix}'/share/info \
- --mandir='${prefix}'/share/man \
- $myopts || die
- emake || die "Parallel make failed"
-}
-
-src_install() {
- dodir /usr
- make install prefix=${D}/usr || die
- rm "${D}/usr/bin/python"
- dosym python${PYVER_MAJOR} /usr/bin/python
- dosym python${PYVER_MAJOR}.${PYVER_MINOR} /usr/bin/python${PYVER_MAJOR}
- dodoc README
-
- # install our own custom python-config
- exeinto /usr/bin
- newexe ${FILESDIR}/python-config-${PV} python-config
-
- # seems like the build do not install Makefile.pre.in anymore
- # it probably shouldn't - use DistUtils, people!
- insinto /usr/lib/python${PYVER}/config
- doins ${S}/Makefile.pre.in
-
- # While we're working on the config stuff... Let's fix the OPT var
- # so that it doesn't have any opts listed in it. Prevents the problem
- # with compiling things with conflicting opts later.
- mv \
- ${D}/usr/lib/python${PYVER}/config/Makefile \
- ${D}/usr/lib/python${PYVER}/config/Makefile.orig
- sed 's:^OPT=.*:OPT=-NDEBUG:' \
- < ${D}/usr/lib/python${PYVER}/config/Makefile.orig \
- > ${D}/usr/lib/python${PYVER}/config/Makefile
-
- # If USE tcltk lets install idle
- # Need to script the python version in the path
- if use tcltk; then
- dodir /usr/lib/python${PYVER}/tools
- mv "${S}/Tools/idle" "${D}/usr/lib/python${PYVER}/tools/"
- dosym /usr/lib/python${PYVER}/tools/idle/idle.py /usr/bin/idle.py
- fi
-}
diff --git a/dev-lang/python/python-2.2.1.ebuild b/dev-lang/python/python-2.2.1.ebuild
deleted file mode 100644
index 28c4e7bc7f8c..000000000000
--- a/dev-lang/python/python-2.2.1.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.2.1.ebuild,v 1.11 2003/02/13 10:28:45 vapier Exp $
-
-IUSE="readline tcltk berkdb bootstrap"
-
-PYVER_MAJOR="`echo ${PV} | cut -d '.' -f 1`"
-PYVER_MINOR="`echo ${PV} | cut -d '.' -f 2`"
-PYVER="${PYVER_MAJOR}.${PYVER_MINOR}"
-S=${WORKDIR}/Python-${PV}
-DESCRIPTION="A really great language"
-SRC_URI="http://www.python.org/ftp/python/${PV}/Python-${PV}.tgz"
-
-HOMEPAGE="http://www.python.org"
-LICENSE="PSF-2.2"
-KEYWORDS="x86 sparc "
-
-DEPEND="virtual/glibc >=sys-libs/zlib-1.1.3
- readline? ( >=sys-libs/readline-4.1 >=sys-libs/ncurses-5.2 )
- berkdb? ( >=sys-libs/db-3 )
- tcltk? ( >=dev-lang/tk-8.0 )"
-RDEPEND="$DEPEND dev-python/python-fchksum"
-
-# The dev-python/python-fchksum RDEPEND is needed to that this python provides
-# the functionality expected from previous pythons.
-
-PROVIDE="virtual/python"
-
-SLOT="2.2"
-KEYWORDS="x86 sparc "
-
-src_compile() {
- # python's config seems to ignore CFLAGS
- export OPT=$CFLAGS
-
- # adjust makefile to install pydoc into ${D} correctly
- t=${S}/Makefile.pre.in
- cp $t $t.orig || die
- sed 's:install-platlib.*:& --install-scripts=$(BINDIR):' $t.orig > $t
-
- # turn **on** shared
- echo '*shared*' >> Modules/Setup.local
-
- local myopts
- #if we are creating a new build image, we remove the dependency on g++
- if [ "`use build`" -a ! "`use bootstrap`" ]
- then
- myopts="--with-cxx=no"
- fi
-
- ./configure \
- --prefix=/usr \
- --without-libdb \
- --with-fpectl \
- --infodir='${prefix}'/share/info \
- --mandir='${prefix}'/share/man $myopts || die
- emake || die "Parallel make failed"
- #make || die "make failed"
-}
-
-src_install() {
- dodir /usr
- make install prefix=${D}/usr || die
- rm "${D}/usr/bin/python"
- dosym python${PYVER_MAJOR} /usr/bin/python
- dosym python${PYVER_MAJOR}.${PYVER_MINOR} /usr/bin/python${PYVER_MAJOR}
- dodoc README
-
- # install our own custom python-config
- exeinto /usr/bin
- newexe ${FILESDIR}/python-config-${PYVER} python-config
-
- # seems like the build do not install Makefile.pre.in anymore
- # it probably shouldn't - use DistUtils, people!
- insinto /usr/lib/python${PYVER}/config
- doins ${S}/Makefile.pre.in
-
- # If USE tcltk lets install idle
- # Need to script the python version in the path
- if use tcltk; then
- /usr/lib/python${PYVER}/tools
- mv "${S}/Tools/idle" "${D}/usr/lib/python${PYVER}/tools/"
- dosym /usr/lib/python${PYVER}/tools/idle/idle.py /usr/bin/idle.py
- fi
-}