public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrice Clement" <monsieurp@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/rome/
Date: Thu, 19 Nov 2015 22:38:20 +0000 (UTC)	[thread overview]
Message-ID: <1447972451.8bafc80ba1809ab8eed5e83e2456880c24d5da3d.monsieurp@gentoo> (raw)

commit:     8bafc80ba1809ab8eed5e83e2456880c24d5da3d
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 19 17:58:38 2015 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Thu Nov 19 22:34:11 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bafc80b

dev-java/rome: Fix up jdom dependency.

Package-Manager: portage-2.2.20.1
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 .../{rome-0.9-r1.ebuild => rome-0.9-r2.ebuild}     | 31 +++++++-------
 dev-java/rome/rome-0.9.ebuild                      | 49 ----------------------
 2 files changed, 17 insertions(+), 63 deletions(-)

diff --git a/dev-java/rome/rome-0.9-r1.ebuild b/dev-java/rome/rome-0.9-r2.ebuild
similarity index 78%
rename from dev-java/rome/rome-0.9-r1.ebuild
rename to dev-java/rome/rome-0.9-r2.ebuild
index 30702d2..e021ef2 100644
--- a/dev-java/rome/rome-0.9-r1.ebuild
+++ b/dev-java/rome/rome-0.9-r2.ebuild
@@ -3,7 +3,6 @@
 # $Id$
 
 EAPI=5
-
 JAVA_PKG_IUSE="doc source test"
 
 inherit java-pkg-2 java-ant-2
@@ -11,22 +10,26 @@ inherit java-pkg-2 java-ant-2
 DESCRIPTION="Open source Atom/RSS Java utilities that make it easy to work in Java with most syndication formats"
 HOMEPAGE="https://java.net/projects/rome"
 SRC_URI="https://rome.dev.java.net/source/browse/*checkout*/rome/www/dist/${P}-src.zip"
-
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-COMMON_DEPEND="dev-java/jdom:0"
-DEPEND=">=virtual/jdk-1.4
+EANT_JAVA_ENCODING="ISO-8859-1"
+CDEPEND="dev-java/jdom:1.0"
+
+DEPEND="
+	${CDEPEND}
+	>=virtual/jdk-1.6
 	app-arch/unzip
-	test? ( dev-java/ant-junit:0 )
-	${COMMON_DEPEND}"
-RDEPEND=">=virtual/jre-1.4
-	${COMMON_DEPEND}"
+	test? ( dev-java/ant-junit:0 )"
+
+RDEPEND="
+	${CDEPEND}
+	>=virtual/jre-1.6"
 
 JAVA_ANT_REWRITE_CLASSPATH="true"
-EANT_GENTOO_CLASSPATH="jdom"
+EANT_GENTOO_CLASSPATH="jdom-1.0"
 
 java_prepare() {
 	# Patch build.xml so the tests pass
@@ -36,13 +39,13 @@ java_prepare() {
 	mkdir -p target/lib || die
 }
 
+src_test() {
+	java-pkg-2_src_test
+}
+
 src_install() {
 	java-pkg_newjar target/${P}.jar
-
 	use doc && java-pkg_dojavadoc dist/docs/api
 	use source && java-pkg_dosrc src/java/*
 }
 
-src_test() {
-	java-pkg-2_src_test
-}

diff --git a/dev-java/rome/rome-0.9.ebuild b/dev-java/rome/rome-0.9.ebuild
deleted file mode 100644
index 20a33a6..0000000
--- a/dev-java/rome/rome-0.9.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-JAVA_PKG_IUSE="doc source test"
-
-inherit java-pkg-2 java-ant-2
-
-DESCRIPTION="Open source Atom/RSS Java utilities that make it easy to work in Java with most syndication formats"
-HOMEPAGE="https://java.net/projects/rome"
-SRC_URI="https://rome.dev.java.net/source/browse/*checkout*/rome/www/dist/${P}-src.zip"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 x86 ~x86-fbsd"
-IUSE=""
-
-COMMON_DEPEND=">=dev-java/jdom-1.0"
-DEPEND=">=virtual/jdk-1.4
-	app-arch/unzip
-	test? ( dev-java/ant-junit )
-	${COMMON_DEPEND}"
-RDEPEND=">=virtual/jre-1.4
-	${COMMON_DEPEND}"
-
-src_unpack() {
-	unpack ${A}
-	cd "${S}"
-
-	# Patch build.xml so the tests pass
-	epatch "${FILESDIR}/${P}-build.xml-test-upstream.patch"
-
-	# Symlink jars
-	mkdir -p target/lib
-	cd target/lib
-	java-pkg_jar-from jdom-1.0
-}
-
-src_install() {
-	java-pkg_newjar target/${P}.jar
-
-	use doc && java-pkg_dojavadoc dist/docs/api
-	use source && java-pkg_dosrc src/java/*
-}
-
-src_test() {
-	java-pkg_jar-from --into target/lib junit
-	ANT_TASKS="ant-junit" eant test
-}


             reply	other threads:[~2015-11-19 22:38 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-19 22:38 Patrice Clement [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-03-23  1:20 [gentoo-commits] repo/gentoo:master commit in: dev-java/rome/ Sam James
2022-03-23  1:20 Sam James
2022-03-22 11:29 Jakov Smolić
2022-02-22  7:43 Miroslav Šulc
2020-10-20  4:11 Sam James
2017-05-17 14:34 Patrice Clement
2017-05-17 14:34 Patrice Clement
2017-04-08 21:57 Patrice Clement
2016-10-09  9:36 Patrice Clement
2015-11-19 22:38 Patrice Clement
2015-11-19 22:38 Patrice Clement
2015-09-29 21:20 James Le Cuirot
2015-09-29 21:20 James Le Cuirot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1447972451.8bafc80ba1809ab8eed5e83e2456880c24d5da3d.monsieurp@gentoo \
    --to=monsieurp@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox