summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Robbins <drobbins@gentoo.org>2001-01-11 23:22:36 +0000
committerDaniel Robbins <drobbins@gentoo.org>2001-01-11 23:22:36 +0000
commit98cdeb73a6996718e06a5ef7a2bd40fdc9258a8d (patch)
treedda3c7fff775e0e0f1bf845fe1aa1dacef45c1f2 /sys-devel/spython
parentwelcome python to its new home (diff)
downloadhistorical-98cdeb73a6996718e06a5ef7a2bd40fdc9258a8d.tar.gz
historical-98cdeb73a6996718e06a5ef7a2bd40fdc9258a8d.tar.bz2
historical-98cdeb73a6996718e06a5ef7a2bd40fdc9258a8d.zip
spython updates
Diffstat (limited to 'sys-devel/spython')
-rw-r--r--sys-devel/spython/spython-1.5.2.ebuild75
-rw-r--r--sys-devel/spython/spython-2.0.ebuild7
2 files changed, 4 insertions, 78 deletions
diff --git a/sys-devel/spython/spython-1.5.2.ebuild b/sys-devel/spython/spython-1.5.2.ebuild
deleted file mode 100644
index 9ee6305e58e6..000000000000
--- a/sys-devel/spython/spython-1.5.2.ebuild
+++ /dev/null
@@ -1,75 +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-1.5.2.ebuild,v 1.3 2000/12/24 14:41:48 achim Exp $
-
-P=spython-1.5.2
-A="py152.tgz python-fchksum-1.1.tar.gz"
-S=${WORKDIR}/Python-1.5.2
-S2=${WORKDIR}/python-fchksum-1.1
-DESCRIPTION="A really great language"
-SRC_URI="http://www.python.org/ftp/python/src/py152.tgz
- 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/gdbm-1.8.0
- >=sys-libs/gpm-1.19.3"
-RDEPEND="$DEPEND
- >=sys-apps/bash-2.04"
-PROVIDE="virtual/python-1.5.2"
-
-src_compile() {
- cd ${S}
- export LDFLAGS=-static
- try ./configure --prefix=/
- 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_unpack() {
- unpack py152.tgz
- cd ${S}/Modules
- sed -e 's/#readline/readline/' -e 's/-lreadline -ltermcap/-lreadline/' \
- -e 's/#_locale/_locale/' -e 's/#crypt/crypt/' -e 's/# -lcrypt/-lcrypt/' \
- -e 's/#syslog/syslog/' -e 's/#curses cursesmodule.c -lcurses -ltermcap/curses cursesmodule.c -lncurses/' \
- -e 's:#gdbm gdbmmodule.c -I/usr/local/include -L/usr/local/lib -lgdbm:gdbm gdbmmodule.c -lgdbm:' \
- -e 's:#zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz:zlib zlibmodule.c -lz:' \
- -e 's:#dbm.*:dbm dbmmodule.c -I/usr/include/db1 -lndbm:' \
- -e 's:#\*shared\*:\*static\*:' \
- -e 's:^TKPATH=\:lib-tk:#TKPATH:' \
- Setup.in > Setup
- echo "fchksum fchksum.c md5_2.c" >> Setup
-
- 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
-}
-
-
-src_install() {
-
- try make install prefix=${D}
- mv ${D}/bin/python ${D}/bin/spython
- mv ${D}/bin/python1.5 ${D}/bin/spython1.5
- # for i in lib-dynload lib-stdwin lib-tk test
- # do
- # rm -r ${D}/lib/python1.5/${i}
- # done
- # rm -r ${D}/include
- rm -r ${D}/man
- dodoc README
-}
-
diff --git a/sys-devel/spython/spython-2.0.ebuild b/sys-devel/spython/spython-2.0.ebuild
index d9a40e431728..a0426244a8b0 100644
--- a/sys-devel/spython/spython-2.0.ebuild
+++ b/sys-devel/spython/spython-2.0.ebuild
@@ -1,7 +1,7 @@
# 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.ebuild,v 1.3 2001/01/11 23:19:27 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/spython/spython-2.0.ebuild,v 1.4 2001/01/11 23:22:36 drobbins Exp $
P=spython-1.5.2
S=${WORKDIR}/Python-2.0
@@ -12,8 +12,9 @@ SRC_URI="http://www.python.org/ftp/python/src/BeOpen-Python-2.0.tar.bz2
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 >=dev-lang/python-2.0"
-PROVIDE="virtual/python-2.0"
+RDEPEND="$DEPEND >=sys-apps/bash-2.04 >=sys-devel/python-2.0"
+#this package is just the static binary so it doesn't provide a full python environment
+#PROVIDE="virtual/python-2.0"
src_unpack() {
unpack BeOpen-Python-2.0.tar.bz2