diff options
author | Ralph Sennhauser <sera@gentoo.org> | 2012-01-24 15:45:44 +0000 |
---|---|---|
committer | Ralph Sennhauser <sera@gentoo.org> | 2012-01-24 15:45:44 +0000 |
commit | 738f39bd7c53a083029f8024fcf3207d612bc282 (patch) | |
tree | f4eb362619cb561edb7b5f145143c00bd2a2c6b1 /dev-java | |
parent | Version bumped. (diff) | |
download | historical-738f39bd7c53a083029f8024fcf3207d612bc282.tar.gz historical-738f39bd7c53a083029f8024fcf3207d612bc282.tar.bz2 historical-738f39bd7c53a083029f8024fcf3207d612bc282.zip |
Version bump, add javadocs.
Package-Manager: portage-2.1.10.44/cvs/Linux x86_64
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/bytelist/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/bytelist/Manifest | 19 | ||||
-rw-r--r-- | dev-java/bytelist/bytelist-1.0.9.ebuild | 50 | ||||
-rw-r--r-- | dev-java/bytelist/files/maven-build.xml | 219 |
4 files changed, 295 insertions, 3 deletions
diff --git a/dev-java/bytelist/ChangeLog b/dev-java/bytelist/ChangeLog index e7886cd94ac1..57eb68db653e 100644 --- a/dev-java/bytelist/ChangeLog +++ b/dev-java/bytelist/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/bytelist -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/bytelist/ChangeLog,v 1.14 2010/10/17 12:30:32 caster Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/bytelist/ChangeLog,v 1.15 2012/01/24 15:45:44 sera Exp $ + +*bytelist-1.0.9 (24 Jan 2012) + + 24 Jan 2012; Ralph Sennhauser <sera@gentoo.org> +bytelist-1.0.9.ebuild, + +files/maven-build.xml: + Version bump, add javadocs 17 Oct 2010; Vlastimil Babka <caster@gentoo.org> -bytelist-1.0.ebuild, -bytelist-1.0.2.ebuild: diff --git a/dev-java/bytelist/Manifest b/dev-java/bytelist/Manifest index 0be30c964e51..3b12ce5fed3f 100644 --- a/dev-java/bytelist/Manifest +++ b/dev-java/bytelist/Manifest @@ -1,4 +1,21 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX maven-build.xml 8736 RMD160 33bbd418b42a34170e023ac45c51bde774be7148 SHA1 00d6de9a5bfc784f5b8b69a072e9762b0e76697d SHA256 8e42d031de2f2a808a300b1a298e6c6b9cba97d6a219cceea230d46a7a3fee41 DIST bytelist-1.0.6.tar.gz 14671 RMD160 c196241e37b25039c0182d6a207dc368718132cb SHA1 15791608bc502844442bdde5667ceffb7fd77d75 SHA256 acd91beba657553fa6cab7ee22cba5c49df7368591ed5d390d61c924820bcb87 +DIST bytelist-1.0.9.tar.gz 17407 RMD160 cd41d9338afd654c92dc5f5899fb10f83ddd3963 SHA1 6e28cf0aee1cca54f5899c42d2ca8ea2d9df588e SHA256 0a37ccd1ef98fbe82082de99b2194ccd2760f48db939cc008fdece5a043e03ae EBUILD bytelist-1.0.6.ebuild 990 RMD160 974aad1a13692342b1271ec3638dfdabffa6f51c SHA1 662e73e291b57cf20c7790e1527e4554ae1a11ee SHA256 6fc93e61eb01cf084addf79412f0cfdff4567dd0d07a9d48f0dcfbcef16183ab -MISC ChangeLog 1845 RMD160 322f741e014bf228437bef7b78172edc634f9e99 SHA1 26aeb84e110bde8119f5692017cbe9a90dbb88ea SHA256 82cd0ecb8873f3bb49343ce1c3a91ad7e32bdf1c6895ab7c43c69dbbcf6b072a +EBUILD bytelist-1.0.9.ebuild 1086 RMD160 aeec5d095bd1c7e132fd9db4abce0917a58e10d6 SHA1 e7bad52fd1eecf328f0558d4122b21303bb40854 SHA256 d25011245f245e95f856992f45ea36db82e2d16d8398a79b1adedbdd6b2e0cd2 +MISC ChangeLog 2004 RMD160 f261131185874821b4c65b80a5e2981738df1f55 SHA1 870c4a70d0aecf1486cbcd4fec280be07aa153d0 SHA256 7d999b204ca988acbaf3339939adf0f358235994ac93d3a9436746fe319587c6 MISC metadata.xml 217 RMD160 6a03b58e975ef9766c1ba359b8cf73372aae1409 SHA1 9661e29f710f8b88d1ebad0d7cfa2716ae869b51 SHA256 00a5772b0da0819b665dba21d321e4e2393c818907d38678d179cafd5036c7f2 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iQEcBAEBAgAGBQJPHtI3AAoJEIUJ+svaV163eg4IAIeRLD9YVRDd3tLGJvYRRkYt +IOTbPtkHGj+Z4sCq3PchMnCFWnGJWfD7Ud9OtsnzmYT2y/cF9mYx6cbx0mf6Asy7 +URewOXlBi4u4XcBjkH2FxXk7T+TfjG8qdwvKD2UFZM0ESJtF8pdEJJQvRH1jYIz/ +U6t5K64HNoy9xhejCrpQOimyq/RE8pnX3VKjmOGlDD4Cvobm2jJUyNGvevpNS5Mv +35ISrT95cSp3lFaVdW1W6voBuzwb00LM7VhNHDGndjOfERbu9LHhy3STfED0OkQY +LVQGSz01ErmuYLwp+9ycD+kv6C2OPZ6aLSyw0aP7UOotMRZFD9PX320kwqzmeHc= +=BVzA +-----END PGP SIGNATURE----- diff --git a/dev-java/bytelist/bytelist-1.0.9.ebuild b/dev-java/bytelist/bytelist-1.0.9.ebuild new file mode 100644 index 000000000000..300583d13d84 --- /dev/null +++ b/dev-java/bytelist/bytelist-1.0.9.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/bytelist/bytelist-1.0.9.ebuild,v 1.1 2012/01/24 15:45:44 sera Exp $ + +EAPI=4 + +JAVA_PKG_IUSE="doc source test" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="JRuby support library" +HOMEPAGE="http://jruby.codehaus.org/" +SRC_URI="https://github.com/jruby/${PN}/tarball/${PV} -> ${P}.tar.gz" + +LICENSE="|| ( CPL-1.0 GPL-2 LGPL-2.1 )" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="" + +COMMON_DEP=" + dev-java/jcodings:0" +RDEPEND="${COMMON_DEP} + >=virtual/jre-1.5" +DEPEND="${COMMON_DEP} + >=virtual/jdk-1.5 + test? ( dev-java/ant-junit:0 )" + +src_unpack() { + default + mv jruby-${PN}-* ${P} || die +} + +java_prepare() { + cp "${FILESDIR}"/maven-build.xml build.xml || die +} + +JAVA_ANT_REWRITE_CLASSPATH="true" + +EANT_GENTOO_CLASSPATH="jcodings" + +src_test() { + java-pkg-2_src_test +} + +src_install() { + java-pkg_dojar target/${PN}.jar + + use doc && java-pkg_dojavadoc target/site/apidocs + use source && java-pkg_dosrc src/* +} diff --git a/dev-java/bytelist/files/maven-build.xml b/dev-java/bytelist/files/maven-build.xml new file mode 100644 index 000000000000..ee880775a409 --- /dev/null +++ b/dev-java/bytelist/files/maven-build.xml @@ -0,0 +1,219 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<project name="bytelist-from-maven" default="package" basedir="."> + + <!-- ====================================================================== --> + <!-- Build environment properties --> + <!-- ====================================================================== --> + + <property file="${user.home}/.m2/maven.properties"/> + <property file="maven-build.properties"/> + + <property name="maven.build.finalName" value="bytelist"/> + <property name="maven.build.dir" value="target"/> + <property name="maven.build.outputDir" value="${maven.build.dir}/classes"/> + <property name="maven.build.srcDir.0" value="src"/> + <property name="maven.build.resourceDir.0" value="src/main/resources"/> + <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/> + <property name="maven.build.testDir.0" value="test"/> + <property name="maven.build.testResourceDir.0" value="src/test/resources"/> + <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/> + <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/> + + <property name="maven.repo.local" value="${user.home}/.m2/repository"/> + <property name="maven.settings.offline" value="false"/> + <property name="maven.settings.interactiveMode" value="true"/> + + <!-- ====================================================================== --> + <!-- Defining classpaths --> + <!-- ====================================================================== --> + + <path id="build.classpath"> + </path> + <path id="build.test.classpath"> + </path> + + <!-- ====================================================================== --> + <!-- Cleaning up target --> + <!-- ====================================================================== --> + + <target name="clean" description="Clean the output directory"> + <delete dir="${maven.build.dir}"/> + </target> + + <!-- ====================================================================== --> + <!-- Compilation target --> + <!-- ====================================================================== --> + + <target name="compile" depends="get-deps" description="Compile the code"> + <mkdir dir="${maven.build.outputDir}"/> + <javac destdir="${maven.build.outputDir}" + nowarn="false" + debug="true" + optimize="false" + deprecation="true" + target="1.5" + verbose="false" + fork="false" + source="1.5"> + <src> + <pathelement location="${maven.build.srcDir.0}"/> + </src> + <classpath refid="build.classpath"/> + </javac> + </target> + + <!-- ====================================================================== --> + <!-- Test-compilation target --> + <!-- ====================================================================== --> + + <target name="compile-tests" + depends="compile" + description="Compile the test code" + unless="maven.test.skip"> + <mkdir dir="${maven.build.testOutputDir}"/> + <javac destdir="${maven.build.testOutputDir}" + nowarn="false" + debug="true" + optimize="false" + deprecation="true" + target="1.5" + verbose="false" + fork="false" + source="1.5"> + <src> + <pathelement location="${maven.build.testDir.0}"/> + </src> + <classpath> + <path refid="build.test.classpath"/> + <pathelement location="${maven.build.outputDir}"/> + </classpath> + </javac> + </target> + + <!-- ====================================================================== --> + <!-- Run all tests --> + <!-- ====================================================================== --> + + <target name="test" + depends="compile-tests, junit-missing" + unless="junit.skipped" + 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.test.classpath"/> + <pathelement location="${maven.build.outputDir}"/> + <pathelement location="${maven.build.testOutputDir}"/> + </classpath> + <batchtest todir="${maven.test.reports}" unless="test"> + <fileset dir="${maven.build.testDir.0}"> + <include name="**/Test*.java"/> + <include name="**/*Test.java"/> + <include name="**/*TestCase.java"/> + <exclude name="**/*Abstract*Test.java"/> + </fileset> + </batchtest> + <batchtest todir="${maven.test.reports}" if="test"> + <fileset dir="${maven.build.testDir.0}"> + <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="test-junit-status" + depends="test-junit-present"> + <condition property="junit.missing"> + <and> + <isfalse value="${junit.present}"/> + <isfalse value="${maven.test.skip}"/> + </and> + </condition> + <condition property="junit.skipped"> + <or> + <isfalse value="${junit.present}"/> + <istrue value="${maven.test.skip}"/> + </or> + </condition> + </target> + + <target name="junit-missing" + depends="test-junit-status" + if="junit.missing"> + <echo>=================================== WARNING ===================================</echo> + <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo> + <echo>===============================================================================</echo> + </target> + + <!-- ====================================================================== --> + <!-- Javadoc target --> + <!-- ====================================================================== --> + + <target name="javadoc" description="Generates the Javadoc of the application"> + <javadoc sourcepath="${maven.build.srcDir.0}" + packagenames="*" + destdir="${maven.reporting.outputDirectory}/apidocs" + access="protected" + old="false" + verbose="false" + version="true" + use="true" + author="true" + splitindex="false" + nodeprecated="false" + nodeprecatedlist="false" + notree="false" + noindex="false" + nohelp="false" + nonavbar="false" + serialwarn="false" + charset="ISO-8859-1" + linksource="false" + breakiterator="false"/> + </target> + + <!-- ====================================================================== --> + <!-- Package target --> + <!-- ====================================================================== --> + + <target name="package" depends="compile,test" description="Package the application"> + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" + manifest="MANIFEST.MF" + basedir="${maven.build.outputDir}" + excludes="**/package.html"/> + </target> + + <!-- ====================================================================== --> + <!-- A dummy target for the package named after the type it creates --> + <!-- ====================================================================== --> + + <target name="jar" depends="package" description="Builds the jar for the application"/> + + <!-- ====================================================================== --> + <!-- Download dependencies target --> + <!-- ====================================================================== --> + + <target name="test-offline"> + <condition property="maven.mode.offline"> + <equals arg1="${maven.settings.offline}" arg2="true"/> + </condition> + </target> + + <target name="get-deps" + depends="test-offline" + description="Download all dependencies" + unless="maven.mode.offline"> + </target> + +</project> |