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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 15E5B1382C5 for ; Wed, 28 Apr 2021 08:43:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 486E2E0872; Wed, 28 Apr 2021 08:43:46 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2E840E0872 for ; Wed, 28 Apr 2021 08:43:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 067E934092E for ; Wed, 28 Apr 2021 08:43:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6A4BB5C9 for ; Wed, 28 Apr 2021 08:43:43 +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: <1619599418.98c47fa98315ba70f5e9f9c79f46c0c0fe71d4ec.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/java-getopt/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/java-getopt/java-getopt-1.0.14-r1.ebuild X-VCS-Directories: dev-java/java-getopt/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 98c47fa98315ba70f5e9f9c79f46c0c0fe71d4ec X-VCS-Branch: master Date: Wed, 28 Apr 2021 08:43:43 +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: 53413b56-d869-4fad-ab3d-15de54d91652 X-Archives-Hash: ad680943fb831013889ce32b97d40858 commit: 98c47fa98315ba70f5e9f9c79f46c0c0fe71d4ec Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Wed Apr 28 07:33:35 2021 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Wed Apr 28 08:43:38 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98c47fa9 dev-java/java-getopt: min java 1.8 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/20568 Signed-off-by: Miroslav Šulc gentoo.org> dev-java/java-getopt/java-getopt-1.0.14-r1.ebuild | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/dev-java/java-getopt/java-getopt-1.0.14-r1.ebuild b/dev-java/java-getopt/java-getopt-1.0.14-r1.ebuild new file mode 100644 index 00000000000..2cf4dd980a5 --- /dev/null +++ b/dev-java/java-getopt/java-getopt-1.0.14-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Java command line option parser" +HOMEPAGE="https://www.urbanophile.com/arenn/hacking/download.html" +SRC_URI="https://www.urbanophile.com/arenn/hacking/getopt/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="1" +KEYWORDS="amd64 ~arm ~arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" + +DEPEND=">=virtual/jdk-1.8:*" +RDEPEND=">=virtual/jre-1.8:*" + +S="${WORKDIR}" + +src_prepare() { + default + mv gnu/getopt/buildx.xml build.xml || die +} + +src_install() { + java-pkg_dojar build/lib/gnu.getopt.jar + dodoc gnu/getopt/COPYING.LIB gnu/getopt/ChangeLog gnu/getopt/README + use doc && java-pkg_dojavadoc build/api + use source && java-pkg_dosrc gnu +}