summaryrefslogtreecommitdiff
path: root/dev-ruby/celluloid
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-01-12 16:58:08 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-01-12 16:58:08 +0000
commitc8a77dfe4d3d307c1d5dd2650b7297447d8b609d (patch)
tree9ea78393bc3ecd6ab4de449383d4e97e5f3648ae /dev-ruby/celluloid
parent2891d29af8907ce881662f4a02844926d7a293c7 (diff)
gentoo resync : 12.01.2019
Diffstat (limited to 'dev-ruby/celluloid')
-rw-r--r--dev-ruby/celluloid/Manifest2
-rw-r--r--dev-ruby/celluloid/celluloid-0.17.4.ebuild54
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-ruby/celluloid/Manifest b/dev-ruby/celluloid/Manifest
index 417c09c1e0a4..2c106c297b1d 100644
--- a/dev-ruby/celluloid/Manifest
+++ b/dev-ruby/celluloid/Manifest
@@ -1,3 +1,5 @@
DIST celluloid-0.17.3.gem 61952 BLAKE2B 5b64b67dea84261706acaf2612c23cb0b82d6af7fe0eece9d9e17e5d948d83a81b0de7598a1709fb5e1073f3632c7df6d6730c4797e0a4da593795b85c3bf9e1 SHA512 bb5005452ef7a2da1fb6b6515a6ad9df992dfd043caa605d1282a24b874c1f0798da0d19ee00f434486f9ef2c9467b1d6d2cadaa7883db98b885eeb842f1b94c
+DIST celluloid-0.17.4.gem 61952 BLAKE2B e6432f76aa2548f9b734502954cae7aaaa2cc6658ae644591fe22bd25e53e4eb88ef81f41416162c7478a77622f400040695861f9557578c029c3860cdb800b5 SHA512 ab876a12db908d0b14b9a701bbf7c2530188559cb60b1832e76642fae843f4eca9f4790a60ff88dda8ff92f7051f2df222c19cdec77666fc2e8d6d15adbba793
EBUILD celluloid-0.17.3.ebuild 1362 BLAKE2B e7e598970366e98ef310f219650f12d35e4c90b7544ebb2a18fa9d6b44c9c139473fbd45370097130dd9d15694286114c269fbfc54e93fc29d4485ba764bd309 SHA512 0c142ee124f005db429dc76f4177ddb808237edb59c2491b8ba7dac0d1033ca5b74ff91fbf218d994ec90c6f915243da8fdb92b07ad67b1dba64fa363ac75887
+EBUILD celluloid-0.17.4.ebuild 1382 BLAKE2B ffb0be693c6df756d028f6cb17f4087a0dd26ee4d57be1a5b0d60a9ffd940aa94d30ab0383419b9883f779b98cae7d99ec69af4c0bcf3568840e5ff9d69f31d5 SHA512 a740490273f3e1b012cd6b7a9c68a1aae5d19edd480d9a2d66556852c8cd7f1dc7611ce1da83bacc541b493ec1ef031614aca3617536f90a120e58fed36abde1
MISC metadata.xml 345 BLAKE2B 57803cd94baa4d58e4c4c418834347d84a4e8bd5b4ae5019dd71797ace22f508b601bbe62221df4a2fab04eff1fa1aa43d78d98462d189ba13b9bcdf70375f44 SHA512 e07f38e8feadf085f1adeb737ff56aeb9cc4c79a3b7702f9c018544bebcc14646be394aa32ff5502c37ef0fb8968707b7f8d9a6fdaeff23cac5b71fabae46aa8
diff --git a/dev-ruby/celluloid/celluloid-0.17.4.ebuild b/dev-ruby/celluloid/celluloid-0.17.4.ebuild
new file mode 100644
index 000000000000..0d7dae6155c5
--- /dev/null
+++ b/dev-ruby/celluloid/celluloid-0.17.4.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# ruby25: fails tests
+USE_RUBY="ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+# Needed by packages writing specs for celluloid
+RUBY_FAKEGEM_EXTRAINSTALL="spec"
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Provides a simple and natural way to build fault-tolerant concurrent programs"
+HOMEPAGE="https://github.com/celluloid/celluloid"
+IUSE=""
+SLOT="0"
+
+LICENSE="MIT"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+ruby_add_rdepend "
+ dev-ruby/celluloid-essentials
+ dev-ruby/celluloid-extras
+ dev-ruby/celluloid-fsm
+ dev-ruby/celluloid-pool
+ dev-ruby/celluloid-supervision
+ >=dev-ruby/timers-4.1.1"
+
+ruby_add_bdepend "test? (
+ dev-ruby/dotenv
+ dev-ruby/nenv
+ dev-ruby/rspec-retry
+)"
+
+all_ruby_prepare() {
+ sed -i -e '/[Bb]undler/d' -e '/coveralls/I s:^:#:' spec/spec_helper.rb || die
+
+ sed -i -e '1irequire "spec_helper"' spec/celluloid/actor/system_spec.rb || die
+
+ sed -i -e '1irequire "pathname"' spec/spec_helper.rb || die
+ mkdir log || die
+}
+
+each_ruby_prepare() {
+ case ${RUBY} in
+ *ruby24)
+ sed -i -e '/String expected, but Fixnum received/ s/Fixnum/Integer/' spec/shared/actor_examples.rb || die
+ ;;
+ esac
+}