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/jline/
Date: Sat, 16 Mar 2019 19:24:08 +0000 (UTC)	[thread overview]
Message-ID: <1552764232.a412d43674d07ea0d6f6f489536f3937a97f21e5.monsieurp@gentoo> (raw)

commit:     a412d43674d07ea0d6f6f489536f3937a97f21e5
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  5 08:21:52 2019 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sat Mar 16 19:23:52 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a412d436

dev-java/jline: EAPI 6 bump.

Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-java/jline/jline-1.0-r1.ebuild | 70 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 70 insertions(+)

diff --git a/dev-java/jline/jline-1.0-r1.ebuild b/dev-java/jline/jline-1.0-r1.ebuild
new file mode 100644
index 00000000000..95b69b972b4
--- /dev/null
+++ b/dev-java/jline/jline-1.0-r1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+JAVA_PKG_IUSE="source test"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Handle console input in Java"
+HOMEPAGE="http://jline.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.zip"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+DEPEND="
+	>=virtual/jdk-1.6
+	app-arch/unzip
+	test? (
+		dev-java/ant-junit:0
+		dev-java/junit:0
+	)"
+
+RDEPEND="
+	>=virtual/jre-1.6"
+
+S="${WORKDIR}/${P}/src"
+
+src_prepare() {
+	default
+	java-pkg_clean
+
+	# we don't support maven for building yet.
+	# this build.xml was generated by:
+	# - mvn ant:ant
+	# - tweak build.xml to not load properties from home dir
+	# - tweak the test target to match the test cases
+	# - change maven.repo.local from ~/.maven to "lib" in .properties
+	# - change classpath definitions to "*.jar"
+
+	cp "${FILESDIR}/maven-build.xml" build.xml || die
+	cp "${FILESDIR}/maven-build.properties" . || die
+	java-ant_ignore-system-classes
+
+	if use test; then
+	    mkdir lib || die
+	    cd lib || die
+		java-pkg_jar-from --build-only junit
+	fi
+}
+
+src_compile() {
+	# precompiled javadocs (needs maven to generate)
+	# -Dmaven.build.finalName is needed to override the one defined in the
+	# build.xml, which because it was generated with 0.9.9, defaults to
+	# jline-0.9.9 -nichoj
+	eant package -Dmaven.build.finalName=${P}
+}
+
+src_test() {
+	ANT_TASKS="ant-junit" eant test -Djunit.present=true
+}
+
+src_install() {
+	java-pkg_newjar target/${P}.jar
+	# no api docs in this release
+	# use doc && java-pkg_dojavadoc ../apidocs
+	use source && java-pkg_dosrc src/main/java
+}


             reply	other threads:[~2019-03-16 19:24 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-16 19:24 Patrice Clement [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-07  7:37 [gentoo-commits] repo/gentoo:master commit in: dev-java/jline/ Miroslav Šulc
2021-12-22 18:47 Arthur Zamarin
2021-12-01 18:56 Sam James
2021-12-01  7:16 Arthur Zamarin
2021-11-26 19:07 Arthur Zamarin
2021-11-25  4:15 Sam James
2021-11-25  4:14 Sam James
2021-11-25  4:11 Sam James
2021-11-19  7:24 Arthur Zamarin
2021-11-13  8:29 Sam James
2019-03-31 16:15 Patrick Lauer
2019-03-16 19:24 Patrice Clement
2019-03-16 19:24 Patrice Clement
2018-01-31 21:02 Patrice Clement
2017-07-13 20:42 Alexis Ballier
2015-12-31 10:51 Patrice Clement
2015-12-28 13:48 Patrice Clement
2015-12-28 13:48 Patrice Clement
2015-10-17 16:59 Patrice Clement

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=1552764232.a412d43674d07ea0d6f6f489536f3937a97f21e5.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