diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/jcodings |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/jcodings')
-rw-r--r-- | dev-java/jcodings/Manifest | 10 | ||||
-rw-r--r-- | dev-java/jcodings/files/maven-build.xml | 176 | ||||
-rw-r--r-- | dev-java/jcodings/jcodings-1.0.11.ebuild | 40 | ||||
-rw-r--r-- | dev-java/jcodings/jcodings-1.0.4.ebuild | 29 | ||||
-rw-r--r-- | dev-java/jcodings/jcodings-1.0.5.ebuild | 36 | ||||
-rw-r--r-- | dev-java/jcodings/metadata.xml | 11 |
6 files changed, 302 insertions, 0 deletions
diff --git a/dev-java/jcodings/Manifest b/dev-java/jcodings/Manifest new file mode 100644 index 000000000000..aedb47b67f2a --- /dev/null +++ b/dev-java/jcodings/Manifest @@ -0,0 +1,10 @@ +AUX maven-build.xml 7254 SHA256 70d00599492b6889a07f4ab27d8ef08df173ba5fda5bb299523f0a2ef8227252 SHA512 0735062e262c9abcb3649ef48d87a9d7489d0d980ee9c77c1e7b6aff4f386344d423403dc54e4d1ae08606adbe1ffea4ac4cf531d4cf1cb2dcf21f1ab95571ad WHIRLPOOL 91b0e092b5ba49e540af8a1ea162918678779ba89220b75594e971d9ff6e1561dc8504072b4d6f989f56a54e61a3657bd14bf4ab0155989efaee336b78bc75ff +DIST jcodings-1.0.11.tar.gz 123802 SHA256 b96089463e291ae73215504eb0db876f864e394c767740fbddefac751850542f SHA512 6bff29718ff04fd2f52cff767440d87f3dcb0f4acf71ee7b037241af7ef7533284176f53d08da5b1f37c643b766f4a9113651c994d1893ef302a2056d9ff40f3 WHIRLPOOL 27d5b402a3bc822d126365f4bbc5f3dd87bbcdf69720634333f9b04c4e19ecb00a4af25e676b7b5de81a3f7debaafa8d5b14f6da3aa0583248f96d8b4b3701df +DIST jcodings-1.0.4-git.tar.gz 90294 SHA256 25332bd415cb0fa997e5f89e37d1c5ebb259629f5be5796c377e0b0624a1767e SHA512 49cdccbb27c9c6859447fa783b22dcd4fa1b9bb6fe9af3e8bddfe3ca4cd62850e4d6c51589481503dba9ea5e27139407834c9163063b74e960bf848ed4f9531e WHIRLPOOL e753dd6a0256de610f65e15eb0988b1790064175ab3027362b8399f11093f8c088399fb9348eb3717ce8bc6803bcb9bcefb2d2f61526fff2b707870ce5cfe7a5 +DIST jcodings-1.0.5-git.tar.gz 90788 SHA256 a5195911c9fc6fb911200b4939acb60ea97c70429da025b02cb03cae8e09f4c4 SHA512 a0122eea18077daefdcf38ec9e6f12b000c558837835fe900f6e0c282fdfcf95dbb10652b4cfeb32e556ae8ebe1aec8c10e4a352cdb565837b2f16335140f8e3 WHIRLPOOL f9b31545169f9539d8c3078a56c721594982b666cffedaf0541243051b1e0237d2169eb414e1105e4b6948ea86f382975d7792d0ca76cb84d9d1165cd78db497 +EBUILD jcodings-1.0.11.ebuild 828 SHA256 ca733cdca5b71f123adbf15ed523bb7c29206972d1937b60653b26ce808b066a SHA512 f4495874eda08d74cb2639c5a584ef789344d54a3ea6684d96c15df960ef54fb155d3a2ad7ad342d495435e406931550a63f69dd3dafbe51af333a85a5b4ea9c WHIRLPOOL caa1e74afaed2625a8f72dee41ff301a4e73b274050bf8c4d966fcb2f798f94b90f27b8c9be02d9a6dd255997116015b1512a3c1a425f5024a87f3fd8c2adcbd +EBUILD jcodings-1.0.4.ebuild 732 SHA256 b65d265d201ea859c1bd703dead3f1430455abee982ba113cd986d71371801d8 SHA512 4592a5f24ec84d056d3c46e9459d4fe9fe951a1fde6cbd8c7b08a9dbc4c40d1f5a420c6f0962e976e3ed9ce829d1cd99defd88dbc78708c16d8d5d81d7ab7976 WHIRLPOOL fa305ab364c51779a9ae3113326d0bc02045d4bf9d5abda6fec3d79c0f1fd13ecae84c2c22431d0f5c1b9e0761190a2246109c9503b3af8dc23b6e33d0d094fe +EBUILD jcodings-1.0.5.ebuild 763 SHA256 1ec426b7c8938c97519910b2e0aab17cda22e46687d5f9ae1af567a900532e42 SHA512 bda1b75cbfef5252d46fa1f927775727fd73c306c62e6c2095a5cbbe4a39c9acf318fd0added610fb29c2d39fee198eb3a856fe500aef8199e13c80f5fc435e8 WHIRLPOOL 49208f31626c43a3755e3b9b77beadb7ce417a67732d41f15c4ac39b62ad09c58f3a0063742ba355cc489a6a0837ffb3f776ee17933d76e8a36295e19e60857a +MISC ChangeLog 3114 SHA256 8844374ba3dff0b7ac0b3e9b7c82dd48750f5502e061030662dcc22824398a6d SHA512 64db6d5db8d9302006b06ec08f0910c9cd97d63fea69a9a1ccaa0ce7eedd70d233847882a64d8a63d8989d106907bbe006e3309374fd57c48876216363857497 WHIRLPOOL 1b9ce869b4f70e5cd2bb60d9b3bda6e1aaa215ed2f2d01a453472e3df6540ec79e38dd7b3ab3af6475ccdef17ca9c5856953eb5612307ed46e4f18d8a397756a +MISC ChangeLog-2015 2507 SHA256 a5fbc5444913f3c9584327f10b84e1d187ae405af2ab2de3a7d922b52ec9281d SHA512 dff91688f73457dc135247f0ab4224159cdcfb78123e9040c62b666ac2662b0168cd4987c3fc71efe09a58449982b9021873c96eecc6d95a7467280772a344ff WHIRLPOOL ea696b3fb03d1a0f6f0f2b091275ef2bead1ff7912e943d2a1aa6cb592a0919efe66285925e2fa38d232444959788ab332546f0b59618175c2d24b916ec2b435 +MISC metadata.xml 325 SHA256 bdeb6f5f54887c96e48a80d00b88b9305fb9784f0c5c7285e0263ef3bb9a5ae5 SHA512 b0a431f148289e90b6bbf25940157336603658375d13d4a256e224174ddeedac53e6dd625239e51763b467678090a6305463c4c89fd878027ca8c4b369434095 WHIRLPOOL 6e73f7e452d172bf915159db0df52b168510ecafe1d555cf9fad34f8289e260bf8611e2f84dfc879ae8953a7576c1f08e119a03c7933a9a17baf8b0d5c7fbd8d diff --git a/dev-java/jcodings/files/maven-build.xml b/dev-java/jcodings/files/maven-build.xml new file mode 100644 index 000000000000..c09847a4fa00 --- /dev/null +++ b/dev-java/jcodings/files/maven-build.xml @@ -0,0 +1,176 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<project name="jcodings-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="jcodings"/> + <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 id="build.test.classpath"> + <pathelement location="${maven.repo.local}/junit/junit/3.8.1/junit-3.8.1.jar"/> + </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}"/> + </target> + + <!-- ====================================================================== --> + <!-- Run all tests --> + <!-- ====================================================================== --> + + <target name="test" + depends="compile-tests, junit-missing" + unless="junit.skipped" + description="Run the test cases"/> + + <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> diff --git a/dev-java/jcodings/jcodings-1.0.11.ebuild b/dev-java/jcodings/jcodings-1.0.11.ebuild new file mode 100644 index 000000000000..0800cfad7b1d --- /dev/null +++ b/dev-java/jcodings/jcodings-1.0.11.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +JAVA_PKG_IUSE="doc source test" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Byte-based encoding support library for Java" +HOMEPAGE="https://github.com/codehaus" +SRC_URI="https://github.com/jruby/${PN}/archive/${P}.tar.gz" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="amd64 ~ppc64 x86 ~amd64-linux ~x86-linux ~x86-solaris" + +RDEPEND=">=virtual/jre-1.5" +DEPEND=">=virtual/jdk-1.5 + test? ( + dev-java/ant-junit:0 + >=dev-java/junit-4.8:4 + )" + +S="${WORKDIR}/${PN}-${PN}-${PV}" + +java_prepare() { + cp "${FILESDIR}"/maven-build.xml build.xml || die +} + +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/jcodings/jcodings-1.0.4.ebuild b/dev-java/jcodings/jcodings-1.0.4.ebuild new file mode 100644 index 000000000000..f710dfa7f2a4 --- /dev/null +++ b/dev-java/jcodings/jcodings-1.0.4.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="2" +JAVA_PKG_IUSE="source" +inherit base java-pkg-2 java-ant-2 + +MY_PN="jruby-${PN}" +GIT_PV="0-gbaaab90" + +DESCRIPTION="Byte-based encoding support library for Java" +HOMEPAGE="https://github.com/codehaus" +#SRC_URI="https://github.com/jruby/${PN}/tarball/${PV} -> ${P}-git.tar.gz" +SRC_URI="mirror://gentoo/${P}-git.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="" + +RDEPEND=">=virtual/jre-1.5" +DEPEND=">=virtual/jdk-1.5" + +EANT_BUILD_TARGET="build" +S="${WORKDIR}/${MY_PN}-${PV}-${GIT_PV}" + +src_install() { + java-pkg_dojar target/${PN}.jar + use source && java-pkg_dosrc src/* +} diff --git a/dev-java/jcodings/jcodings-1.0.5.ebuild b/dev-java/jcodings/jcodings-1.0.5.ebuild new file mode 100644 index 000000000000..3d8343932380 --- /dev/null +++ b/dev-java/jcodings/jcodings-1.0.5.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Byte-based encoding support library for Java" +HOMEPAGE="https://github.com/codehaus" +SRC_URI="https://github.com/jruby/${PN}/tarball/${PV} -> ${P}-git.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="" + +RDEPEND=">=virtual/jre-1.5" +DEPEND=">=virtual/jdk-1.5" + +src_unpack() { + default + mv jruby-${PN}-* ${P} || die +} + +java_prepare() { + cp "${FILESDIR}"/maven-build.xml build.xml || die +} + +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/jcodings/metadata.xml b/dev-java/jcodings/metadata.xml new file mode 100644 index 000000000000..0214918aa8e0 --- /dev/null +++ b/dev-java/jcodings/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> + <upstream> + <remote-id type="github">jruby/jcodings</remote-id> + </upstream> +</pkgmetadata> |