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/atomic/
Date: Mon, 26 Feb 2018 06:27:47
Message-Id: 1519624865.6a3c7ee7f4b0877d77e5287fc4ef5a2c76d01bf7.graaff@gentoo
1 commit: 6a3c7ee7f4b0877d77e5287fc4ef5a2c76d01bf7
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 26 06:01:05 2018 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 26 06:01:05 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a3c7ee7
7
8 dev-ruby/atomic: add 1.1.100
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 dev-ruby/atomic/Manifest | 1 +
13 dev-ruby/atomic/atomic-1.1.100.ebuild | 33 +++++++++++++++++++++++++++++++++
14 2 files changed, 34 insertions(+)
15
16 diff --git a/dev-ruby/atomic/Manifest b/dev-ruby/atomic/Manifest
17 index 81d21ec64ec..b2488b863ba 100644
18 --- a/dev-ruby/atomic/Manifest
19 +++ b/dev-ruby/atomic/Manifest
20 @@ -1 +1,2 @@
21 +DIST atomic-1.1.100.gem 17920 BLAKE2B 47c96c49a572a6d6705b952e419e1a07f3b06de4e0235a4d9d98e6ff546c96aa9af69c39864107c6bec1ba7b92ca2a9ceef2cb5d5938c1c82f40973376920d6e SHA512 64c374b69b7ea8b7fc6aa3e189cb6ae3d4a9a214d410a83fa0ef464a55624792055c5e3e61adda3eff039aba604a0c1b710ba5304d33f27ae9cc6e421e8e1892
22 DIST atomic-1.1.99.gem 17920 BLAKE2B 814406dc3e38a3ec882eb47e20e6153da9f68c4dd6ba3bc3d3869c0542754ba38678512872b25379b12d902ad6f740b1da974680867d492d2c4620091c5a32c9 SHA512 9c7762f6c32d11b2c5b45be68954ca12c753d2b4683167158a037ce791d72b13d940beef5bf6dd445c8b12e358c62d2a9f43a609fb3b7c7357fea4f66316063c
23
24 diff --git a/dev-ruby/atomic/atomic-1.1.100.ebuild b/dev-ruby/atomic/atomic-1.1.100.ebuild
25 new file mode 100644
26 index 00000000000..811158c883e
27 --- /dev/null
28 +++ b/dev-ruby/atomic/atomic-1.1.100.ebuild
29 @@ -0,0 +1,33 @@
30 +# Copyright 1999-2018 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=5
34 +
35 +USE_RUBY="ruby22 ruby23 ruby24 ruby25"
36 +
37 +RUBY_FAKEGEM_TASK_DOC=""
38 +
39 +inherit multilib ruby-fakegem
40 +
41 +DESCRIPTION="An atomic reference implementation for JRuby, Rubinius, and MRI"
42 +HOMEPAGE="https://github.com/headius/ruby-atomic"
43 +
44 +LICENSE="Apache-2.0"
45 +SLOT="0"
46 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
47 +IUSE=""
48 +
49 +all_ruby_prepare() {
50 + # Avoid compilation dependencies since we compile directly.
51 + sed -i -e '/:test => :compile/ s:^:#:' \
52 + -e '/extensiontask/,/end/ s:^:#:' Rakefile || die
53 +}
54 +
55 +each_ruby_configure() {
56 + ${RUBY} -Cext extconf.rb || die
57 +}
58 +
59 +each_ruby_compile() {
60 + emake V=1 -Cext
61 + cp ext/atomic_reference$(get_modname) lib/ || die
62 +}