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/commons-betwixt |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/commons-betwixt')
-rw-r--r-- | dev-java/commons-betwixt/Manifest | 6 | ||||
-rw-r--r-- | dev-java/commons-betwixt/commons-betwixt-0.8.ebuild | 54 | ||||
-rw-r--r-- | dev-java/commons-betwixt/files/commons-betwixt-0.8-test-dtd.patch | 16 | ||||
-rw-r--r-- | dev-java/commons-betwixt/metadata.xml | 21 |
4 files changed, 97 insertions, 0 deletions
diff --git a/dev-java/commons-betwixt/Manifest b/dev-java/commons-betwixt/Manifest new file mode 100644 index 000000000000..f0cbb29dd5ba --- /dev/null +++ b/dev-java/commons-betwixt/Manifest @@ -0,0 +1,6 @@ +AUX commons-betwixt-0.8-test-dtd.patch 549 SHA256 3a417a51dc2ee0822a4a579b1daec2b7876ee5ba334e005b890ca0c645b941e3 SHA512 06c2fecec6eb2efea02d29b88c5e38e8f43ebc5efa36fee009122c09ee8e40c08b3ecc28aeacd82b7c464bdf4eccc834b5233d0ef81228c96b4053610e1a92a6 WHIRLPOOL 306b842461372ff4f969283a67d7673eefcc76b3f65c2cbfda0fa3db0efbc421f0f2fea1be03ca427c1aac094eedef0c987ea77d8fbc0a6138a82aa120ec3424 +DIST commons-betwixt-0.8-src.tar.gz 359821 SHA256 86db2d772c5ffe134a96a6d79410896ec7ec75ed6d8824b39a5be6d2df384af2 SHA512 9d82807b13b7c0dfedf2def35c80bd7467cafbec1a3a5a4e188d56ed4940c43238c12fd7f334ce0a3ff990c60af4cf94ba42adbcb7bbb21a2775ed7762fb0668 WHIRLPOOL 9641342f7f2317520465fa0b7e8f65d26023f3054d458b755d31855690f6e776895de5dba2e7bf450e89bba4956718bd5ce7de9b5efe138abd877d1ff68ee6e0 +EBUILD commons-betwixt-0.8.ebuild 1211 SHA256 74acc97fc054a610a2ee40ca781b711a1077aa66751aea887d3221b7b3846448 SHA512 56e3ee65a8ea528ad833febea8739cff1f2d8de42a45c48543f552b68dbba2c208d42b29fc367decffc01e9567cd70503f2c06753df85507e6290c8165e1b971 WHIRLPOOL cc5e740b8b4eb2af7d9faf3a619c275c21b68a7bb202afa911c2d778ea40b493a26e0caed83d56a732021e1275bb5bdf9b6712742607f4cfe5ce08bce2d2ede0 +MISC ChangeLog 2909 SHA256 73397eae1ad8a9be689235a76c33972d3ac698b7979a50e56a52e1b3651d7e45 SHA512 47a20ac22ba7ff7ba3a3ce30c8e42defea0840a8576c892e15c5215006f2b84f0ac6e769b2963350b51481e4b08f70114a5ccd375c87627798ae04e2b360b970 WHIRLPOOL e3ddf2c7e1a5ff0b3c5b6fa7f2639b0628a87c69c634e129aa8d9d81fd4fd5af2427bd02aae382ecb2386c84b7e4f167e19ce04776a6dcea88b4885b6a6e7de6 +MISC ChangeLog-2015 4116 SHA256 b25baac796659b965c7d6b507c2f17c2f2c4e6243cc303fc28c6e6b2f8a4189e SHA512 dc7dbcabececbadc8c84da4102660745f26794f4bf990c7b73c58d6dcc319bfbb535de7a4d7b0e80123b7a8ef368d43a2ad51b73ce99a037fd89a1b824b69364 WHIRLPOOL 9319e9bc100db4fb23e896800d9856dca4b6fe626e45c5c7718faaeeb34ec0d3cc5400939f6350f32337d941764880adc259bd428841f664f46d0edaf43749eb +MISC metadata.xml 812 SHA256 7f27b0d0c40c24b710cf91bb1a8206edef7ec9430b2e62f784ceee8495ddc440 SHA512 fbb60c63fae3f556a56dae1e4499028c2feae633808e332a5c1ef7344d34bff3aa70a1717009c80e9a05ee24e7f1d3de1791035d117110fdb268e14c3c2a2af6 WHIRLPOOL d0d92516e14a8005388013fc9443547bc7a0c43dc63883c7238b9a62549b59ad1f1381d2c8658718ec463dd3c31dfec9681d97f7d3c2b33bd3fc7c136f4bb9c7 diff --git a/dev-java/commons-betwixt/commons-betwixt-0.8.ebuild b/dev-java/commons-betwixt/commons-betwixt-0.8.ebuild new file mode 100644 index 000000000000..e854dc31be19 --- /dev/null +++ b/dev-java/commons-betwixt/commons-betwixt-0.8.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=2 +JAVA_PKG_IUSE="doc test source" + +inherit java-pkg-2 eutils java-ant-2 + +DESCRIPTION="Introspective Bean to XML mapper" + +LICENSE="Apache-2.0" +SLOT="0.7" +KEYWORDS="amd64 x86" +IUSE="" + +COMMON_DEP=" + dev-java/commons-collections:0 + >=dev-java/commons-logging-1.0.2:0 + dev-java/commons-beanutils:1.7 + >=dev-java/commons-digester-1.6:0" +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEP}" +DEPEND=">=virtual/jdk-1.4 + ${COMMON_DEP} + test? ( + dev-java/ant-junit:0 + >=dev-java/xerces-2.7:2 + )" + +S="${WORKDIR}/${P}-src/" + +JAVA_ANT_ENCODING="ISO-8859-1" +JAVA_ANT_REWRITE_CLASSPATH="true" +JAVA_ANT_IGNORE_SYSTEM_CLASSES="true" +EANT_GENTOO_CLASSPATH="commons-beanutils-1.7,commons-collections,commons-digester,commons-logging" +EANT_BUILD_TARGET="init jar" + +java_prepare() { + epatch "${FILESDIR}/${PN}-0.8-test-dtd.patch" +} + +EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},xerces-2" + +src_test() { + java-pkg-2_src_test +} + +src_install() { + java-pkg_newjar target/${PN}*.jar ${PN}.jar + + dodoc RELEASE-NOTES.txt README.txt || die + use doc && java-pkg_dojavadoc dist/docs/api + use source && java-pkg_dosrc src/java/* +} diff --git a/dev-java/commons-betwixt/files/commons-betwixt-0.8-test-dtd.patch b/dev-java/commons-betwixt/files/commons-betwixt-0.8-test-dtd.patch new file mode 100644 index 000000000000..221874bd4995 --- /dev/null +++ b/dev-java/commons-betwixt/files/commons-betwixt-0.8-test-dtd.patch @@ -0,0 +1,16 @@ +--- commons-betwixt-0.8-src/src/test/org/apache/commons/betwixt/rss-example.xml 2006-12-21 23:14:19.000000000 +0100 ++++ commons-betwixt-0.8-src/src/test/org/apache/commons/betwixt/rss-example.xml.new 2010-01-11 21:48:59.000000000 +0100 +@@ -15,10 +15,12 @@ + See the License for the specific language governing permissions and + limitations under the License. + --> ++ ++<!-- + <!DOCTYPE rss PUBLIC + "-//Netscape Communications//DTD RSS 0.91//EN" + "http://my.netscape.com/publish/formats/rss-0.91.dtd"> +- ++--> + <rss version="0.91"> + + <channel> diff --git a/dev-java/commons-betwixt/metadata.xml b/dev-java/commons-betwixt/metadata.xml new file mode 100644 index 000000000000..cc177a3f7e6a --- /dev/null +++ b/dev-java/commons-betwixt/metadata.xml @@ -0,0 +1,21 @@ +<?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> + +<longdescription> + The Betwixt library provides an XML introspection mechanism for mapping + beans to XML in a flexible way. It is implemented using an XMLIntrospector + and XMLBeanInfo classes which are similar to the standard Introspector and + BeanInfo from the Java Beans specification. + + Betwixt provides a way of turning beans into XML as well as automatically + generating digester rules in a way that can be customized on a per type + manner in the same way that the BeanInfo mechanism can be used to customize + the default introspection on a java object. +</longdescription> + +</pkgmetadata> |