diff options
author | Alistair Bush <ali_bush@gentoo.org> | 2010-04-01 20:12:57 +0000 |
---|---|---|
committer | Alistair Bush <ali_bush@gentoo.org> | 2010-04-01 20:12:57 +0000 |
commit | c6fcace5017cd97664fcbad7c4f91b57e5afcdf9 (patch) | |
tree | 24f12ad733a5555d76f0d560e36c1506ba055798 /dev-java/rhino | |
parent | KOffice 2.1.2 released (diff) | |
download | historical-c6fcace5017cd97664fcbad7c4f91b57e5afcdf9.tar.gz historical-c6fcace5017cd97664fcbad7c4f91b57e5afcdf9.tar.bz2 historical-c6fcace5017cd97664fcbad7c4f91b57e5afcdf9.zip |
Stop build downloading deps #312175.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-java/rhino')
-rw-r--r-- | dev-java/rhino/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/rhino/Manifest | 3 | ||||
-rw-r--r-- | dev-java/rhino/rhino-1.7.2-r1.ebuild | 64 |
3 files changed, 72 insertions, 2 deletions
diff --git a/dev-java/rhino/ChangeLog b/dev-java/rhino/ChangeLog index 4b71c875c71b..9e958fd2ed46 100644 --- a/dev-java/rhino/ChangeLog +++ b/dev-java/rhino/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/rhino # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/rhino/ChangeLog,v 1.63 2010/03/27 22:23:17 ali_bush Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/rhino/ChangeLog,v 1.64 2010/04/01 20:12:57 ali_bush Exp $ + +*rhino-1.7.2-r1 (01 Apr 2010) + + 01 Apr 2010; Alistair Bush <ali_bush@gentoo.org> +rhino-1.7.2-r1.ebuild: + Stop build downloading deps #312175. *rhino-1.7.2 (27 Mar 2010) diff --git a/dev-java/rhino/Manifest b/dev-java/rhino/Manifest index 4125b523e6de..2763ac301fb9 100644 --- a/dev-java/rhino/Manifest +++ b/dev-java/rhino/Manifest @@ -10,6 +10,7 @@ DIST rhino1_7R2.zip 2996867 RMD160 58ae321829ac701e442bfbfed3d6f87b2bb6ba4c SHA1 EBUILD rhino-1.5.5-r4.ebuild 1292 RMD160 f91c719533d6f203db05f98beec44301496d6198 SHA1 f22652257433af37e2a328f9ff82aa4155e08ee2 SHA256 7f7e55d0866639a5967e94f18e40c0350d6a843c108b915c6afbc52008f557f6 EBUILD rhino-1.5.5-r5.ebuild 1296 RMD160 b9d5b12fb8ff637f660a3687e1f5f1230351ba4e SHA1 075191d35dab40fdbdbd08278dc76de80aad273e SHA256 8a46bf64c7766c56a8de395e630195bb0ff6a00b04f18cfa7b42fd4a8a7adf81 EBUILD rhino-1.6.5.ebuild 1821 RMD160 f5b7122d2666f123cae789faf109f9f49327fcda SHA1 d84d3a3657d03b5f44f22ef5ec3f1c48e033ae97 SHA256 672d80c34ac7fa98fc9a2876ab9aba74a622bbaaa76ab80be9ccd142c9e6a042 +EBUILD rhino-1.7.2-r1.ebuild 1892 RMD160 aa841dc53240b41188313f6e9ace9ea38d0db58a SHA1 ae6392bdb300e2e2a96127d0b76e3b38a49772bf SHA256 24aef8665cb1ba10f9d435f512cfc0e897d36c0118ffc48ba6740a4f390627d1 EBUILD rhino-1.7.2.ebuild 1706 RMD160 bea16810a98b4b8732d823f10200292d8c7ae1da SHA1 04eec2c7b573fffba5ab1917c84016b19e312b7d SHA256 e29c3c3753ec26c401c572f16090055ac0e01d9f4822a259300ebe5d7542d72d -MISC ChangeLog 8330 RMD160 b90862b0918b563dee7666c0cf889c7e28dae889 SHA1 5dd2db541b14e64dad17da928f2d9e89883f2e48 SHA256 a4dc18d7c912c55ab6a36ed793b8a045bfa5b1eb6111ddd28fad7c0d5228927e +MISC ChangeLog 8476 RMD160 2df62989ddf0b29115c3173f53ab0a4ad1da71a8 SHA1 c9b389b47b34f2a123cd2bc8ce2e007f684a2162 SHA256 c507e5aabf3b5a7ad072280cab7126052cb7fcf8d6baba9e3fd68a7ff630f0c5 MISC metadata.xml 353 RMD160 68e8023dada8494a67ae2ddd6b0a89f9cc62c586 SHA1 b78b9bbcefac164e9bcb4888b2fb1bffe0785bac SHA256 ebb538112f2fe159534174fc42c3f2ea3a148f110321e4689e38761ed52d4526 diff --git a/dev-java/rhino/rhino-1.7.2-r1.ebuild b/dev-java/rhino/rhino-1.7.2-r1.ebuild new file mode 100644 index 000000000000..b8565c6c81e0 --- /dev/null +++ b/dev-java/rhino/rhino-1.7.2-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/rhino/rhino-1.7.2-r1.ebuild,v 1.1 2010/04/01 20:12:57 ali_bush Exp $ + +EAPI="1" +JAVA_PKG_IUSE="doc examples source" +inherit java-pkg-2 java-ant-2 eutils versionator + +MY_P="${PN}$(replace_version_separator 1 _ $(replace_version_separator 2 R))" + +DESCRIPTION="An open-source implementation of JavaScript written in Java." +SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/js/${MY_P}.zip + mirror://gentoo/rhino-swing-ex-1.0.zip" +HOMEPAGE="http://www.mozilla.org/rhino/" +# dual license for rhino and BSD-2 for the swing-ex from Sun's tutorial +LICENSE="|| ( MPL-1.1 GPL-2 ) BSD-2" +SLOT="1.6" +KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos" +IUSE="" + +S="${WORKDIR}/${MY_P}" + +CDEPEND="=dev-java/xml-xmlbeans-1* + dev-java/jsr173:0" +RDEPEND=">=virtual/jre-1.5 + ${CDEPEND}" +DEPEND=">=virtual/jdk-1.5 + app-arch/unzip + ${CDEPEND}" + +src_unpack() { + unpack ${MY_P}.zip + cd "${S}" + + # don't download src.zip from Sun + epatch "${FILESDIR}/rhino-1.6-noget.patch" + + rm -v *.jar || die + rm -rf docs/apidocs || die + + local dir="toolsrc/org/mozilla/javascript/tools/debugger/downloaded" + mkdir ${dir} || die + cp "${DISTDIR}/rhino-swing-ex-1.0.zip" ${dir}/swingExSrc.zip || die + + mkdir lib/ && cd lib/ || die + java-pkg_jar-from xml-xmlbeans-1 xbean.jar + java-pkg_jar-from jsr173 jsr173.jar jsr173_1.0_api.jar + + # Stop downloading of deps + cd "${S}" + mkdir -p build/tmp-xbean + touch build/tmp-xbean/xbean.zip +} + +src_install() { + java-pkg_dojar build/${MY_P}/js.jar + + java-pkg_dolauncher jsscript-${SLOT} \ + --main org.mozilla.javascript.tools.shell.Main + + use doc && java-pkg_dojavadoc "build/${MY_P}/javadoc" + use examples && java-pkg_doexamples examples + use source && java-pkg_dosrc {src,toolsrc,xmlimplsrc}/org +} |