Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/concurrent-ruby/
Date: Mon, 27 Feb 2017 06:52:41
Message-Id: 1488178292.2223fa4e3e8bd53158d3d263ae5a14a75d3896da.graaff@gentoo
1 commit: 2223fa4e3e8bd53158d3d263ae5a14a75d3896da
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 27 06:30:34 2017 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 27 06:51:32 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2223fa4e
7
8 dev-ruby/concurrent-ruby: add 1.0.5
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-ruby/concurrent-ruby/Manifest | 1 +
13 .../concurrent-ruby/concurrent-ruby-1.0.5.ebuild | 38 ++++++++++++++++++++++
14 2 files changed, 39 insertions(+)
15
16 diff --git a/dev-ruby/concurrent-ruby/Manifest b/dev-ruby/concurrent-ruby/Manifest
17 index 8110345152..e97aacd3d9 100644
18 --- a/dev-ruby/concurrent-ruby/Manifest
19 +++ b/dev-ruby/concurrent-ruby/Manifest
20 @@ -1,3 +1,4 @@
21 DIST concurrent-ruby-1.0.2.tar.gz 1278198 SHA256 a8051789e6b08448ae350031cf13ec563b0a176651b7d81d9f9e845b9b126ff4 SHA512 ad82af8bb5a6aeb6133466580e3e6b51cc37dcc9391b0bbfdc5230ac761453747fcac1b080a09772c90d7a05047ae4ac0ba4113fbd048c4b3c3712064b7a22d9 WHIRLPOOL 55a8d668cad46f357d3b54428f0ab42b349f46b5e9a785cf053944ef96a4f0267b775911b7cec5d6d64bc40fb7efc1f1cc0ef5affdc7307ea5e40db8af6dc87c
22 DIST concurrent-ruby-1.0.3.tar.gz 1281328 SHA256 fb30442c8e880b8c9fd9f6cc87aa0f6bac38c9c6fae2efe08864acd232df474f SHA512 c866e26938effca0aa508f86330a08d0885c68c012bfb64f28b44f9490b6b2c71d99cfe0101a5dcaf1b6038948051f98960907cb7e27c44c60325a27e08c35dc WHIRLPOOL 0ef989bd5c6150dada21bb57f117d6252bd1b2eddd17aa233ff6906bf5e8403e6bcfee98adfcb6bf5de17f45c285c06f4bfbdff3ce611f5adb97016018f7570d
23 DIST concurrent-ruby-1.0.4.tar.gz 1299941 SHA256 d335fff59c62e92c1e032e77136bf2ec189c5b0811adb87f147ecb2f89b7a884 SHA512 f905cc1b42b100fb961d774fc7cf5cb19d4f6fa1342ae782b9a018a8fb84f0d7cfe954f809645d6f485ac01247a5207fbc6b11e051dc9dd7fdd679793ba6a47d WHIRLPOOL af9a052610f6cedc520c615634228c168f22ad7c882bf3f2e35a327380b0c630de47c36564c1b329efe928a6a937694adbbb67dc0c872ede30a4b891ab593678
24 +DIST concurrent-ruby-1.0.5.tar.gz 1307802 SHA256 dede44297efd94d93e56bc85efeb1d2220f911ca4913c59f8c91f8a53f061b62 SHA512 fdf7324b56bb37b4a79dc89882354e452ee838a097f522fb906c20a06856303cfbbae16f2500255cbfb4bba33ee1b3b3ee8facf3d0156e976add64209e349da6 WHIRLPOOL e60d55a9636a2deb256d4c3a2c6910d5e8af7377337edbcafee6431030c91f86a1f2bf17a1ad75785ce185d9aa6fe311392be1cdf859104d9f225bc3af8953ad
25
26 diff --git a/dev-ruby/concurrent-ruby/concurrent-ruby-1.0.5.ebuild b/dev-ruby/concurrent-ruby/concurrent-ruby-1.0.5.ebuild
27 new file mode 100644
28 index 0000000000..866f984d87
29 --- /dev/null
30 +++ b/dev-ruby/concurrent-ruby/concurrent-ruby-1.0.5.ebuild
31 @@ -0,0 +1,38 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=5
37 +USE_RUBY="ruby21 ruby22 ruby23"
38 +
39 +RUBY_FAKEGEM_RECIPE_TEST="rspec3"
40 +
41 +RUBY_FAKEGEM_RECIPE_DOC=""
42 +
43 +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
44 +
45 +inherit ruby-fakegem
46 +
47 +DESCRIPTION="Modern concurrency tools including agents, futures, promises, thread pools, more"
48 +HOMEPAGE="https://github.com/ruby-concurrency/concurrent-ruby"
49 +SRC_URI="https://github.com/ruby-concurrency/concurrent-ruby/archive/v${PV}.tar.gz -> ${P}.tar.gz"
50 +
51 +LICENSE="MIT"
52 +SLOT="1"
53 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
54 +IUSE=""
55 +
56 +ruby_add_bdepend "test? ( >=dev-ruby/timecop-0.7.4 )"
57 +
58 +all_ruby_prepare() {
59 + # Remove edge files as defined in support/file_map.rb
60 + rm -rf {lib,spec}/concurrent/{actor,channel,edge}* \
61 + lib/concurrent/{concurrent-edge,lazy_register.rb} \
62 + spec/concurrent/lazy_register_spec.rb || die
63 + sed -i -e '/concurrent-edge/ s:^:#:' spec/spec_helper.rb || die
64 +
65 + # Remove specs for the ext gem
66 + rm -rf spec/concurrent/atomic || die
67 +
68 + sed -i -e '/file_map/d' -e '/s.files/d' ${RUBY_FAKEGEM_GEMSPEC} || die
69 +}