# ChangeLog for dev-java/joda-time
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/joda-time/ChangeLog,v 1.17 2007/02/03 12:52:58 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/joda-time/ChangeLog,v 1.18 2007/02/04 00:06:42 caster Exp $
+
+ 04 Feb 2007; Vlastimil Babka <caster@gentoo.org> -joda-time-0.95.ebuild:
+ Cleanup.
03 Feb 2007; Steve Dibb <beandog@gentoo.org> joda-time-1.3.ebuild:
amd64 stable, bug 161760
+++ /dev/null
-MD5 610180a318af3afc21eeb65863ff8f75 joda-time-0.95-src.tar.gz 804251
-RMD160 6e7a8970de756fe587b044cfb7d866537a711775 joda-time-0.95-src.tar.gz 804251
-SHA256 0f52e83fb9916758fb859035cac5e4aeb570defa278647f9835b38345fc95a79 joda-time-0.95-src.tar.gz 804251
+++ /dev/null
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/joda-time/joda-time-0.95.ebuild,v 1.9 2005/07/15 22:37:03 axxo Exp $
-
-inherit java-pkg
-
-DESCRIPTION="Joda-Time is an open-source project to provide a quality Java date and time API."
-HOMEPAGE="http://joda-time.sourceforge.net/"
-SRC_URI="mirror://sourceforge/joda-time/${P}-src.tar.gz"
-LICENSE="joda"
-SLOT="0"
-KEYWORDS="x86 amd64"
-IUSE="doc jikes"
-
-DEPEND=">=virtual/jdk-1.3
- >=dev-java/ant-1.4
- jikes? ( dev-java/jikes )"
-RDEPEND=">=virtual/jre-1.3"
-
-src_compile() {
- local antflags="jar"
- use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
- use doc && antflags="${antflags} javadoc"
- ant ${antflags} || die "compile problem"
-}
-
-src_install() {
- java-pkg_dojar build/*.jar
- use doc && java-pkg_dohtml -r build/docs/
-}
# ChangeLog for dev-java/jython
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jython/ChangeLog,v 1.47 2007/02/03 12:56:40 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jython/ChangeLog,v 1.48 2007/02/04 00:11:13 caster Exp $
+
+ 04 Feb 2007; Vlastimil Babka <caster@gentoo.org> -files/jython,
+ -files/jythonc, -jython-2.1-r6.ebuild:
+ Cleanup.
03 Feb 2007; Steve Dibb <beandog@gentoo.org> jython-2.1-r10.ebuild:
amd64 stable, bug 162038
+++ /dev/null
-MD5 74f21a0185135396c71453bc279c179f jython-2.1.tar.bz2 1301528
-RMD160 94ae22604c1a816af7d066f2ed88b2abaf5c51d1 jython-2.1.tar.bz2 1301528
-SHA256 faa57a55d137268e80221cd628b234ca67de13504b813be1c0499c9f4d5872b2 jython-2.1.tar.bz2 1301528
+++ /dev/null
-#!/bin/sh
-
-exec $(java-config --java) \
- -Djava.library.path="$(java-config -i libreadline-java)" \
- -Dpython.home="/usr/share/jython" \
- -classpath "${CLASSPATH}:$(java-config --classpath=jython,libreadline-java 2>/dev/null)" \
- "org.python.util.jython" "$@"
+++ /dev/null
-#!/bin/sh
-jython "/usr/share/jython/tools/jythonc/jythonc.py" "$@"
+++ /dev/null
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jython/jython-2.1-r6.ebuild,v 1.6 2007/01/21 10:36:57 betelgeuse Exp $
-
-inherit java-pkg
-
-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"
-SRC_URI="mirror://gentoo/${P}.tar.bz2"
-LICENSE="JPython"
-SLOT="0"
-KEYWORDS="x86 ppc amd64 ppc64"
-IUSE="readline jikes source doc"
-# servlet
-
-RDEPEND=">=virtual/jre-1.2
- readline? ( >=dev-java/libreadline-java-0.8.0 )
- jikes? ( >=dev-java/jikes-1.18 )"
-# servlet? ( >=net-www/tomcat-5.0 )
-DEPEND=">=virtual/jdk-1.2
- source? ( app-arch/zip )
- ${RDEPEND}"
-
-src_compile() {
- javac=$(java-config -c)
- if use jikes ; then
- java=$(which jikes)
- fi
-
- local cp="."
- local exclude=""
-
- if use readline ; then
- cp=${cp}:$(java-pkg_getjars libreadline-java)
- else
- exclude="${exclude} ! -name ReadlineConsole.java"
- fi
-
- #if use servlet; then
- # cp=${cp}:$(java-pkg_getjars servlet)
- #else
- exclude="${exclude} ! -name PyServlet.java"
- #fi
-
- find org -name "*.java" ${exclude} | xargs ${javac} -source 1.3 -classpath ${cp} -nowarn || die "Failed to compile"
-
- find org -name "*.class" | xargs jar cf ${PN}.jar
-}
-
-src_install() {
- java-pkg_dojar ${PN}.jar
-
- dodoc README.txt NEWS ACKNOWLEDGMENTS
- use doc && java-pkg_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
-
- rm Demo/jreload/example.jar
- insinto /usr/share/${PN}
- doins -r Lib Demo registry
-
- insinto /usr/share/${PN}/tools
- doins -r Tools/*
-
- use source && java-pkg_dosrc com org
-}
-
-pkg_postinst() {
- if use readline; then
- elog "To use readline you need to add the following to your registry"
- elog
- elog "python.console=org.python.util.ReadlineConsole"
- elog "python.console.readlinelib=GnuReadline"
- elog
- elog "The global registry can be found in /usr/share/${PN}/registry"
- elog "User registry in \$HOME/.jython"
- elog "See http://www.jython.org/docs/registry.html for more information"
- fi
-}