From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C4F971388BF for ; Thu, 18 Feb 2016 19:39:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 07B4621C146; Thu, 18 Feb 2016 19:39:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4F3B221C146 for ; Thu, 18 Feb 2016 19:39:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8A16F340DFC for ; Thu, 18 Feb 2016 19:39:20 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 492881607 for ; Thu, 18 Feb 2016 19:39:15 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1455824228.0ef2ff32b60d78ea91c530ca0eb995bcac635fcf.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/dnsjava/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/dnsjava/Manifest dev-java/dnsjava/dnsjava-2.1.7.ebuild X-VCS-Directories: dev-java/dnsjava/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 0ef2ff32b60d78ea91c530ca0eb995bcac635fcf X-VCS-Branch: master Date: Thu, 18 Feb 2016 19:39:15 +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-Archives-Salt: 655edba3-5f5b-429e-addf-d1bc85cc04ef X-Archives-Hash: 90b723fbf0a8ed40e25498a22240f1af commit: 0ef2ff32b60d78ea91c530ca0eb995bcac635fcf Author: Patrice Clement gentoo org> AuthorDate: Thu Feb 18 14:59:26 2016 +0000 Commit: Patrice Clement gentoo org> CommitDate: Thu Feb 18 19:37:08 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ef2ff32 dev-java/dnsjava: Version bump. Package-Manager: portage-2.2.26 dev-java/dnsjava/Manifest | 1 + dev-java/dnsjava/dnsjava-2.1.7.ebuild | 50 +++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/dev-java/dnsjava/Manifest b/dev-java/dnsjava/Manifest index 3890930..d185210 100644 --- a/dev-java/dnsjava/Manifest +++ b/dev-java/dnsjava/Manifest @@ -1 +1,2 @@ DIST dnsjava-2.1.6.tar.gz 1087908 SHA256 2503f5fb343ebc5b87c4ea3d67070305ff61d8d8c26636f62abb33e507104e76 SHA512 0d30504190aabbb176cc914834eb26a2f5522741c4473dbbf32f16e1d62fe39cf244a3ddd543b88d3a1e595afa9c6509e42d1418205677aa6523c6d11c49f497 WHIRLPOOL 60915c62b36a907928696e0afb3529ed46332013f07feea155158075fcc32a3bcfb50ddd3977f876ec7ad3203572ef54ff30f761925b6d96cca6e51fa7939f19 +DIST dnsjava-2.1.7.tar.gz 1078980 SHA256 387e5ccb17fa1c49ff1afbb5c5d61e431fefe07cdf98577c4e9792c2b8435766 SHA512 07b11b94833f4a6f5d9bd8e0265444f15704eeba6420b2fa2c4efef46823c2768e8e691d6b101bb6d1ed9ebda1e55dbf518f447d62eb686fdd583c281313afdd WHIRLPOOL 66b4a37afe5b34bc87d46f3f3c162bdb2f484d8b6b3536f3913d420503067ba179f0467b869f181540050297a3e634a13b259e56a701cdb715c3d47672d42a67 diff --git a/dev-java/dnsjava/dnsjava-2.1.7.ebuild b/dev-java/dnsjava/dnsjava-2.1.7.ebuild new file mode 100644 index 0000000..de43db7 --- /dev/null +++ b/dev-java/dnsjava/dnsjava-2.1.7.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +JAVA_PKG_IUSE="doc source test" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="An implementation of DNS in Java" +HOMEPAGE="http://www.dnsjava.org/" +SRC_URI="http://www.dnsjava.org/download/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=virtual/jre-1.6" +DEPEND=">=virtual/jdk-1.6 + test? ( + dev-java/junit:0 + dev-java/ant-junit:0 + )" + +EANT_BUILD_TARGET="jar" +EANT_DOC_TARGET="docs" +EANT_TEST_TARGET="run_tests" + +JAVA_ANT_REWRITE_CLASSPATH="true" +EANT_TEST_GENTOO_CLASSPATH="junit" +EANT_GENTOO_CLASSPATH_EXTRA="${P}.jar" + +java_prepare() { + java-pkg_clean + #epatch "${FILESDIR}"/*.patch +} + +src_install() { + java-pkg_newjar "${P}.jar" + + dodoc README USAGE || die + use doc && java-pkg_dojavadoc doc + use source && java-pkg_dosrc org/ +} + +src_test() { + EANT_ANT_TASKS="ant-junit" java-pkg-2_src_test +}