From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7EA551580EB for ; Fri, 23 May 2025 08:17:45 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 5A1773434E3 for ; Fri, 23 May 2025 08:17:45 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 4C7881104A5; Fri, 23 May 2025 08:17:36 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 4173511049F for ; Fri, 23 May 2025 08:17:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E9CE63434C7 for ; Fri, 23 May 2025 08:17:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 532C1283B for ; Fri, 23 May 2025 08:17:33 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1747988221.3fa68ee09f41650b39cb71d02aa665516218ee78.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/libdap/, sci-libs/libdap/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/libdap/Manifest sci-libs/libdap/files/libdap-3.21.1-disable-net-tests.patch sci-libs/libdap/libdap-3.21.1.ebuild X-VCS-Directories: sci-libs/libdap/ sci-libs/libdap/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 3fa68ee09f41650b39cb71d02aa665516218ee78 X-VCS-Branch: master Date: Fri, 23 May 2025 08:17:33 +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: 5ebb2b87-b98c-4bee-a88b-b5824fd2797e X-Archives-Hash: 33a3f22a3136447cd16d984bb3b18ea6 commit: 3fa68ee09f41650b39cb71d02aa665516218ee78 Author: Sam James gentoo org> AuthorDate: Fri May 23 08:13:34 2025 +0000 Commit: Sam James gentoo org> CommitDate: Fri May 23 08:17:01 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fa68ee0 sci-libs/libdap: add 3.21.1 Signed-off-by: Sam James gentoo.org> sci-libs/libdap/Manifest | 1 + .../files/libdap-3.21.1-disable-net-tests.patch | 26 +++++++++ sci-libs/libdap/libdap-3.21.1.ebuild | 62 ++++++++++++++++++++++ 3 files changed, 89 insertions(+) diff --git a/sci-libs/libdap/Manifest b/sci-libs/libdap/Manifest index eee8bdbe052b..4fe0d43bb95c 100644 --- a/sci-libs/libdap/Manifest +++ b/sci-libs/libdap/Manifest @@ -1 +1,2 @@ DIST libdap-3.20.9.tar.gz 2838651 BLAKE2B 84186a73455d8756d0dccaf11554861d48f55a358cc3f70d899d7f24b0b676b0bacdfff47b63c956619717c7fb7f7e3678669599724a2170221a4bc74d8388c2 SHA512 2e360148e5ca3b5c12552ff429b161d8be6905594ae2df98c5b005cd286cb803913b8336371cd07361082749122f7aa5cbc93ff1812ed598908afd0e83df927c +DIST libdap-3.21.1.tar.gz 2622133 BLAKE2B 96fc7bd65793bcda3c63b5329dc55338a838e1a964ddce43153e9dcad045a92b0e5d4e1b57c2c17c6504beaf05f9c70717425e07d8611258f278c03bc50f53e3 SHA512 a03562b536fccc580f4bfc6bc6ae27398171136a058c8e5edb3c7f395aeb5afc8739c9b45d3c82a98e1db6e22c559325f8ac33df29d412776f87aeaf7393c712 diff --git a/sci-libs/libdap/files/libdap-3.21.1-disable-net-tests.patch b/sci-libs/libdap/files/libdap-3.21.1-disable-net-tests.patch new file mode 100644 index 000000000000..5d7550cdb75e --- /dev/null +++ b/sci-libs/libdap/files/libdap-3.21.1-disable-net-tests.patch @@ -0,0 +1,26 @@ +https://src.fedoraproject.org/rpms/libdap/raw/rawhide/f/libdap-offline.patch +https://bugs.gentoo.org/830221 +--- a/tests/Makefile.am ++++ b/tests/Makefile.am +@@ -122,7 +122,6 @@ $(EXPRTESTSUITE) $(DMRTESTSUITE) $(GETDAPTESTSUITE) + $(SHELL) '$(DDSTESTSUITE)' $(TESTSUITEFLAGS) + $(SHELL) '$(EXPRTESTSUITE)' $(TESTSUITEFLAGS) + $(SHELL) '$(DMRTESTSUITE)' $(TESTSUITEFLAGS) +- $(SHELL) '$(GETDAPTESTSUITE)' $(TESTSUITEFLAGS) + + # Make sure there are no spaces after the DASTESTSUITE names. jhrg 3/16/15 + # Delete the scripts here and not using CLEANFILES because this target is +--- a/unit-tests/Makefile.am ++++ b/unit-tests/Makefile.am +@@ -85,9 +85,9 @@ D4-xml.tar.gz: D4-xml/DMR_*[0-9].xml + if CPPUNIT + UNIT_TESTS = marshT arrayT attrTableT structT sequenceT ddsT dasT \ + RegexTest ArrayTest GridTest AttrTableTest ByteTest MIMEUtilTest ancT DASTest \ +- DDSTest DDXParserTest generalUtilTest HTTPConnectTest parserUtilTest \ ++ DDSTest DDXParserTest generalUtilTest parserUtilTest \ + RCReaderTest SequenceTest SignalHandlerTest MarshallerTest \ +- HTTPCacheTest ServerFunctionsListUnitTest Int8Test Int16Test UInt16Test \ ++ ServerFunctionsListUnitTest Int8Test Int16Test UInt16Test \ + Int32Test UInt32Test Int64Test UInt64Test Float32Test Float64Test \ + D4BaseTypeFactoryTest BaseTypeFactoryTest util_mitTest + diff --git a/sci-libs/libdap/libdap-3.21.1.ebuild b/sci-libs/libdap/libdap-3.21.1.ebuild new file mode 100644 index 000000000000..81e6fadac96e --- /dev/null +++ b/sci-libs/libdap/libdap-3.21.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic + +DESCRIPTION="Implementation of a C++ SDK for DAP 2.0 and 3.2" +HOMEPAGE="https://www.opendap.org" +SRC_URI="https://www.opendap.org/pub/source/${P}.tar.gz" + +LICENSE="|| ( LGPL-2.1 URI )" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="static-libs test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/libxml2:2 + net-misc/curl + sys-apps/util-linux + sys-libs/zlib +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + sys-devel/bison + sys-devel/flex + test? ( dev-util/cppunit ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-3.21.1-disable-net-tests.patch +) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + # -Werror=lto, -Werror=strict-aliasing + # https://bugs.gentoo.org/878895 + # https://github.com/OPENDAP/libdap4/issues/244 + append-flags -fno-strict-aliasing + filter-lto + + # Needs bison/flex + unset YACC LEX + + econf \ + --enable-shared \ + $(use_enable static-libs static) +} + +src_install() { + default + + # package provides .pc files + find "${ED}" -name '*.la' -delete || die +}