public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/avalon-framework/
Date: Thu, 17 Feb 2022 08:47:45 +0000 (UTC)	[thread overview]
Message-ID: <1645087226.1b3542498d54254fd5435dd102f67d8d2557d267.fordfrog@gentoo> (raw)

commit:     1b3542498d54254fd5435dd102f67d8d2557d267
Author:     Yuan Liao <liaoyuan <AT> gmail <DOT> com>
AuthorDate: Tue Feb  8 19:56:01 2022 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Thu Feb 17 08:40:26 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b354249

dev-java/avalon-framework: Switch to log4j-12-api:2 and java-pkg-simple

Switch to java-pkg-simple.eclass because the previous revision of this
package uses a Gentoo custom build.xml, which is the deprecated approach
of making Java packages with no/unsupported build system.  Tests can
also be enabled easily thanks to the switch.

Closes: https://bugs.gentoo.org/831717
Signed-off-by: Yuan Liao <liaoyuan <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/24134
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 .../avalon-framework-4.2.0-r4.ebuild               | 56 ++++++++++++++++++++++
 1 file changed, 56 insertions(+)

diff --git a/dev-java/avalon-framework/avalon-framework-4.2.0-r4.ebuild b/dev-java/avalon-framework/avalon-framework-4.2.0-r4.ebuild
new file mode 100644
index 000000000000..27fbd1ae42ef
--- /dev/null
+++ b/dev-java/avalon-framework/avalon-framework-4.2.0-r4.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+# The tests themselves are JUnit 3 tests, but using
+# junit-4 here causes 61 additional tests to be run
+JAVA_TESTING_FRAMEWORKS="junit-4"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Avalon Framework"
+HOMEPAGE="https://avalon.apache.org/"
+SRC_URI="mirror://apache/avalon/avalon-framework/source/${P}-src.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="4.2"
+KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
+
+CP_DEPEND="
+	dev-java/avalon-logkit:2.0
+	dev-java/log4j-12-api:2
+"
+
+DEPEND="
+	>=virtual/jdk-1.8:*
+	${CP_DEPEND}
+	test? (
+		dev-java/junit:0
+	)
+"
+
+RDEPEND="
+	>=virtual/jre-1.8:*
+	${CP_DEPEND}
+"
+
+S="${WORKDIR}/${PN}"
+
+PATCHES=( "${FILESDIR}/4.2.0-enum.patch" )
+DOCS=( NOTICE.TXT )
+
+JAVA_SRC_DIR=( {api,impl}/src/java )
+
+JAVA_TEST_GENTOO_CLASSPATH="junit"
+JAVA_TEST_SRC_DIR=( {api,impl}/src/test )
+
+src_prepare() {
+	default # https://bugs.gentoo.org/780585
+}
+
+src_install() {
+	java-pkg-simple_src_install
+	einstalldocs # https://bugs.gentoo.org/789582
+}


             reply	other threads:[~2022-02-17  8:47 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-17  8:47 Miroslav Šulc [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-03-31 18:58 [gentoo-commits] repo/gentoo:master commit in: dev-java/avalon-framework/ Arthur Zamarin
2022-03-31 16:47 Arthur Zamarin
2022-03-30 11:47 Agostino Sarubbo
2022-03-30 11:09 Jakov Smolić
2022-03-30 11:09 Jakov Smolić
2022-02-18  8:04 Arthur Zamarin
2022-02-18  8:02 Arthur Zamarin
2021-10-29 16:24 Miroslav Šulc
2021-05-16 18:58 Sam James
2021-04-21 17:26 Miroslav Šulc
2019-11-10  9:19 Michał Górny
2019-11-10  9:19 Michał Górny
2019-10-21 12:47 Thomas Deutschmann
2018-03-01  8:39 Michał Górny
2018-02-02  9:05 Fabian Groffen
2017-08-15  5:41 Alexis Ballier

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=1645087226.1b3542498d54254fd5435dd102f67d8d2557d267.fordfrog@gentoo \
    --to=fordfrog@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