public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-java/xz-java/, dev-java/xz-java/files/
@ 2017-02-09 16:22 Lars Wendler
  0 siblings, 0 replies; only message in thread
From: Lars Wendler @ 2017-02-09 16:22 UTC (permalink / raw
  To: gentoo-commits

commit:     722a27811b2de1fb88309e521977564778d28e89
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  9 16:12:03 2017 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu Feb  9 16:22:41 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=722a2781

dev-java/xz-java: Bump to version 1.6

Kindly ACKed by Chewi.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-java/xz-java/Manifest                          |  1 +
 .../xz-java-stop-fetching-external-files.patch     |  4 +--
 dev-java/xz-java/xz-java-1.6.ebuild                | 40 ++++++++++++++++++++++
 3 files changed, 43 insertions(+), 2 deletions(-)

diff --git a/dev-java/xz-java/Manifest b/dev-java/xz-java/Manifest
index e8927a9c91..3b3b200f67 100644
--- a/dev-java/xz-java/Manifest
+++ b/dev-java/xz-java/Manifest
@@ -1 +1,2 @@
 DIST xz-java-1.5.zip 131544 SHA256 0146e437b01ac77046d256a2e7537768b6922c49635c27fa40b3cf745bb2db74 SHA512 8f425b86b216927490c1ab7303ae9db7faf2c275777765ec7d10c4acd4717d2ecf76068afe9a81d099ea0941c05c517cd5e7fe1b4e8bfec804fd3355dd064f41 WHIRLPOOL 5bcaa40f44bd89592e3a4f4a74884551284379f6e5a7985abf0c3673d73bc48144b457f67502097a96a82d0496526f2d5ce9f7b64bef48bd84a00eea87927839
+DIST xz-java-1.6.zip 138434 SHA256 1da9c5534656da8197457feeea7ee6c7a2c908e94f01db6d3c80ee17620e77fc SHA512 a1a6a2da05d51695e58b8e91503106bae6030cb83853df32bc7b8a23db4189c4afef01544c21de91ee3df9ad11e065059c758f121c52e6b6a319b93b2136f666 WHIRLPOOL 8c1145e631be106323b7aeb7ec05fff5bb1eda1ab677490cae7af10711d2888829058f76fd44a125f37d164125302d016e82f4459dc8764ed561111babc6f109

diff --git a/dev-java/xz-java/files/xz-java-stop-fetching-external-files.patch b/dev-java/xz-java/files/xz-java-stop-fetching-external-files.patch
index 3c82eff350..c5630a9c50 100644
--- a/dev-java/xz-java/files/xz-java-stop-fetching-external-files.patch
+++ b/dev-java/xz-java/files/xz-java-stop-fetching-external-files.patch
@@ -1,5 +1,5 @@
---- build.xml	2011-10-22 12:16:36.000000000 +0200
-+++ build.xml.new	2012-06-01 17:54:41.000000000 +0200
+--- a/build.xml
++++ b/build.xml
 @@ -35,12 +35,9 @@
              description="Generates HTML documentation with javadoc">
          <mkdir dir="${doc_dir}"/>

diff --git a/dev-java/xz-java/xz-java-1.6.ebuild b/dev-java/xz-java/xz-java-1.6.ebuild
new file mode 100644
index 0000000000..bee64be53a
--- /dev/null
+++ b/dev-java/xz-java/xz-java-1.6.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+JAVA_PKG_IUSE="doc examples source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Implementation of xz data compression in pure java"
+HOMEPAGE="http://tukaani.org/xz/java.html"
+SRC_URI="http://tukaani.org/xz/${P}.zip"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND=">=virtual/jre-1.4"
+DEPEND=">=virtual/jdk-1.4
+	app-arch/unzip"
+
+EANT_DOC_TARGET="doc"
+
+S="${WORKDIR}"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-stop-fetching-external-files.patch"
+)
+
+src_prepare() {
+	default
+	java-utils-2_src_prepare
+}
+
+src_install() {
+	java-pkg_dojar build/jar/xz.jar
+	use doc && java-pkg_dojavadoc build/doc
+	use examples && java-pkg_doexamples src/*Demo.java
+	use source && java-pkg_dosrc src/org
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-02-09 16:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-09 16:22 [gentoo-commits] repo/gentoo:master commit in: dev-java/xz-java/, dev-java/xz-java/files/ Lars Wendler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox