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 8D7BB158020 for ; Sat, 22 Oct 2022 21:34:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 58B23E0924; Sat, 22 Oct 2022 21:34:01 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 pigeon.gentoo.org (Postfix) with ESMTPS id 37B9BE0922 for ; Sat, 22 Oct 2022 21:34:01 +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 0D72A34120D for ; Sat, 22 Oct 2022 21:34:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D92B062E for ; Sat, 22 Oct 2022 21:33:56 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1666474390.389795c71dbf91380aea5e10641b59eebc8bed30.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/fiber-local/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/fiber-local/Manifest dev-ruby/fiber-local/fiber-local-1.0.0.ebuild dev-ruby/fiber-local/metadata.xml X-VCS-Directories: dev-ruby/fiber-local/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 389795c71dbf91380aea5e10641b59eebc8bed30 X-VCS-Branch: master Date: Sat, 22 Oct 2022 21:33:56 +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: e0f377e7-30a6-413f-9917-383604e36dfc X-Archives-Hash: 522646cb8f7aba5720960a0a6214dd7e commit: 389795c71dbf91380aea5e10641b59eebc8bed30 Author: matoro users noreply github com> AuthorDate: Wed Jun 15 04:30:17 2022 +0000 Commit: Matt Turner gentoo org> CommitDate: Sat Oct 22 21:33:10 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=389795c7 dev-ruby/fiber-local: new package, add 1.0.0 Signed-off-by: matoro users.noreply.github.com> Signed-off-by: Matt Turner gentoo.org> dev-ruby/fiber-local/Manifest | 1 + dev-ruby/fiber-local/fiber-local-1.0.0.ebuild | 25 +++++++++++++++++++++++++ dev-ruby/fiber-local/metadata.xml | 11 +++++++++++ 3 files changed, 37 insertions(+) diff --git a/dev-ruby/fiber-local/Manifest b/dev-ruby/fiber-local/Manifest new file mode 100644 index 000000000000..52c6faa57383 --- /dev/null +++ b/dev-ruby/fiber-local/Manifest @@ -0,0 +1 @@ +DIST fiber-local-1.0.0.tar.gz 3780 BLAKE2B 5360ebdc2f3958863742e5ca1e1cdefe76e4487bad2257a1bd34a8a6769b1191e1a8f0ba8c7dfe1481f73fdd8b9ee1a014b11e5527273dbb0ee6d8a94edae2ae SHA512 5f77213c3760bb7c23a6912f138e46aa54d8508c11d02dadde5ddbc4ab03976abccb37ad2b1b43b118eddfb7a5e8ca4ee647a7fea1bac5ee4d7b39e8dc8f8424 diff --git a/dev-ruby/fiber-local/fiber-local-1.0.0.ebuild b/dev-ruby/fiber-local/fiber-local-1.0.0.ebuild new file mode 100644 index 000000000000..ad2959e09769 --- /dev/null +++ b/dev-ruby/fiber-local/fiber-local-1.0.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27 ruby30 ruby31" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" +inherit ruby-fakegem + +DESCRIPTION="Provides a class-level mixin to make fiber local state easy" +HOMEPAGE="https://github.com/socketry/fiber-local" +SRC_URI="https://github.com/socketry/fiber-local/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)/$(ver_cut 1-2)" +KEYWORDS="~amd64 ~sparc" +IUSE="" + +all_ruby_prepare() { + sed -i -E 's/require_relative "(.+)"/require File.expand_path("\1")/g' "${RUBY_FAKEGEM_GEMSPEC}" || die + rm -f "gems.rb" || die + sed -i -E 's/require '"'"'covered\/rspec'"'"'//g' "spec/spec_helper.rb" || die +} diff --git a/dev-ruby/fiber-local/metadata.xml b/dev-ruby/fiber-local/metadata.xml new file mode 100644 index 000000000000..cbcf3060e8d9 --- /dev/null +++ b/dev-ruby/fiber-local/metadata.xml @@ -0,0 +1,11 @@ + + + + + ruby@gentoo.org + Gentoo Ruby Project + + + socketry/fiber-local + +