public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/c-blosc2/
Date: Thu, 11 Apr 2024 04:25:15 +0000 (UTC)	[thread overview]
Message-ID: <1712809202.06947f699c181a27c19241c20d066a930803f1ad.mgorny@gentoo> (raw)

commit:     06947f699c181a27c19241c20d066a930803f1ad
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 11 03:54:41 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Apr 11 04:20:02 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06947f69

dev-libs/c-blosc2: Bump to 2.14.4

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-libs/c-blosc2/Manifest               |  1 +
 dev-libs/c-blosc2/c-blosc2-2.14.4.ebuild | 63 ++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

diff --git a/dev-libs/c-blosc2/Manifest b/dev-libs/c-blosc2/Manifest
index 48e5886c7c13..3aa46ecf25b7 100644
--- a/dev-libs/c-blosc2/Manifest
+++ b/dev-libs/c-blosc2/Manifest
@@ -3,3 +3,4 @@ DIST c-blosc2-2.13.2.gh.tar.gz 3152011 BLAKE2B 1bf9826e6eb1babacb0fe6f7f90c5ca66
 DIST c-blosc2-2.14.0.gh.tar.gz 3155739 BLAKE2B 2607ea3e842fce469f04d31b2d92503f270409e952968e7217ca87ebccd64b25aa38282743f7fdb3ba199f71acc246f7ef9fa0b24e33417e6bdf69a68aba62a6 SHA512 74f0df844c722248a1743fa6ce4b20ae526831f29cc66baf6f487e743c9fc65713e089ebab63ebcf43ac7b1201e82f9c7049dfb68cff17116de93f36d9482557
 DIST c-blosc2-2.14.1.gh.tar.gz 3155751 BLAKE2B 6967914214603af724ab523e91cef2c720018c75002402a5d3ac1bf064af27069ee12db80f7ac37ad5136a30a280b37b829fda7c03b87e2a027599d235ed6021 SHA512 952e2331be4747005e82cabdda310f96031dcfe54f9fe92f68ff2efb42aa8dfb3aa9d6c3ab9ce9f94ea52c34322047447db98d530a58eddc9fca6f62872fd272
 DIST c-blosc2-2.14.3.gh.tar.gz 3155812 BLAKE2B e34813d3903792d48ccd4ff9f52dd353fa2529427e42001c70a93851b3d19eb2ec0d7aadf6694c49db799789d1a8fc8a9474e6db0a91119aeeff69253d058e04 SHA512 dcc019c32785f1c46c185e8364104dcf1954ca865b620d7d35e21c8772d82b95dd7e956281a0ba637a15263c7cb9a5616fbb83a59409d6b1a1ba144152deb20a
+DIST c-blosc2-2.14.4.gh.tar.gz 3155712 BLAKE2B 1af67562150b7b0b87fa076114bab0cccfbd12417c13dfae4fbd40e15531ed54f3a315588ac81b15e137f0272ac6c610c48205608be0b9e98ce44218dd200a27 SHA512 4173c7b0cf4f0399a3d36c987d265aacf766f54dc871ca87ebd98d4ecd4fbd24d4b923ffb2d0b59bda359e1fbba29f088d78816d375904b1945e8c40c29dccce

diff --git a/dev-libs/c-blosc2/c-blosc2-2.14.4.ebuild b/dev-libs/c-blosc2/c-blosc2-2.14.4.ebuild
new file mode 100644
index 000000000000..21d8413c0e29
--- /dev/null
+++ b/dev-libs/c-blosc2/c-blosc2-2.14.4.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/3"
+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
+}


             reply	other threads:[~2024-04-11  4:25 UTC|newest]

Thread overview: 79+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-11  4:25 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-27  5:50 [gentoo-commits] repo/gentoo:master commit in: dev-libs/c-blosc2/ Michał Górny
2025-02-13  7:27 Michał Górny
2024-12-16  8:07 Michał Górny
2024-12-15  7:02 Sam James
2024-12-14 17:25 Arthur Zamarin
2024-12-14 13:20 Arthur Zamarin
2024-12-14 10:35 Arthur Zamarin
2024-09-12 11:25 Michał Górny
2024-09-12  8:07 Arthur Zamarin
2024-08-31 10:51 Arthur Zamarin
2024-08-31  7:31 Sam James
2024-08-31  7:22 Michał Górny
2024-08-31  7:20 Arthur Zamarin
2024-07-31  5:52 Michał Górny
2024-04-27  8:04 Arthur Zamarin
2024-04-27  7:40 Michał Górny
2024-04-27  7:40 Michał Górny
2024-04-27  7:40 Michał Górny
2024-04-27  7:40 Michał Górny
2024-04-11  4:25 Michał Górny
2024-04-06 15:01 Michał Górny
2024-04-04 18:09 Michał Górny
2024-04-02  5:16 Michał Górny
2024-04-02  5:16 Michał Górny
2024-02-24 19:22 Arthur Zamarin
2024-02-24 14:04 Sam James
2024-02-24 10:07 Sam James
2024-02-24  9:43 Michał Górny
2024-02-08  4:22 Michał Górny
2024-01-26  5:39 Michał Górny
2024-01-24 18:56 Michał Górny
2024-01-04 11:29 WANG Xuerui
2023-12-29  4:38 Michał Górny
2023-12-21  7:27 Arthur Zamarin
2023-12-21  6:52 Sam James
2023-12-21  6:52 Sam James
2023-12-21  6:52 Sam James
2023-12-02 11:13 Arthur Zamarin
2023-12-02 10:43 Michał Górny
2023-12-02 10:21 Arthur Zamarin
2023-12-02 10:14 Arthur Zamarin
2023-12-01  5:39 Michał Górny
2023-11-07 20:20 Michał Górny
2023-11-07 19:54 Arthur Zamarin
2023-11-07 19:51 Arthur Zamarin
2023-11-07 19:22 Michał Górny
2023-11-05 13:28 Michał Górny
2023-11-05  5:36 Michał Górny
2023-11-02  4:12 Sam James
2023-11-02  4:12 Sam James
2023-11-02  4:12 Sam James
2023-11-01 20:37 Arthur Zamarin
2023-10-06  4:34 Michał Górny
2023-09-28  4:43 Michał Górny
2023-09-13 15:02 Michał Górny
2023-09-02 14:11 Michał Górny
2023-09-02 13:58 Sam James
2023-09-02 13:58 Sam James
2023-09-02 13:58 Sam James
2023-09-02 13:58 Sam James
2023-09-02 13:58 Sam James
2023-09-02 13:58 Sam James
2023-08-20 17:11 Arthur Zamarin
2023-08-20 17:11 Arthur Zamarin
2023-08-20 17:11 Arthur Zamarin
2023-08-20  3:07 Michał Górny
2023-08-20  2:30 Michał Górny
2023-08-02  4:36 Michał Górny
2023-08-01 14:59 Michał Górny
2023-07-05  7:58 Michał Górny
2023-06-21 15:01 Michał Górny
2023-05-19  4:03 Michał Górny
2023-05-16 16:28 Michał Górny
2023-04-29 15:47 Arthur Zamarin
2023-04-29 15:31 Arthur Zamarin
2023-04-29 15:25 Arthur Zamarin
2022-12-29 17:23 Michał Górny
2022-12-28 15:31 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1712809202.06947f699c181a27c19241c20d066a930803f1ad.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox