Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/languages
In directory 
sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv16594/10.4/unstable/main/finkinfo/languages

Added Files:
        jython.info jython.patch 
Log Message:
xerces-j url fix, and jython 2.3

--- NEW FILE: jython.patch ---
diff -uNr jython-2.3-cvs/build.xml jython-2.3-cvs-new/build.xml
--- jython-2.3-cvs/build.xml    2006-06-27 00:48:41.000000000 -0400
+++ jython-2.3-cvs-new/build.xml        2006-06-27 10:32:07.000000000 -0400
@@ -516,7 +516,7 @@
         <!-- copy the CPython license -->
         <echo>copy CPython LICENSE from ${python.home} to 
${dist.dir}/LICENSE_CPython.txt</echo>
         <!-- +++ TODO: checkout the CPython LICENSE (not: .txt) and copy from 
there -->
-        <copy file="${python.home}/LICENSE.txt" 
tofile="${dist.dir}/LICENSE_CPython.txt" preservelastmodified="true" />
+        <copy file="${python.home}/LICENSE" 
tofile="${dist.dir}/LICENSE_CPython.txt" preservelastmodified="true" />
 
         <!-- sources: todir has to correspond with 
installer/**/JarInstaller.java -->
         <echo>copy sources from ${jython.base.dir}</echo>

--- NEW FILE: jython.info ---
Package: jython
Version: 2.3
Revision: 0.20060627.1
CustomMirror: <<
  nam-US: http://ranger.befunk.com/fink
  nam-US: http://astrange.ithinksw.net/ranger-fink
  nam-CA: http://www.southofheaven.net/befunk
<<
Type: java(1.4)
Source: mirror:custom:jython-2.3-20060627.tar.bz2
Source-MD5: e15058ca1e3efdc29b5ca9a9d8c568a2
SourceDirectory: jython-%v-cvs
Source2: http://python.org/ftp/python/2.3.5/Python-2.3.5.tgz
Source2-MD5: 7a1ecc1196c5c0e9d4eef90ba684c4e9
Source2ExtractDir: jython-%v-cvs
Patch: %n.patch
BuildDepends: fink (>= 0.22.2-1), ht2html, jakarta-oro, jakarta-servletapi, 
mysql-java, postgresql-java | postgresql-ssl-java, python23, pyxml-py23, 
readline-java, system-java14-dev
Depends: jakarta-oro, jakarta-servletapi, mysql-java, postgresql-java | 
postgresql-ssl-java, python23, pyxml-py23, readline-java, system-java14 | 
system-java15
CompileScript: <<
#!/bin/sh -xe

        find . -name \*.jar -exec rm -rf {} \; || :
        find . -type d -name CVS -exec rm -rf {} \; || :
        export ARGS="-Dpython.home=./Python-2.3.5 
-Dpython.lib=./Python-2.3.5/Lib -DPyXmlHome=%p/lib/python2.3 
-Dht2html.dir=%p/lib/ht2html -DjavaccHome=%p 
-Djavacc.jar=%p/share/java/javacc/javacc.jar -Ddeveloper-build-called=true 
-Dfull-build=true -Dpython.exe=%p/bin/python2.3"
        ant $ARGS copy-dist
<<
InstallScript: <<
#!/bin/sh -xe

  # documentation
  install -d -m 755 %i/share/doc/%n
  mv dist/Doc/javadoc %i/share/doc/%n/

  # data
  find dist/Lib -type d -name test | xargs rm -rf
  install -d -m 755 %i/share/%n
  cp -pr dist/Lib %i/share/%n/
  cp -pr dist/Tools %i/share/%n/
  cp -pr dist/Demo %i/share/%n/
  install -m 644 registry %i/share/%n/

  # binaries
  install -d -m 755 %i/bin
  cat <<END >%i/bin/%n
#!/bin/sh

source %p/bin/init.sh
export DYLD_LIBRARY_PATH="%p/lib:\$DYLD_LIBRARY_PATH"

# Source system prefs
if [ -f %p/etc/%n.conf ] ; then
  . %p/etc/%n.conf
fi

# Source user prefs
if [ -f \$HOME/.%nrc ] ; then
  . \$HOME/.%nrc
fi

# Configuration
MAIN_CLASS="org.python.util.%n"
BASE_FLAGS=-Dpython.home="%p/share/%n"

if [ -f %p/lib/libJavaReadline.jnilib ]; then
  BASE_FLAGS="\$BASE_FLAGS -Dpython.console=org.python.util.ReadlineConsole"
  BASE_FLAGS="\$BASE_FLAGS -Djava.library.path=%p/lib"
  BASE_FLAGS="\$BASE_FLAGS -Dpython.console.readlinelib=GnuReadline"
fi

java \$MAIN_CLASS \$BASE_FLAGS "\$@"
END

cat <<END >%i/bin/jythonc
#!/bin/sh

%p/bin/%n %p/share/%n/Tools/jythonc/jythonc.py "\$@"
END

  chmod 755 %i/bin/*
rm -f %i/share/%n/Lib/UserDict.py
<<
JarFiles: dist/*.jar
Homepage: http://www.jython.org/
Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
Description: Implementation of Python in Java
DescDetail: <<
Jython is an implementation of the high-level, dynamic, object-oriented
language Python written in 100% Pure Java, and seamlessly integrated
with the Java platform.  It thus allows you to run Python on any Java
platform.
<<
License: BSD


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to