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 9B50813933E for ; Fri, 16 Jul 2021 06:32:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B31B3E0AB8; Fri, 16 Jul 2021 06:32:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 98BEBE0AB8 for ; Fri, 16 Jul 2021 06:32:34 +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 C8C39342C1D for ; Fri, 16 Jul 2021 06:32:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 530E77A2 for ; Fri, 16 Jul 2021 06:32:31 +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: <1626417123.e0b8ea15be77cb21eaf1c86de41e98e92e00bde5.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/commons-httpclient/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/commons-httpclient/commons-httpclient-4.5.13-r1.ebuild X-VCS-Directories: dev-java/commons-httpclient/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: e0b8ea15be77cb21eaf1c86de41e98e92e00bde5 X-VCS-Branch: master Date: Fri, 16 Jul 2021 06:32:31 +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: ecd48a7e-0c10-4d29-a97e-bf5434e8067e X-Archives-Hash: 4c0249251d9861b38df80567364b9900 commit: e0b8ea15be77cb21eaf1c86de41e98e92e00bde5 Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Thu Jul 15 16:57:00 2021 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Fri Jul 16 06:32:03 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0b8ea15 dev-java/commons-httpclient: depend on hamcrest-core Bug: https://bugs.gentoo.org/801475 Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Signed-off-by: Miroslav Šulc gentoo.org> .../commons-httpclient-4.5.13-r1.ebuild | 74 ++++++++++++++++++++++ 1 file changed, 74 insertions(+) diff --git a/dev-java/commons-httpclient/commons-httpclient-4.5.13-r1.ebuild b/dev-java/commons-httpclient/commons-httpclient-4.5.13-r1.ebuild new file mode 100644 index 00000000000..e4b77b275fb --- /dev/null +++ b/dev-java/commons-httpclient/commons-httpclient-4.5.13-r1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Skeleton command: +# java-ebuilder --generate-ebuild --workdir . --pom httpcomponents-client-4.5.13/httpclient/pom.xml --download-uri https://github.com/apache/httpcomponents-client/archive/refs/tags/rel/v4.5.13.tar.gz --slot 4 --keywords "~amd64 ~ppc64 ~x86" --ebuild commons-httpclient-4.5.13.ebuild + +EAPI=7 + +JAVA_PKG_IUSE="doc source test" +MAVEN_ID="org.apache.httpcomponents:httpclient:4.5.13" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Apache HttpComponents Client" +HOMEPAGE="https://hc.apache.org/httpcomponents-client" +SRC_URI="mirror://apache/httpcomponents/httpclient/source/httpcomponents-client-${PV}-src.tar.gz" + +LICENSE="Apache-2.0" +SLOT="4" +KEYWORDS="~amd64 ~ppc64 ~x86" + +# Common dependencies +# POM: httpcomponents-client-${PV}/httpclient/pom.xml +# commons-codec:commons-codec:1.11 -> >=dev-java/commons-codec-1.15:0 +# commons-logging:commons-logging:1.2 -> >=dev-java/commons-logging-1.2:0 +# org.apache.httpcomponents:httpcore:4.4.13 -> >=dev-java/httpcore-4.4.14:0 + +CDEPEND=" + dev-java/commons-codec:0 + dev-java/commons-logging:0 + dev-java/httpcore:0 +" + +# Compile dependencies +# POM: httpcomponents-client-${PV}/httpclient/pom.xml +# test? junit:junit:4.11 -> >=dev-java/junit-4.13.2:4 +# test? org.mockito:mockito-core:1.10.19 -> >=dev-java/mockito-1.9.5:0 + +DEPEND="${CDEPEND} + >=virtual/jdk-1.8:* + test? ( + dev-java/hamcrest-core:1.3 + dev-java/mockito:0 + )" + +RDEPEND="${CDEPEND} + >=virtual/jre-1.8:*" + +DOCS=( ../{LICENSE,NOTICE,README,RELEASE_NOTES}.txt ) + +S="${WORKDIR}/httpcomponents-client-${PV}/httpclient" + +JAVA_GENTOO_CLASSPATH="commons-codec,commons-logging,httpcore" +JAVA_SRC_DIR=( + "src/main/java" + "src/main/java-deprecated" +) +JAVA_RESOURCE_DIRS="src/main/resources" + +JAVA_TEST_GENTOO_CLASSPATH="junit-4,mockito,hamcrest-core-1.3" +JAVA_TEST_SRC_DIR="src/test/java" +JAVA_TEST_RESOURCE_DIRS="src/test/resources" + +JAVA_TEST_EXCLUDES=( + # Tests run: 929, Failures: 1 + # javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake + "org.apache.http.conn.ssl.TestSSLSocketFactory" +) + +src_install() { + default + java-pkg-simple_src_install +}