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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 38DFB158010 for ; Sat, 4 Feb 2023 07:41:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3AEFAE07D4; Sat, 4 Feb 2023 07:41:43 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 109B9E07C5 for ; Sat, 4 Feb 2023 07:41:43 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CA068340D87 for ; Sat, 4 Feb 2023 07:41:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1EC8589C for ; Sat, 4 Feb 2023 07:41:40 +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: <1675495900.ef1358200b12368e1b42facf77653da949d2a367.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/concurrent-ruby/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/concurrent-ruby/Manifest dev-ruby/concurrent-ruby/concurrent-ruby-1.2.0.ebuild X-VCS-Directories: dev-ruby/concurrent-ruby/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: ef1358200b12368e1b42facf77653da949d2a367 X-VCS-Branch: master Date: Sat, 4 Feb 2023 07:41:40 +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: 2bc26aec-fe80-4b2c-8bac-c298301a6301 X-Archives-Hash: c056a3bec9ead355a18a5cbf457ae803 commit: ef1358200b12368e1b42facf77653da949d2a367 Author: Hans de Graaff gentoo org> AuthorDate: Sat Feb 4 07:31:40 2023 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Feb 4 07:31:40 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef135820 dev-ruby/concurrent-ruby: add 1.2.0 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/concurrent-ruby/Manifest | 1 + .../concurrent-ruby/concurrent-ruby-1.2.0.ebuild | 38 ++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-ruby/concurrent-ruby/Manifest b/dev-ruby/concurrent-ruby/Manifest index 85cb41082024..e4ce11afe701 100644 --- a/dev-ruby/concurrent-ruby/Manifest +++ b/dev-ruby/concurrent-ruby/Manifest @@ -1,2 +1,3 @@ DIST concurrent-ruby-1.1.10.tar.gz 6013684 BLAKE2B d271579a49ab52c9c41a7a0a31451775e1cba8ce19486b52a9eb3df7abbc66f7610d31284fc02747a8ee5f429983d8283b6fe92f22b911dcda5bc515da58b48f SHA512 cfb67ce806d1f2a5bae509806247bfefb05c56794741cedcaa7ab6ff708085e374d150e8f46ff8e04dcb0918fde8ab5a593c60550da9ff6dc00af116e123f064 DIST concurrent-ruby-1.1.9.tar.gz 4923746 BLAKE2B 2bfea989db31f17c69ee479091135516e2aeef7ac74234ccea91b2e4b3626395683a7b2ebba1d13cb527903d3d83c51e873bdb859f0ff1983062fea4fa90a1e4 SHA512 243fc20795bcd7399bdf77a9b0db9b0bccb1b05edacf4fbc8f5515f59502300b4033a2a59bfb6adea9befdb20759c9f58bbf0e7744e934c85738085bef714ea6 +DIST concurrent-ruby-1.2.0.tar.gz 1160662 BLAKE2B e05df20596930d46781d718ebcd90c8326d78993ad15a7b7c804e0852bdfb66a955314769c8abdef9bc59c6fb249d81c6f48058751537a399da5846ded97dcbc SHA512 c6dc1a84ac4b176644481c2431d67b2b7e0a47fcb9e3fc3fa0b4ddd102ef65d1d02d5aff2784bb55a194f01a4a5294fc26944da16dea550934a6950caee54a31 diff --git a/dev-ruby/concurrent-ruby/concurrent-ruby-1.2.0.ebuild b/dev-ruby/concurrent-ruby/concurrent-ruby-1.2.0.ebuild new file mode 100644 index 000000000000..98089791617f --- /dev/null +++ b/dev-ruby/concurrent-ruby/concurrent-ruby-1.2.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Modern concurrency tools including agents, futures, promises, thread pools, more" +HOMEPAGE="https://github.com/ruby-concurrency/concurrent-ruby" +SRC_URI="https://github.com/ruby-concurrency/concurrent-ruby/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( >=dev-ruby/timecop-0.7.4 )" + +all_ruby_prepare() { + # Remove edge files as defined in support/file_map.rb + rm -rf spec/concurrent/{actor,cancellation,channel,edge,lazy_register,processing,promises,throttle}* || die + rm -r spec/concurrent/executor/wrapping_executor_spec.rb || die + sed -i -e '/concurrent-edge/ s:^:#:' spec/spec_helper.rb || die + sed -i -e 's:lib-edge:lib/concurrent-ruby:' .rspec || die + sed -i -e 's:../../../::' spec/concurrent/executor/executor_quits.rb || die + + # Remove specs for the ext gem + rm -rf spec/concurrent/atomic || die + + sed -i 's/git ls-files/find * -print/' ${RUBY_FAKEGEM_GEMSPEC} || die +}