From: "Patrice Clement" <monsieurp@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/commons-logging/
Date: Fri, 16 Feb 2018 10:27:59 +0000 (UTC) [thread overview]
Message-ID: <1518776867.d865bf61655e46f7c83d864c6a8d5a49c0f49704.monsieurp@gentoo> (raw)
commit: d865bf61655e46f7c83d864c6a8d5a49c0f49704
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 16 10:11:35 2018 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri Feb 16 10:27:47 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d865bf61
dev-java/commons-logging: EAPI 6 bump.
Package-Manager: Portage-2.3.19, Repoman-2.3.6
.../commons-logging/commons-logging-1.2-r2.ebuild | 89 ++++++++++++++++++++++
1 file changed, 89 insertions(+)
diff --git a/dev-java/commons-logging/commons-logging-1.2-r2.ebuild b/dev-java/commons-logging/commons-logging-1.2-r2.ebuild
new file mode 100644
index 00000000000..bb17056e251
--- /dev/null
+++ b/dev-java/commons-logging/commons-logging-1.2-r2.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2 java-osgi
+
+DESCRIPTION="An ultra-thin bridge between different Java logging libraries"
+HOMEPAGE="https://commons.apache.org/logging/"
+SRC_URI="mirror://apache/commons/logging/source/${P}-src.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="avalon-framework avalon-logkit log4j servletapi test"
+RESTRICT="!servletapi? ( test )"
+
+CDEPEND="
+ log4j? ( dev-java/log4j:0 )
+ servletapi? ( java-virtuals/servlet-api:3.1 )
+ avalon-logkit? ( dev-java/avalon-logkit:2.0 )
+ avalon-framework? ( dev-java/avalon-framework:4.2 )"
+
+RDEPEND="
+ ${CDEPEND}
+ >=virtual/jre-1.6"
+
+DEPEND="
+ ${CDEPEND}
+ >=virtual/jdk-1.6
+ test? ( dev-java/ant-junit:0 )"
+
+S="${WORKDIR}/${P}-src"
+
+JAVA_ANT_IGNORE_SYSTEM_CLASSES="yes"
+JAVA_ANT_REWRITE_CLASSPATH="yes"
+EANT_BUILD_TARGET="compile"
+EANT_DOC_TARGET=""
+
+PATCH=(
+ # patch to make the build.xml respect no servletapi
+ "${FILESDIR}/${P}-servletapi.patch"
+ "${FILESDIR}/${P}-gentoo.patch"
+)
+
+DOCS=( RELEASE-NOTES.txt PROPOSAL.html )
+
+src_prepare() {
+ default
+
+ # bug #208098
+ echo "jdk.1.4.present=true" > build.properties || die
+
+ if use servletapi; then
+ echo "servletapi.jar=$(java-pkg_getjar --virtual servlet-api-3.1 servlet-api.jar)" >> build.properties || die
+ fi
+ if use avalon-framework; then
+ echo "avalon-framework.jar=$(java-pkg_getjars avalon-framework-4.2)" >> build.properties || die
+ fi
+ if use avalon-logkit; then
+ echo "logkit.jar=$(java-pkg_getjars avalon-logkit-2.0)" >> build.properties || die
+ fi
+ if use log4j; then
+ echo "log4j12.jar=$(java-pkg_getjars log4j)" >> build.properties || die
+ fi
+}
+
+src_compile() {
+ java-pkg-2_src_compile
+ if use doc; then
+ ejavadoc -d api -sourcepath src/main/java -subpackages org || die
+ fi
+}
+
+src_install() {
+ local pkg="org.apache.commons.logging"
+ java-osgi_newjar "target/${P}.jar" "${pkg}" "Apache Commons Logging" "${pkg};version=\"${PV}\", ${pkg}.impl;version=\"${PV}\""
+ java-pkg_newjar target/${PN}-api-${PV}.jar ${PN}-api.jar
+ java-pkg_newjar target/${PN}-adapters-${PV}.jar ${PN}-adapters.jar
+
+ use doc && java-pkg_dojavadoc api
+ use source && java-pkg_dosrc src/main/java/org
+}
+
+src_test() {
+ java-pkg-2_src_test
+}
next reply other threads:[~2018-02-16 10:28 UTC|newest]
Thread overview: 56+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-16 10:27 Patrice Clement [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-05-22 7:02 [gentoo-commits] repo/gentoo:master commit in: dev-java/commons-logging/ Miroslav Šulc
2025-05-22 6:26 Arthur Zamarin
2025-05-20 21:27 Sam James
2025-05-20 19:07 Sam James
2025-04-20 18:20 Miroslav Šulc
2024-12-30 19:41 Florian Schmaus
2024-12-23 23:47 Jakov Smolić
2024-11-15 22:13 Sam James
2024-10-17 9:05 Miroslav Šulc
2024-10-16 9:39 Miroslav Šulc
2024-05-20 7:50 Miroslav Šulc
2024-05-19 17:40 Arthur Zamarin
2024-05-18 3:51 Sam James
2024-05-18 3:19 Sam James
2024-05-18 3:19 Sam James
2024-04-18 10:56 Miroslav Šulc
2023-04-20 5:01 Sam James
2023-04-20 5:01 Sam James
2023-04-20 4:14 Arthur Zamarin
2023-04-20 4:02 Sam James
2023-03-21 9:06 Sven Wegener
2023-03-21 6:11 Miroslav Šulc
2023-03-19 6:20 Miroslav Šulc
2022-10-14 17:41 Miroslav Šulc
2022-03-31 18:58 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-26 11:53 Arthur Zamarin
2022-02-26 8:52 Miroslav Šulc
2022-02-25 18:53 Arthur Zamarin
2022-02-24 9:47 Miroslav Šulc
2022-01-27 8:17 Miroslav Šulc
2021-05-16 18:58 Sam James
2021-05-09 10:02 Miroslav Šulc
2021-05-09 9:17 Agostino Sarubbo
2021-05-06 7:22 Sergei Trofimovich
2021-05-01 18:19 Agostino Sarubbo
2021-04-25 9:18 Sergei Trofimovich
2021-04-21 10:00 Miroslav Šulc
2021-04-21 10:00 Miroslav Šulc
2021-04-21 10:00 Miroslav Šulc
2021-04-19 17:57 Miroslav Šulc
2018-04-14 21:04 Patrice Clement
2018-02-16 22:35 Patrice Clement
2017-08-28 22:01 James Le Cuirot
2017-08-28 22:01 James Le Cuirot
2017-07-13 12:13 Alexis Ballier
2017-02-24 0:34 Michael Weber
2016-04-26 21:47 James Le Cuirot
2015-08-30 19:34 Patrice Clement
2015-08-30 19:34 Patrice Clement
2015-08-26 14:17 Mikle Kolyada
2015-08-16 20:52 Mikle Kolyada
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=1518776867.d865bf61655e46f7c83d864c6a8d5a49c0f49704.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