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: Fri, 02 Apr 2021 11:16:09
Message-Id: 1617362157.36a49dd1b188c34165301448ac0d4851911e3cfd.graaff@gentoo
1 commit: 36a49dd1b188c34165301448ac0d4851911e3cfd
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 2 09:36:14 2021 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 2 11:15:57 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36a49dd1
7
8 dev-ruby/atomic: add ruby30; fix extension
9
10 Package-Manager: Portage-3.0.17, Repoman-3.0.2
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 dev-ruby/atomic/atomic-1.1.101-r1.ebuild | 26 ++++++++++++++++++++++++++
14 1 file changed, 26 insertions(+)
15
16 diff --git a/dev-ruby/atomic/atomic-1.1.101-r1.ebuild b/dev-ruby/atomic/atomic-1.1.101-r1.ebuild
17 new file mode 100644
18 index 00000000000..a30e90d0040
19 --- /dev/null
20 +++ b/dev-ruby/atomic/atomic-1.1.101-r1.ebuild
21 @@ -0,0 +1,26 @@
22 +# Copyright 1999-2021 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +USE_RUBY="ruby25 ruby26 ruby27 ruby30"
28 +
29 +RUBY_FAKEGEM_TASK_DOC=""
30 +
31 +RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb)
32 +
33 +inherit multilib ruby-fakegem
34 +
35 +DESCRIPTION="An atomic reference implementation for JRuby, Rubinius, and MRI"
36 +HOMEPAGE="https://github.com/headius/ruby-atomic"
37 +
38 +LICENSE="Apache-2.0"
39 +SLOT="0"
40 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
41 +IUSE=""
42 +
43 +all_ruby_prepare() {
44 + # Avoid compilation dependencies since we compile directly.
45 + sed -i -e '/:test => :compile/ s:^:#:' \
46 + -e '/extensiontask/,/end/ s:^:#:' Rakefile || die
47 +}