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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4CBEB15838C for ; Fri, 26 Jan 2024 05:39:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8A14AE29B1; Fri, 26 Jan 2024 05:39:27 +0000 (UTC) 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 pigeon.gentoo.org (Postfix) with ESMTPS id 333A5E29B0 for ; Fri, 26 Jan 2024 05:39:27 +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 2081E3433EB for ; Fri, 26 Jan 2024 05:39:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4344F14A8 for ; Fri, 26 Jan 2024 05:39:23 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1706247552.c2f88b4275860b50430bff769b502c38e9a778c6.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/c-blosc2/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/c-blosc2/Manifest dev-libs/c-blosc2/c-blosc2-2.13.1.ebuild X-VCS-Directories: dev-libs/c-blosc2/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c2f88b4275860b50430bff769b502c38e9a778c6 X-VCS-Branch: master Date: Fri, 26 Jan 2024 05:39:23 +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: 7be7b316-5df8-4982-be0d-2660ed2905d9 X-Archives-Hash: e6ad89c9c522d5a2f0860f3193450550 commit: c2f88b4275860b50430bff769b502c38e9a778c6 Author: Michał Górny gentoo org> AuthorDate: Fri Jan 26 05:10:54 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Jan 26 05:39:12 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2f88b42 dev-libs/c-blosc2: Bump to 2.13.1 Signed-off-by: Michał Górny gentoo.org> dev-libs/c-blosc2/Manifest | 1 + dev-libs/c-blosc2/c-blosc2-2.13.1.ebuild | 63 ++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/dev-libs/c-blosc2/Manifest b/dev-libs/c-blosc2/Manifest index 4345d9fc3944..a92644ffb1c6 100644 --- a/dev-libs/c-blosc2/Manifest +++ b/dev-libs/c-blosc2/Manifest @@ -3,3 +3,4 @@ DIST c-blosc2-2.11.2.gh.tar.gz 3144952 BLAKE2B 312a6778a75badf687ebf0cbd8a7a4887 DIST c-blosc2-2.11.3.gh.tar.gz 3145288 BLAKE2B 140ca9693f2a779e37d324c6a631cde915b7bd7e16c5d48c779872dbc2a688773c22145bd224b8a7ac8e355b2639d08723ff1e4dc59cd57f2f4da89eea2d2c7c SHA512 51652056e646dd29496d8e7a4c3fc1c84af5f2a389b9057d0189d45fd298d64a581bf9f92f688397ff941dc18e03123cf7cd190fea91e3c127c36ad1d775bf79 DIST c-blosc2-2.12.0.gh.tar.gz 3148244 BLAKE2B 1c686994cad5df2e8e311f87df922a453ad4b111bd55bc19b9e988d93228c309835fb53ba9111213cf6e0560b172765656a1cf4c46aa1c5d709a2a92401d9072 SHA512 dafd1e08b9d556729abf8e859324c1b4724f43c5bb5829e11a8bf9653216b3afa05436d012a1cc8ca70017e158bee38c4f4aa3d86ebf18d6d7a2712e6bb26f79 DIST c-blosc2-2.13.0.gh.tar.gz 3150698 BLAKE2B 3020823fad873f13c2e38f21a20c0a40c558a28dd3e2bab86fe4ccdda946b5f2ab8a160cc619f1bca0bf7901515ebaa3a2600fad0f1387c8055fc1042828b3a5 SHA512 83280ea4aedea38167729bfb52797378a94ecf0733c2552283f07aa1fd732e2f565dce3a227e19e10acd855b9690987b90f9dc8a5f6589d208e0c3940b45ecc4 +DIST c-blosc2-2.13.1.gh.tar.gz 3150768 BLAKE2B 3d5e38aef21e4da45c930357d5d282b1fe92b89140b0390ae25371fb84e080f852e7548cd2339114e5c2752522e612e2fa49c3ab92a2223adf760257e5029b2c SHA512 61b08c2ac2ab4ceef1053673012a8dc7975ea5ca314115cd43bc4bfdcfe427007ed920336e66a0128a750f7215c9fcb2f4379b1adc558c380f6931ce5ca591b1 diff --git a/dev-libs/c-blosc2/c-blosc2-2.13.1.ebuild b/dev-libs/c-blosc2/c-blosc2-2.13.1.ebuild new file mode 100644 index 000000000000..83ec7fc645ac --- /dev/null +++ b/dev-libs/c-blosc2/c-blosc2-2.13.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Blocking, shuffling and lossless compression library" +HOMEPAGE=" + https://www.blosc.org/c-blosc2/c-blosc2.html + https://github.com/Blosc/c-blosc2/ +" +SRC_URI=" + https://github.com/Blosc/c-blosc2/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0/1" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="test +zlib +zstd" +REQUIRED_USE="test? ( zlib zstd )" +RESTRICT="!test? ( test )" + +DEPEND=" + >=app-arch/lz4-1.7.5:= + zlib? ( sys-libs/zlib:= ) + zstd? ( app-arch/zstd:= ) +" +RDEPEND=" + ${DEPEND} +" + +src_configure() { + # remove bundled libs (just in case) + rm -rf internal-complibs || die + + local mycmakeargs=( + -DBUILD_STATIC=OFF + -DBUILD_TESTS=$(usex test) + -DBUILD_BENCHMARKS=OFF + -DBUILD_EXAMPLES=OFF + -DBUILD_FUZZERS=OFF + -DDEACTIVATE_ZLIB=$(usex !zlib) + -DDEACTIVATE_ZSTD=$(usex !zstd) + -DPREFER_EXTERNAL_LZ4=ON + -DPREFER_EXTERNAL_ZLIB=ON + -DPREFER_EXTERNAL_ZSTD=ON + + # force regular zlib, at least for the time being + -DCMAKE_DISABLE_FIND_PACKAGE_ZLIB_NG=ON + + # upstream overrides CMAKE_C_FLAGS, preventing ${CFLAGS} defaults + # from applying, https://github.com/Blosc/c-blosc2/issues/433 + -DCMAKE_C_FLAGS="${CFLAGS}" + ) + cmake_src_configure +} + +src_test() { + # Tests fail in parallel, https://github.com/Blosc/c-blosc2/issues/432 + MAKEOPTS=-j1 cmake_src_test +}