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 4E3261584F2 for ; Sat, 15 Mar 2025 17:36:02 +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 374E03431D4 for ; Sat, 15 Mar 2025 17:36:02 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id F01A21102B7; Sat, 15 Mar 2025 17:36:00 +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 bobolink.gentoo.org (Postfix) with ESMTPS id E4F061102B7 for ; Sat, 15 Mar 2025 17:36:00 +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 9708C343057 for ; Sat, 15 Mar 2025 17:36:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2BB9111A8 for ; Sat, 15 Mar 2025 17:35:59 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1742060149.4da2c8f5f9ddc946bea5531a2f13873c6d0772ee.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/zstd-ruby/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/zstd-ruby/Manifest dev-ruby/zstd-ruby/metadata.xml dev-ruby/zstd-ruby/zstd-ruby-1.5.6.6.ebuild X-VCS-Directories: dev-ruby/zstd-ruby/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 4da2c8f5f9ddc946bea5531a2f13873c6d0772ee X-VCS-Branch: master Date: Sat, 15 Mar 2025 17:35:59 +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: 986cc3cb-88b2-4174-ae5e-d5f83f41eff1 X-Archives-Hash: 7b0cdda5138e11e3e5082abf96830071 commit: 4da2c8f5f9ddc946bea5531a2f13873c6d0772ee Author: Hans de Graaff gentoo org> AuthorDate: Sat Mar 15 17:35:02 2025 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Mar 15 17:35:49 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4da2c8f5 dev-ruby/zstd-ruby: new package, add 1.5.6.6 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/zstd-ruby/Manifest | 1 + dev-ruby/zstd-ruby/metadata.xml | 12 +++++++++ dev-ruby/zstd-ruby/zstd-ruby-1.5.6.6.ebuild | 41 +++++++++++++++++++++++++++++ 3 files changed, 54 insertions(+) diff --git a/dev-ruby/zstd-ruby/Manifest b/dev-ruby/zstd-ruby/Manifest new file mode 100644 index 000000000000..042eadc59b1d --- /dev/null +++ b/dev-ruby/zstd-ruby/Manifest @@ -0,0 +1 @@ +DIST zstd-ruby-1.5.6.6.tar.gz 1956988 BLAKE2B 66e9d5e077dd9a721f185c61f5859a12e1b6b57144a413f5e7875121d5d475fa5d349c57bcfd5b8b8f696b7e87a8423b9756ef15a3ba7fbbbf3463dda4320c65 SHA512 396264d16f9c66ec1edd1db9a99b08d31a7ad71c19dbbc61abd5c4e21b957c87ca1c3daedaebbf22098f8ae544de12331b79ffe06548a5cdbdd199141c9f9984 diff --git a/dev-ruby/zstd-ruby/metadata.xml b/dev-ruby/zstd-ruby/metadata.xml new file mode 100644 index 000000000000..2f5ac81a40cc --- /dev/null +++ b/dev-ruby/zstd-ruby/metadata.xml @@ -0,0 +1,12 @@ + + + + + ruby@gentoo.org + Gentoo Ruby Project + + + SpringMT/zstd-ruby + zstd-ruby + + diff --git a/dev-ruby/zstd-ruby/zstd-ruby-1.5.6.6.ebuild b/dev-ruby/zstd-ruby/zstd-ruby-1.5.6.6.ebuild new file mode 100644 index 000000000000..0f0e3260bec3 --- /dev/null +++ b/dev-ruby/zstd-ruby/zstd-ruby-1.5.6.6.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" + +# This gem includes a bundled version of app-arch/zstd. It requires +# features that are only available with a statically linked zstd library +# (e.g. ZSTD_SKIPPABLEHEADERSIZE) and changing the build system to build +# against a statically linked app-arch/zstd does not seem worth it. + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_EXTENSIONS=(ext/zstdruby/extconf.rb) +RUBY_FAKEGEM_EXTENSION_LIBDIR="lib/zstd-ruby" +RUBY_FAKEGEM_GEMSPEC="zstd-ruby.gemspec" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="Ruby binding for zstd (Zstandard - Fast real-time compression algorithm)." +HOMEPAGE="https://github.com/SpringMT/zstd-ruby" +SRC_URI="https://github.com/SpringMT/zstd-ruby/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" + +all_ruby_prepare() { + sed -e 's/git ls-files -z/find * -print0/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} + + # Removing the -O3 optimization flag causes the test suite to hang + # consuming CPU. + # sed -e '/CFLAGS/ s/-O3//' \ -i + # ext/zstdruby/extconf.rb || die + + sed -e '/bundler/ s:^:#:' \ + -i spec/spec_helper.rb || die +}