summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2004-09-10 10:05:33 +0000
committerThomas Matthijs <axxo@gentoo.org>2004-09-10 10:05:33 +0000
commitfd93b8afc4a29a89ea405247e9933b7e69455f43 (patch)
treee2c8e1c2495654d7dc9d645cdeabc20dba4c4714 /dev-java/jython
parentinstall the registry file, add the library path to the wrapper, added a comme... (diff)
downloadgentoo-2-fd93b8afc4a29a89ea405247e9933b7e69455f43.tar.gz
gentoo-2-fd93b8afc4a29a89ea405247e9933b7e69455f43.tar.bz2
gentoo-2-fd93b8afc4a29a89ea405247e9933b7e69455f43.zip
prune old ebuild
Diffstat (limited to 'dev-java/jython')
-rw-r--r--dev-java/jython/files/digest-jython-2.1-r41
-rw-r--r--dev-java/jython/jython-2.1-r4.ebuild83
2 files changed, 0 insertions, 84 deletions
diff --git a/dev-java/jython/files/digest-jython-2.1-r4 b/dev-java/jython/files/digest-jython-2.1-r4
deleted file mode 100644
index de8e46ef8258..000000000000
--- a/dev-java/jython/files/digest-jython-2.1-r4
+++ /dev/null
@@ -1 +0,0 @@
-MD5 e3e6be56646fb7cd6d19a6a69bd76e2f jython-21.class 2780547
diff --git a/dev-java/jython/jython-2.1-r4.ebuild b/dev-java/jython/jython-2.1-r4.ebuild
deleted file mode 100644
index 86d8a6df69dc..000000000000
--- a/dev-java/jython/jython-2.1-r4.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jython/jython-2.1-r4.ebuild,v 1.5 2004/09/03 15:20:35 axxo Exp $
-
-DESCRIPTION="An implementation of Python written in Java"
-HOMEPAGE="http://www.jython.org"
-MY_PV="21"
-SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.class"
-LICENSE="JPython"
-SLOT="0"
-KEYWORDS="x86 ppc"
-IUSE="readline jikes"
-# servlet
-
-DEPEND=">=virtual/jdk-1.2
- readline? ( >=dev-java/libreadline-java-0.8.0 )
- jikes? ( >=dev-java/jikes-1.18 )
- !dev-java/jython-bin"
-# servlet? ( >=net-www/tomcat-5.0 )
-
-src_unpack() {
- addwrite .hotspot
- cd ${DISTDIR}
- java ${PN}-${MY_PV} -o ${S}/ demo lib source
-}
-
-compile_set() {
- for x in $* ; do
- if [ -d $x ] ; then
- find $* -name "*.java" | xargs ${javac} -source 1.3 -nowarn || die "Failed to compile"
- else
- ${javac} -source 1.3 -nowarn $x || die "Failed to compile"
- fi
- done
-}
-
-src_compile() {
-
- javac=$(java-config -c)
- if use jikes ; then
- java=$(which jikes)
- fi
-
- # 2004-07-31: karltk
- # Hack to not clutter up the CLASSPATH env var globally
- oldCLASSPATH=${CLASSPATH}
-
- export CLASSPATH=${CLASSPATH}:.
-
- compile_set org/python/core org/python/rmi org/python/parser
- compile_set org/python/util/jython.java
-
- if use readline ; then
- export CLASSPATH="${CLASSPATH}:$(java-config -p libreadline-java)"
- compile_set org/python/util/ReadlineConsole.java
- fi
-
- # 2004-07-31: karltk
- # Need to add back in most of org/python/modules/
-# if use servlet ; then
-# CLASSPATH="${CLASSPATH}:$(java-config -p servlet)"
-# compile_set org/python/util/PyServlet.java
-# fi
-
- find org -name "*.class" | xargs jar cf jython-${PV}.jar
-
- export CLASSPATH=${oldCLASSPATH}
-}
-
-src_install() {
- dojar jython-${PV}.jar
- dodoc {README,LICENSE}.txt NEWS ACKNOWLEDGMENTS
- dohtml -A .css .jpg .gif -r Doc
- newbin ${FILESDIR}/jython jython
- newbin ${FILESDIR}/jythonc jythonc
-
- dodir /usr/share/jython/cachedir
- chmod a+rw ${D}/usr/share/jython/cachedir
-
- cp -R Lib/* ${D}/usr/share/${PN}/lib/
- mkdir ${D}/usr/share/${PN}/tools/
- cp -R Tools/* ${D}/usr/share/${PN}/tools/
-}