From b49d459dea8c18ecbd97aa93bbdb99d7d2cdce73 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Fri, 22 Jan 2021 07:46:11 +0100 Subject: dev-ruby/concurrent-ruby: add 1.1.8 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Hans de Graaff --- dev-ruby/concurrent-ruby/Manifest | 1 + .../concurrent-ruby/concurrent-ruby-1.1.8.ebuild | 38 ++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 dev-ruby/concurrent-ruby/concurrent-ruby-1.1.8.ebuild (limited to 'dev-ruby/concurrent-ruby') diff --git a/dev-ruby/concurrent-ruby/Manifest b/dev-ruby/concurrent-ruby/Manifest index 9312abeb84e9..f6efb1e0809a 100644 --- a/dev-ruby/concurrent-ruby/Manifest +++ b/dev-ruby/concurrent-ruby/Manifest @@ -1,2 +1,3 @@ DIST concurrent-ruby-1.0.5.tar.gz 1307802 BLAKE2B 2eee2afdd33e2609608e9389847de380eb895c2193746b1190ea96ca8bb67eaccd8d141bc2071006afbd971f078e5b6452d1e62624892c0fce2c12b8ac9fa28b SHA512 fdf7324b56bb37b4a79dc89882354e452ee838a097f522fb906c20a06856303cfbbae16f2500255cbfb4bba33ee1b3b3ee8facf3d0156e976add64209e349da6 DIST concurrent-ruby-1.1.7.tar.gz 4370284 BLAKE2B ea9120fa6c0c58d758c71d54a7a1371a2a94987141343be92e5d8150167d774b513003bc945b7a54dbae8ef1f15b371f6ec28e6e84828d653fdad5b6b58c63e1 SHA512 2af2f1236850666ef56f6024db3b094051de88bb0495b902f5be9471ded733e998b2845aacba2ff8b166d5097fccd597203502ce58766017cb67c529c2840d29 +DIST concurrent-ruby-1.1.8.tar.gz 4921836 BLAKE2B 1a58be0790af7708c58f6542b9bcf09b4f853bd180412f44cc6d18f2c058647384f2bc03f9828664c289eeabfd0721c866a143da4e4b4650d11058a2de7fdb16 SHA512 79b326721107abb972124d5e2cac32a348475d8408079747cca6a624df790c3662a8a460a9d1f0d6aceb4b4dc04fadcdc94777b58cec73d82350b3464f70b679 diff --git a/dev-ruby/concurrent-ruby/concurrent-ruby-1.1.8.ebuild b/dev-ruby/concurrent-ruby/concurrent-ruby-1.1.8.ebuild new file mode 100644 index 000000000000..6b34f2682135 --- /dev/null +++ b/dev-ruby/concurrent-ruby/concurrent-ruby-1.1.8.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +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 ~ppc ~ppc64 ~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,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 +} -- cgit v1.2.3-65-gdbad