summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2007-01-05 02:33:12 +0000
committerJoshua Nichols <nichoj@gentoo.org>2007-01-05 02:33:12 +0000
commit144722e1f863a5d1469a613acae5991eef2f3bcf (patch)
treee42c92e3d4f39a003bcd5d0b48d9de679e587934 /dev-java
parentVersion bump #159936 by Frank Zschockelt. (diff)
downloadhistorical-144722e1f863a5d1469a613acae5991eef2f3bcf.tar.gz
historical-144722e1f863a5d1469a613acae5991eef2f3bcf.tar.bz2
historical-144722e1f863a5d1469a613acae5991eef2f3bcf.zip
Initial commit. Added as a dependency of dev-java/jruby.
Package-Manager: portage-2.1.2_rc4-r4
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jline/ChangeLog10
-rw-r--r--dev-java/jline/Manifest20
-rw-r--r--dev-java/jline/files/build-0.9.9.xml77
-rw-r--r--dev-java/jline/files/digest-jline-0.9.93
-rw-r--r--dev-java/jline/jline-0.9.9.ebuild38
-rw-r--r--dev-java/jline/metadata.xml9
6 files changed, 157 insertions, 0 deletions
diff --git a/dev-java/jline/ChangeLog b/dev-java/jline/ChangeLog
new file mode 100644
index 000000000000..2212626bbe2a
--- /dev/null
+++ b/dev-java/jline/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/jline
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jline/ChangeLog,v 1.1 2007/01/05 02:33:12 nichoj Exp $
+
+*jline-0.9.9 (05 Jan 2007)
+
+ 05 Jan 2007; Joshua Nichols <nichoj@gentoo.org> +files/build-0.9.9.xml,
+ +metadata.xml, +jline-0.9.9.ebuild:
+ Initial commit. Added as a dependency of dev-java/jruby.
+
diff --git a/dev-java/jline/Manifest b/dev-java/jline/Manifest
new file mode 100644
index 000000000000..371c662bcbe3
--- /dev/null
+++ b/dev-java/jline/Manifest
@@ -0,0 +1,20 @@
+AUX build-0.9.9.xml 3483 RMD160 31693eabfa651af418938f22175aaf8be3608112 SHA1 d9a1a8ba7a9709c1e873d30cc1b2fd8bb8067a6f SHA256 36ee2d8d6770f8c6fe0a13a94b8cc86682139f902b911b308528ba04b9c08bb2
+MD5 fea58a669e91ad7cb8adc6e47484c153 files/build-0.9.9.xml 3483
+RMD160 31693eabfa651af418938f22175aaf8be3608112 files/build-0.9.9.xml 3483
+SHA256 36ee2d8d6770f8c6fe0a13a94b8cc86682139f902b911b308528ba04b9c08bb2 files/build-0.9.9.xml 3483
+DIST jline-0.9.9.zip 692022 RMD160 62e45ddadf1eb175cf0271df5f8f8d6075f62f07 SHA1 f87ec1bc97bfefcc25d7186f2e94510c57bd9e65 SHA256 f1ac3b06fbb9b81c03555874ab748c3e674644736f0003ac3ed81d6201332e9b
+EBUILD jline-0.9.9.ebuild 989 RMD160 2ff75d3a5ffdfe69cc33f15ab5f4fac907b0ff88 SHA1 5536549f3606f316fe3d8c4b4e2f7da2db2fd1c4 SHA256 62af606060519208ed02b441d183e399d2f5d2e3a2ab106387c03475dbea71c9
+MD5 14fd819fe980a8598a6585a6b1db82ed jline-0.9.9.ebuild 989
+RMD160 2ff75d3a5ffdfe69cc33f15ab5f4fac907b0ff88 jline-0.9.9.ebuild 989
+SHA256 62af606060519208ed02b441d183e399d2f5d2e3a2ab106387c03475dbea71c9 jline-0.9.9.ebuild 989
+MISC ChangeLog 401 RMD160 9956dba49ae5fbd63c2648ea2b7e999b645ab6a2 SHA1 bbbb4adae0aac699cbb458a286aefaaa75d12f6c SHA256 40daccf4929de81c0d68ed32b7379d01b8b1e9c842f8e7343a14144c45d81eda
+MD5 09aa49ddd680060a5f39b846853f8a62 ChangeLog 401
+RMD160 9956dba49ae5fbd63c2648ea2b7e999b645ab6a2 ChangeLog 401
+SHA256 40daccf4929de81c0d68ed32b7379d01b8b1e9c842f8e7343a14144c45d81eda ChangeLog 401
+MISC metadata.xml 252 RMD160 668af83772a7008b999bfe22da86e6d763c58d05 SHA1 7a38c8eea607b775e3b67757b0deda944aa27c65 SHA256 530d1e67c69f08b473ce1a5e7bbab5682e6deee068b27dbb57d459ca61c1290a
+MD5 04e248f270fb5cf8193c02ebd018d503 metadata.xml 252
+RMD160 668af83772a7008b999bfe22da86e6d763c58d05 metadata.xml 252
+SHA256 530d1e67c69f08b473ce1a5e7bbab5682e6deee068b27dbb57d459ca61c1290a metadata.xml 252
+MD5 1f96274dc29bbf19598105039e7106a1 files/digest-jline-0.9.9 226
+RMD160 e0e738a6995c1c505e6bf84b08555c4948d8f65d files/digest-jline-0.9.9 226
+SHA256 b598c193b8fc7f5aba1c3ba65d0427912ce24ece03d5cb1b7588517b00532cd9 files/digest-jline-0.9.9 226
diff --git a/dev-java/jline/files/build-0.9.9.xml b/dev-java/jline/files/build-0.9.9.xml
new file mode 100644
index 000000000000..8ac806c4ad28
--- /dev/null
+++ b/dev-java/jline/files/build-0.9.9.xml
@@ -0,0 +1,77 @@
+<project name="jline" default="jar" basedir=".">
+ <property file="${user.home}/.m2/maven.properties"/>
+ <property name="maven.build.output" value="target/classes"/>
+ <property name="maven.build.directory" value="target"/>
+ <property name="maven.build.final.name" value="jline-0.9.9"/>
+ <property name="maven.test.reports" value="${maven.build.directory}/test-reports"/>
+ <property name="maven.test.output" value="target/test-classes"/>
+ <property name="maven.repo.local" value="${user.home}/.m2/repository"/>
+ <path id="build.classpath">
+ <fileset dir="lib" includes="**/*.jar"/>
+ </path>
+ <target name="clean" description="Clean the output directory">
+ <delete dir="${maven.build.directory}"/>
+ </target>
+ <target name="compile" depends="" description="Compile the code">
+ <mkdir dir="${maven.build.output}"/>
+ <javac destdir="${maven.build.output}" excludes="**/package.html" debug="true" deprecation="true" optimize="false">
+ <src>
+ <pathelement location="src/main/java"/>
+ </src>
+ <classpath refid="build.classpath"/>
+ </javac>
+ <copy todir="${maven.build.output}">
+ <fileset dir="src/main/resources"/>
+ </copy>
+ </target>
+ <target name="jar" depends="compile,test" description="Clean the JAR">
+ <jar jarfile="${maven.build.directory}/${maven.build.final.name}.jar" basedir="${maven.build.output}" excludes="**/package.html"/>
+ </target>
+ <target name="compile-tests" depends="junit-present, compile" description="Compile the test code" if="junit.present">
+ <mkdir dir="${maven.test.output}"/>
+ <javac destdir="${maven.test.output}" excludes="**/package.html" debug="true" deprecation="true" optimize="false">
+ <src>
+ <pathelement location="src/test/java"/>
+ </src>
+ <classpath>
+ <path refid="build.classpath"/>
+ <pathelement location="${maven.build.output}"/>
+ </classpath>
+ </javac>
+ <copy todir="${maven.test.output}">
+ <fileset dir="src/test/resources"/>
+ </copy>
+ </target>
+ <target name="test" depends="junit-present, compile-tests" if="junit.present" description="Run the test cases">
+ <mkdir dir="${maven.test.reports}"/>
+ <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
+ <sysproperty key="basedir" value="."/>
+ <formatter type="xml"/>
+ <formatter type="plain" usefile="false"/>
+ <classpath>
+ <path refid="build.classpath"/>
+ <pathelement location="${maven.build.output}"/>
+ <pathelement location="${maven.test.output}"/>
+ </classpath>
+ <batchtest todir="${maven.test.reports}">
+ <fileset dir="src/test/java">
+ <include name="**/*Test.java"/>
+ <exclude name="**/*Abstract*Test.java"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ </target>
+ <target name="test-junit-present">
+ <available classname="junit.framework.Test" property="junit.present"/>
+ </target>
+ <target name="junit-present" depends="test-junit-present" unless="junit.present">
+ <echo>================================= WARNING ================================</echo>
+ <echo> Junit isn&apos;t present in your $ANT_HOME/lib directory. Tests not executed. </echo>
+ <echo>==========================================================================</echo>
+ </target>
+ <target name="test-offline">
+ <condition property="maven.mode.offline">
+ <equals arg1="${build.sysclasspath}" arg2="only"/>
+ </condition>
+ </target>
+</project>
diff --git a/dev-java/jline/files/digest-jline-0.9.9 b/dev-java/jline/files/digest-jline-0.9.9
new file mode 100644
index 000000000000..f5517e92a160
--- /dev/null
+++ b/dev-java/jline/files/digest-jline-0.9.9
@@ -0,0 +1,3 @@
+MD5 c5164fb17d33315fa2c1ad10ab84aef7 jline-0.9.9.zip 692022
+RMD160 62e45ddadf1eb175cf0271df5f8f8d6075f62f07 jline-0.9.9.zip 692022
+SHA256 f1ac3b06fbb9b81c03555874ab748c3e674644736f0003ac3ed81d6201332e9b jline-0.9.9.zip 692022
diff --git a/dev-java/jline/jline-0.9.9.ebuild b/dev-java/jline/jline-0.9.9.ebuild
new file mode 100644
index 000000000000..71c37b8672f3
--- /dev/null
+++ b/dev-java/jline/jline-0.9.9.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jline/jline-0.9.9.ebuild,v 1.1 2007/01/05 02:33:12 nichoj Exp $
+
+inherit java-pkg-2
+
+DESCRIPTION="A Java library for handling console input"
+HOMEPAGE="http://jline.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.zip"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="source"
+
+DEPEND=">=virtual/jdk-1.4
+ dev-java/ant-core
+ app-arch/unzip
+ source? ( app-arch/zip )"
+RDEPEND=">=virtual/jre-1.4"
+
+S="${WORKDIR}/${P}/src"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ mkdir lib
+ # we don't support maven for building yet. this build.xml was generated by:
+ # - mvn ant:ant
+ # - tweak build.xml to use <fileset dir="lib" includes="**/*.jar" for
+ # build.classpath
+ cp ${FILESDIR}/build-${PV}.xml build.xml || die "failed to copy build.xml"
+}
+
+src_install() {
+ java-pkg_newjar target/${P}.jar
+ use source && java-pkg_dosrc src/main/java
+}
diff --git a/dev-java/jline/metadata.xml b/dev-java/jline/metadata.xml
new file mode 100644
index 000000000000..b0864a093b93
--- /dev/null
+++ b/dev-java/jline/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <maintainer>
+ <email>nichoj@gentoo.org</email>
+ <name>Joshua Nichols</name>
+ </maintainer>
+</pkgmetadata>