diff options
author | Andrey Kislyuk <weaver@gentoo.org> | 2009-10-02 18:15:45 +0000 |
---|---|---|
committer | Andrey Kislyuk <weaver@gentoo.org> | 2009-10-02 18:15:45 +0000 |
commit | 191df2dd1e96864296587e287b0db102c633b7b6 (patch) | |
tree | 872d545e131c178b085d3f8f8cbe181f5808fa21 | |
parent | Stable for ppc. (diff) | |
download | historical-191df2dd1e96864296587e287b0db102c633b7b6.tar.gz historical-191df2dd1e96864296587e287b0db102c633b7b6.tar.bz2 historical-191df2dd1e96864296587e287b0db102c633b7b6.zip |
Import from Java overlay and rewrite
Package-Manager: portage-2.2_rc30/cvs/Linux x86_64
-rw-r--r-- | dev-java/commons-math/ChangeLog | 11 | ||||
-rw-r--r-- | dev-java/commons-math/Manifest | 6 | ||||
-rw-r--r-- | dev-java/commons-math/commons-math-1.2.ebuild | 52 | ||||
-rw-r--r-- | dev-java/commons-math/commons-math-2.0.ebuild | 46 | ||||
-rw-r--r-- | dev-java/commons-math/metadata.xml | 9 |
5 files changed, 124 insertions, 0 deletions
diff --git a/dev-java/commons-math/ChangeLog b/dev-java/commons-math/ChangeLog new file mode 100644 index 000000000000..05fe935a1cb9 --- /dev/null +++ b/dev-java/commons-math/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-java/commons-math +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-math/ChangeLog,v 1.1 2009/10/02 18:15:45 weaver Exp $ + +*commons-math-2.0 (02 Oct 2009) +*commons-math-1.2 (02 Oct 2009) + + 02 Oct 2009; Andrey Kislyuk <weaver@gentoo.org> +metadata.xml, + +commons-math-1.2.ebuild, +commons-math-2.0.ebuild: + Import from Java overlay and rewrite + diff --git a/dev-java/commons-math/Manifest b/dev-java/commons-math/Manifest new file mode 100644 index 000000000000..3cd855afa28f --- /dev/null +++ b/dev-java/commons-math/Manifest @@ -0,0 +1,6 @@ +DIST commons-math-1.2-src.tar.gz 602243 RMD160 de4b271997925a451f3546f9d04fa2a69ab0b982 SHA1 2f185c923b28ac890e093655778901f87f6fd06b SHA256 7ce779da04546b29f5b5401c327ff317879808ce0c228796240c6265a36aea4b +DIST commons-math-2.0-src.tar.gz 1044286 RMD160 a66ea6d4cf5d7241244894e00a3a92e572239bcf SHA1 b250afa331a467bc3f58445a7029aaa06f216a26 SHA256 5c40855b63e5614fd68f77a45588c92ccd4af2e8162d9ebee3e33e225b04b802 +EBUILD commons-math-1.2.ebuild 1278 RMD160 07b6ba3c1822637af5913738fff37022ed2d5ad4 SHA1 1130889062fc7b14be47af65027e1d240dfcc4d6 SHA256 f5fe397821ef7c6e58386926cdbd8c580dd908153a83ff30d31dd5c0a65161f4 +EBUILD commons-math-2.0.ebuild 1078 RMD160 3fe2b9e02c33cc63044c0b05467cd630c0335cfe SHA1 2048e0218ccfec1433da567628782997e1ba20e5 SHA256 c313a2f7b4f70c430cf48b689e927cca992983e0333538b477e5d114ab54902f +MISC ChangeLog 439 RMD160 1b39e9e0e753632d1a7a25a42e2f502b8ad50db1 SHA1 f7b3399cf95318886ef3a0d5f1d0a7ea69b0c3cf SHA256 f8f19ee8dcd41f26002bc780db048431287d660d2bbbad2d27645857407e3158 +MISC metadata.xml 252 RMD160 39b3ff42eb070f3b0ba0602febeb9f3d6ec0daeb SHA1 f15d4fd691d5e9480a0d5f5565ef9febca15682c SHA256 68dd5ed36b7be999ccbcd7ba5f0a5e9174eb3d13bdfc715d93cbc4d2302a9f62 diff --git a/dev-java/commons-math/commons-math-1.2.ebuild b/dev-java/commons-math/commons-math-1.2.ebuild new file mode 100644 index 000000000000..a822c752a14e --- /dev/null +++ b/dev-java/commons-math/commons-math-1.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-math/commons-math-1.2.ebuild,v 1.1 2009/10/02 18:15:45 weaver Exp $ + +EAPI="2" + +WANT_ANT_TASKS="ant-junit" +EANT_GENTOO_CLASSPATH="commons-discovery,commons-logging,junit" +JAVA_ANT_REWRITE_CLASSPATH="true" +JAVA_PKG_IUSE="test source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Lightweight, self-contained mathematics and statistics components" +HOMEPAGE="http://commons.apache.org/math/" +SRC_URI="mirror://apache/commons/math/source/${P}-src.tar.gz" +LICENSE="Apache-2.0" +SLOT="1" +KEYWORDS="~x86 ~amd64" +IUSE="" + +COMMON_DEP=" + >=dev-java/commons-discovery-0.2 + >=dev-java/commons-logging-1.0.3" + +DEPEND=">=virtual/jdk-1.5 + >=dev-java/ant-core-1.6 + ${COMMON_DEP} + test? ( dev-java/ant-junit )" + +RDEPEND=">=virtual/jre-1.5 + ${COMMON_DEP}" + +S="${WORKDIR}/${P}-src" + +src_prepare() { + sed -i -e 's/depends="get-deps"//' \ + -e 's/depends="compile,test"/depends="compile"/' "${S}/build.xml" || die +} + +src_compile() { + eant -Duser.home="${WORKDIR}/user_home" +} + +src_test() { + eant -Duser.home="${WORKDIR}/user_home" test +} + +src_install() { + java-pkg_newjar target/${P}.jar ${PN}.jar + use source && java-pkg_dosrc src/java/org +} diff --git a/dev-java/commons-math/commons-math-2.0.ebuild b/dev-java/commons-math/commons-math-2.0.ebuild new file mode 100644 index 000000000000..16eca6b2ed93 --- /dev/null +++ b/dev-java/commons-math/commons-math-2.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-math/commons-math-2.0.ebuild,v 1.1 2009/10/02 18:15:45 weaver Exp $ + +EAPI="2" + +WANT_ANT_TASKS="ant-junit" +JAVA_PKG_IUSE="doc test source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Lightweight, self-contained mathematics and statistics components" +HOMEPAGE="http://commons.apache.org/math/" +SRC_URI="mirror://apache/commons/math/source/${P}-src.tar.gz" +LICENSE="Apache-2.0" +SLOT="2" +KEYWORDS="~x86 ~amd64" +IUSE="" + +COMMON_DEP=" + >=dev-java/commons-discovery-0.2 + >=dev-java/commons-logging-1.0.3" + +DEPEND=">=virtual/jdk-1.5 + >=dev-java/ant-core-1.6 + ${COMMON_DEP} + test? ( dev-java/ant-junit )" + +RDEPEND=">=virtual/jre-1.5 + ${COMMON_DEP}" + +S="${WORKDIR}/${P}-src" + +src_test() { + cd lib || die + java-pkg_jar-from junit + cd .. + ANT_TASKS="ant-junit" eant test +} + +src_install() { + java-pkg_newjar target/${P}.jar ${PN}.jar + +# use doc && java-pkg_dojavadoc dist/docs/api + use source && java-pkg_dosrc src/main/java/org +} diff --git a/dev-java/commons-math/metadata.xml b/dev-java/commons-math/metadata.xml new file mode 100644 index 000000000000..b51100b7aeef --- /dev/null +++ b/dev-java/commons-math/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>weaver@gentoo.org</email> + <name>Andrey Kislyuk</name> + </maintainer> + <herd>java</herd> +</pkgmetadata> |