From: Ralph Sennhauser Date: Thu, 12 Jan 2012 11:34:14 +0000 (+0000) Subject: New package, replacement for dev-java/constantine. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3d1de4cfedffabc4d44bd005d69f22e2740e7846;p=gentoo.git New package, replacement for dev-java/constantine. Package-Manager: portage-2.1.10.44/cvs/Linux x86_64 --- diff --git a/dev-java/jnr-constants/ChangeLog b/dev-java/jnr-constants/ChangeLog new file mode 100644 index 000000000000..5335ac80894f --- /dev/null +++ b/dev-java/jnr-constants/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-java/jnr-constants +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jnr-constants/ChangeLog,v 1.1 2012/01/12 11:34:14 sera Exp $ + +*jnr-constants-0.8.2 (12 Jan 2012) + + 12 Jan 2012; Ralph Sennhauser +jnr-constants-0.8.2.ebuild, + +files/jnr-constants_maven-build.xml, +metadata.xml: + New package, replacement for dev-java/constantine. + diff --git a/dev-java/jnr-constants/Manifest b/dev-java/jnr-constants/Manifest new file mode 100644 index 000000000000..4fa8e82fbf4f --- /dev/null +++ b/dev-java/jnr-constants/Manifest @@ -0,0 +1,19 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX jnr-constants_maven-build.xml 11304 RMD160 928ef5a2a4bdb38994106637423b79b3e60bd23f SHA1 bf72372e1ae364d1003182c16e1e9078c33d3751 SHA256 ece9c0e5dec6f2794c5dfa64bc3031520597dff0c7b69faa286bd2d3d593d047 +DIST jnr-constants-0.8.2.tar.gz 110511 RMD160 0782daf04bba7284012b68418dd2f93791eba3d5 SHA1 2c6925b670d6723b1bbfc98081e6d1eae102ccbe SHA256 924b242877a8472e5828a5ae5f9d5a1f0c0981b7629cd68600d76c9536f2f323 +EBUILD jnr-constants-0.8.2.ebuild 1191 RMD160 5799625790b52daeabe2c9c827802e173df1cd9e SHA1 8dba7b9cd1287f526cfe90b43a473d71b2070cf2 SHA256 41e21792de12bab8850ee511efd5dd25b8c498ae6083d05f5f4a5fc10b4a865b +MISC ChangeLog 439 RMD160 d105183945fbbb7182777fab061940b039190fd1 SHA1 9060c11a53944ed24a80d7f83c6eada431a3d128 SHA256 4e5f343cb4b2c3d0c23f3c46c125af10e7c551b448221c4a0fb7de9f9320a102 +MISC metadata.xml 205 RMD160 934c811ce2118963118b8ad86da1ec2814dd285f SHA1 f75079bfb666a750926732a1606474fee17093df SHA256 e319f1701f6be29c8e077049d77738b69b72be0458754ef90ad9a684f2ec1722 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iQEcBAEBAgAGBQJPDsVEAAoJEIUJ+svaV163GfcH/Rlwy9Q2uyUQgOhT9alzy1Ck +gYr7+QQYgEPXIZPjixorpVqaOuB+5Yl4mCPKSduH83vzYz1pumkRQApPybU/s7CW +rOUoZB3PQPVStdOz6p1QRfZzQ1Q9X557EvOmvyyYtyYdEsSqyj5HL9dTzQT6i/wy +dbBmHP3/192LHwdoStmmuVWYmibNtRtT2enLujjJQJfY/vCGoK8A2k+7pycQ8YJp +s6Vz8tnzNpEZvLPhxWBVe52Rw6Bn2cOU90eaRaILROlmkhFRL1LnmP+jlNZs1g/n +rjczTqogoVdBRyLeP3uaULOW2V/Z+bY6OhUusVBpoGDC38OpmqsdlFMKqcpAJQA= +=yeSW +-----END PGP SIGNATURE----- diff --git a/dev-java/jnr-constants/files/jnr-constants_maven-build.xml b/dev-java/jnr-constants/files/jnr-constants_maven-build.xml new file mode 100644 index 000000000000..75f8458ee2c2 --- /dev/null +++ b/dev-java/jnr-constants/files/jnr-constants_maven-build.xml @@ -0,0 +1,259 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + =================================== WARNING =================================== + JUnit is not present in your $ANT_HOME/lib directory. Tests not executed. + =============================================================================== + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dev-java/jnr-constants/jnr-constants-0.8.2.ebuild b/dev-java/jnr-constants/jnr-constants-0.8.2.ebuild new file mode 100644 index 000000000000..738da3386e40 --- /dev/null +++ b/dev-java/jnr-constants/jnr-constants-0.8.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jnr-constants/jnr-constants-0.8.2.ebuild,v 1.1 2012/01/12 11:34:14 sera Exp $ + +EAPI="4" + +JAVA_PKG_IUSE="doc source test" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="A set of platform constants (e.g. errno values)" +HOMEPAGE="http://github.com/jnr" +SRC_URI="http://github.com/jnr/${PN}/tarball/${PV} -> ${P}.tar.gz" + +LICENSE="|| ( Apache-2.0 LGPL-3 )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + >=virtual/jre-1.5" +DEPEND=" + >=virtual/jdk-1.5 + test? ( + dev-java/ant-junit:0 + >=dev-java/junit-4.8:4 + )" + +src_unpack() { + unpack ${A} + mv jnr-jnr-constants-* ${P} || die +} + +java_prepare() { + cp "${FILESDIR}"/${PN}_maven-build.xml build.xml || die +} + +JAVA_ANT_ENCODING="UTF-8" +JAVA_ANT_REWRITE_CLASSPATH="yes" + +EANT_EXTRA_ARGS="-Dmaven.build.finalName=${PN}" + +EANT_TEST_EXTRA_ARGS="-Dmaven.build.testDir.0=test" +EANT_TEST_GENTOO_CLASSPATH="junit-4" +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/main/java/* +} diff --git a/dev-java/jnr-constants/metadata.xml b/dev-java/jnr-constants/metadata.xml new file mode 100644 index 000000000000..82a57ccd5243 --- /dev/null +++ b/dev-java/jnr-constants/metadata.xml @@ -0,0 +1,8 @@ + + + +java + + + +