From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id ABDE815808B for ; Tue, 22 Feb 2022 07:43:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E00FDE0B33; Tue, 22 Feb 2022 07:43:12 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0E0B6E0B33 for ; Tue, 22 Feb 2022 07:43:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 080AD343962 for ; Tue, 22 Feb 2022 07:43:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3319E285 for ; Tue, 22 Feb 2022 07:43:08 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1645515784.43b025d545593362dca6b89292ca42fe86c951be.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/rome/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/rome/metadata.xml dev-java/rome/rome-0.9-r4.ebuild X-VCS-Directories: dev-java/rome/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 43b025d545593362dca6b89292ca42fe86c951be X-VCS-Branch: master Date: Tue, 22 Feb 2022 07:43:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: feb51962-76b6-4a22-9fd7-71bc8623760d X-Archives-Hash: 532ecf193f008b4bf10d7064067440c4 commit: 43b025d545593362dca6b89292ca42fe86c951be Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Fri Jan 21 06:49:23 2022 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Tue Feb 22 07:43:04 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43b025d5 dev-java/rome: EAPI 8, min java 1.8:* Bug: https://bugs.gentoo.org/831010 Bug: https://bugs.gentoo.org/833410 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/24236 Signed-off-by: Miroslav Šulc gentoo.org> dev-java/rome/metadata.xml | 9 ++++--- dev-java/rome/rome-0.9-r4.ebuild | 53 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+), 3 deletions(-) diff --git a/dev-java/rome/metadata.xml b/dev-java/rome/metadata.xml index 851b900d2361..2b16361c3e20 100644 --- a/dev-java/rome/metadata.xml +++ b/dev-java/rome/metadata.xml @@ -1,7 +1,10 @@ - - java@gentoo.org - + + java@gentoo.org + + + rometools/rome + diff --git a/dev-java/rome/rome-0.9-r4.ebuild b/dev-java/rome/rome-0.9-r4.ebuild new file mode 100644 index 000000000000..c92d79f20e09 --- /dev/null +++ b/dev-java/rome/rome-0.9-r4.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source test" +JAVA_TESTING_FRAMEWORKS="junit" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Java framework for RSS and Atom feeds" +HOMEPAGE="https://rometools.github.io/rome/" +SRC_URI="mirror://gentoo/${P}.zip" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +CP_DEPEND="dev-java/jdom:0" + +DEPEND=" + ${CP_DEPEND} + >=virtual/jdk-1.8:* + test? ( dev-java/ant-junit:0 )" + +RDEPEND=" + ${CP_DEPEND} + >=virtual/jre-1.8:*" + +BDEPEND="app-arch/unzip" + +JAVA_ENCODING="ISO-8859-1" +JAVA_SRC_DIR="src/java" +JAVA_RESOURCE_DIRS="res/java" +JAVA_TEST_SRC_DIRS="src/test" +JAVA_TEST_GENTOO_CLASSPATH="junit" + +S="${WORKDIR}/${P}" + +src_prepare() { + default + mkdir -p res/java/com/sun/syndication || die + cp {src,res}/java/com/sun/syndication/rome.properties || die + + sed -e 's:\(public \)\(Module\):\1com.sun.syndication.feed.module.\2:' \ + -e 's:\(,\)\(Module\):\1com.sun.syndication.feed.module.\2:' \ + -i src/java/com/sun/syndication/feed/synd/Synd{Feed,Entry}Impl.java || die +} + +src_install() { + default # https://bugs.gentoo.org/789582 + java-pkg-simple_src_install +}