diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-04-30 12:06:42 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-04-30 12:06:42 +0000 |
commit | 21e1583f4fea163c17c82b6b0878b90909a9ca7f (patch) | |
tree | 08b19a101b57f3951268e58813b175c71006d272 /sys-devel/spython | |
parent | Update (diff) | |
download | gentoo-2-21e1583f4fea163c17c82b6b0878b90909a9ca7f.tar.gz gentoo-2-21e1583f4fea163c17c82b6b0878b90909a9ca7f.tar.bz2 gentoo-2-21e1583f4fea163c17c82b6b0878b90909a9ca7f.zip |
Cleanup
Diffstat (limited to 'sys-devel/spython')
-rw-r--r-- | sys-devel/spython/files/digest-spython-1.5.2 | 2 | ||||
-rw-r--r-- | sys-devel/spython/files/digest-spython-2.0 | 2 | ||||
-rw-r--r-- | sys-devel/spython/files/digest-spython-2.0-r1 | 2 | ||||
-rw-r--r-- | sys-devel/spython/files/digest-spython-2.0-r2 | 2 | ||||
-rw-r--r-- | sys-devel/spython/files/digest-spython-2.0-r3 | 2 | ||||
-rw-r--r-- | sys-devel/spython/spython-2.0-r2.ebuild | 67 | ||||
-rw-r--r-- | sys-devel/spython/spython-2.0-r3.ebuild | 62 |
7 files changed, 0 insertions, 139 deletions
diff --git a/sys-devel/spython/files/digest-spython-1.5.2 b/sys-devel/spython/files/digest-spython-1.5.2 deleted file mode 100644 index aeb14243568a..000000000000 --- a/sys-devel/spython/files/digest-spython-1.5.2 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 e9d677ae6d5a3efc6937627ed8a3e752 py152.tgz -MD5 7c99113a11b03599d8494638f6d90b56 python-fchksum-1.1.tar.gz diff --git a/sys-devel/spython/files/digest-spython-2.0 b/sys-devel/spython/files/digest-spython-2.0 deleted file mode 100644 index d5edd17f12a5..000000000000 --- a/sys-devel/spython/files/digest-spython-2.0 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 4751f4619eda0b5ade9d9dd017e7c1ef BeOpen-Python-2.0.tar.bz2 -MD5 7c99113a11b03599d8494638f6d90b56 python-fchksum-1.1.tar.gz diff --git a/sys-devel/spython/files/digest-spython-2.0-r1 b/sys-devel/spython/files/digest-spython-2.0-r1 deleted file mode 100644 index d5edd17f12a5..000000000000 --- a/sys-devel/spython/files/digest-spython-2.0-r1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 4751f4619eda0b5ade9d9dd017e7c1ef BeOpen-Python-2.0.tar.bz2 -MD5 7c99113a11b03599d8494638f6d90b56 python-fchksum-1.1.tar.gz diff --git a/sys-devel/spython/files/digest-spython-2.0-r2 b/sys-devel/spython/files/digest-spython-2.0-r2 deleted file mode 100644 index d5edd17f12a5..000000000000 --- a/sys-devel/spython/files/digest-spython-2.0-r2 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 4751f4619eda0b5ade9d9dd017e7c1ef BeOpen-Python-2.0.tar.bz2 -MD5 7c99113a11b03599d8494638f6d90b56 python-fchksum-1.1.tar.gz diff --git a/sys-devel/spython/files/digest-spython-2.0-r3 b/sys-devel/spython/files/digest-spython-2.0-r3 deleted file mode 100644 index d5edd17f12a5..000000000000 --- a/sys-devel/spython/files/digest-spython-2.0-r3 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 4751f4619eda0b5ade9d9dd017e7c1ef BeOpen-Python-2.0.tar.bz2 -MD5 7c99113a11b03599d8494638f6d90b56 python-fchksum-1.1.tar.gz diff --git a/sys-devel/spython/spython-2.0-r2.ebuild b/sys-devel/spython/spython-2.0-r2.ebuild deleted file mode 100644 index ac031d34f031..000000000000 --- a/sys-devel/spython/spython-2.0-r2.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2000 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Author Daniel Robbins <drobbins@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-devel/spython/spython-2.0-r2.ebuild,v 1.1 2001/01/29 19:27:58 drobbins Exp $ - -S=${WORKDIR}/Python-2.0 -S2=${WORKDIR}/python-fchksum-1.1 -DESCRIPTION="A really great language -- minimalist python environment" -SRC_URI="http://www.python.org/ftp/python/src/BeOpen-Python-2.0.tar.bz2 - http://www.azstarnet.com/~donut/programs/fchksum/python-fchksum-1.1.tar.gz" - -HOMEPAGE="http://www.python.org http://www.azstarnet.com/~donut/programs/fchksum/" -DEPEND=">=sys-libs/gpm-1.19.3" -RDEPEND="$DEPEND >=sys-apps/bash-2.04" -PROVIDE="virtual/python-2.0" - -src_unpack() { - unpack BeOpen-Python-2.0.tar.bz2 - cd ${S}/Modules - sed -e 's:#zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz:zlib zlibmodule.c -lz:' -e 's:#\*shared\*:\*static\*:' -e 's:^TKPATH=\:lib-tk:#TKPATH:' Setup.in > Setup - echo "fchksum fchksum.c md5_2.c" >> Setup - cd ${S}/Modules - -# #patch the dbmmodule to use db3's dbm compatibility code. That way, we're depending on db3 rather than -# #old db1. We'll link with db3, of course. -# cp dbmmodule.c dbmmodule.c.orig -# sed -e '10,25d' -e '26i\' -e '#define DB_DBM_HSEARCH 1\' -e 'static char *which_dbm = "BSD db";\' -e '#include <db3/db.h>' dbmmodule.c.orig > dbmmodule.c - - cp ${FILESDIR}/pfconfig.h . - unpack python-fchksum-1.1.tar.gz - - cd python-fchksum-1.1 - mv md5.h ../md5_2.h - sed -e 's:"md5.h":"md5_2.h":' md5.c > ../md5_2.c - sed -e 's:"md5.h":"md5_2.h":' fchksum.c > ../fchksum.c - - #for some reason, python 2.0 can't find /usr/lib/python2.0 without this fix to the source code. - cd ${S}/Python - cp pythonrun.c pythonrun.c.orig - sed -e 's:static char \*default_home = NULL:static char \*default_home = "/usr":' pythonrun.c.orig > pythonrun.c -} - -src_compile() { - cd ${S} - export LDFLAGS=-static - try ./configure --prefix=/usr --without-libdb - #libdb3 support is available from http://pybsddb.sourceforge.net/; the one - #included with python is for db 1.85 only. - cp Makefile Makefile.orig - sed -e "s/-g -O2/${CFLAGS}/" Makefile.orig > Makefile - cd ${S}/Modules - cp Makefile.pre Makefile.orig - sed -e "s:MODOBJS=:MODOBJS=fchksum.o md5_2.o:" \ - Makefile.orig > Makefile.pre - - # Parallel make does not work - cd ${S} - try make -} - -src_install() { - dodir /usr - try make install prefix=${D}/usr - rm ${D}/usr/bin/python - mv ${D}/usr/bin/python2.0 ${D}/usr/bin/spython - dosym spython /usr/bin/python -} diff --git a/sys-devel/spython/spython-2.0-r3.ebuild b/sys-devel/spython/spython-2.0-r3.ebuild deleted file mode 100644 index f7a47d63e572..000000000000 --- a/sys-devel/spython/spython-2.0-r3.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2000 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Author Daniel Robbins <drobbins@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-devel/spython/spython-2.0-r3.ebuild,v 1.1 2001/02/07 16:07:39 achim Exp $ - -S=${WORKDIR}/Python-2.0 -S2=${WORKDIR}/python-fchksum-1.1 -DESCRIPTION="A really great language -- minimalist python environment" -SRC_URI="http://www.python.org/ftp/python/src/BeOpen-Python-2.0.tar.bz2 - http://www.azstarnet.com/~donut/programs/fchksum/python-fchksum-1.1.tar.gz" - -HOMEPAGE="http://www.python.org http://www.azstarnet.com/~donut/programs/fchksum/" - -DEPEND=">=sys-libs/zlib-1.1.3-r2" -PROVIDE="virtual/python-2.0" - -src_unpack() { - unpack BeOpen-Python-2.0.tar.bz2 - cd ${S}/Modules - sed -e 's:#zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz:zlib zlibmodule.c -lz:' -e 's:#\*shared\*:\*static\*:' -e 's:^TKPATH=\:lib-tk:#TKPATH:' Setup.in > Setup - echo "fchksum fchksum.c md5_2.c" >> Setup - cd ${S}/Modules - - cp ${FILESDIR}/pfconfig.h . - unpack python-fchksum-1.1.tar.gz - - cd python-fchksum-1.1 - mv md5.h ../md5_2.h - sed -e 's:"md5.h":"md5_2.h":' md5.c > ../md5_2.c - sed -e 's:"md5.h":"md5_2.h":' fchksum.c > ../fchksum.c - - #for some reason, python 2.0 can't find /usr/lib/python2.0 without this fix to the source code. - cd ${S}/Python - cp pythonrun.c pythonrun.c.orig - sed -e 's:static char \*default_home = NULL:static char \*default_home = "/usr":' pythonrun.c.orig > pythonrun.c -} - -src_compile() { - cd ${S} - export LDFLAGS=-static - try ./configure --prefix=/usr --without-libdb - #libdb3 support is available from http://pybsddb.sourceforge.net/; the one - #included with python is for db 1.85 only. - cp Makefile Makefile.orig - sed -e "s/-g -O2/${CFLAGS}/" Makefile.orig > Makefile - cd ${S}/Modules - cp Makefile.pre Makefile.orig - sed -e "s:MODOBJS=:MODOBJS=fchksum.o md5_2.o:" \ - Makefile.orig > Makefile.pre - - # Parallel make does not work - cd ${S} - try make -} - -src_install() { - dodir /usr/share/man - try make install prefix=${D}/usr MANDIR=${D}/usr/share/man - rm ${D}/usr/bin/python - mv ${D}/usr/bin/python2.0 ${D}/usr/bin/spython - dosym spython /usr/bin/python -} |