From: | "Hans de Graaff (graaff)" <graaff@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ruby/atomic: metadata.xml ChangeLog atomic-1.0.1.ebuild |
Date: | Wed, 26 Dec 2012 18:56:51 |
Message-Id: | 20121226185641.CABA12171D@flycatcher.gentoo.org |
1 | graaff 12/12/26 18:56:41 |
2 | |
3 | Added: metadata.xml ChangeLog atomic-1.0.1.ebuild |
4 | Log: |
5 | Initial import. Dependency for forthcoming dev-ruby/thread_safe. |
6 | |
7 | (Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-ruby/atomic/metadata.xml |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/atomic/metadata.xml?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/atomic/metadata.xml?rev=1.1&content-type=text/plain |
14 | |
15 | Index: metadata.xml |
16 | =================================================================== |
17 | <?xml version="1.0" encoding="UTF-8"?> |
18 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 | <pkgmetadata> |
20 | <herd>ruby</herd> |
21 | </pkgmetadata> |
22 | |
23 | |
24 | |
25 | 1.1 dev-ruby/atomic/ChangeLog |
26 | |
27 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/atomic/ChangeLog?rev=1.1&view=markup |
28 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/atomic/ChangeLog?rev=1.1&content-type=text/plain |
29 | |
30 | Index: ChangeLog |
31 | =================================================================== |
32 | # ChangeLog for dev-ruby/atomic |
33 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
34 | # $Header: /var/cvsroot/gentoo-x86/dev-ruby/atomic/ChangeLog,v 1.1 2012/12/26 18:56:41 graaff Exp $ |
35 | |
36 | *atomic-1.0.1 (26 Dec 2012) |
37 | |
38 | 26 Dec 2012; Hans de Graaff <graaff@g.o> +atomic-1.0.1.ebuild, |
39 | +metadata.xml: |
40 | Initial import. Dependency for forthcoming dev-ruby/thread_safe. |
41 | |
42 | |
43 | |
44 | |
45 | 1.1 dev-ruby/atomic/atomic-1.0.1.ebuild |
46 | |
47 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/atomic/atomic-1.0.1.ebuild?rev=1.1&view=markup |
48 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/atomic/atomic-1.0.1.ebuild?rev=1.1&content-type=text/plain |
49 | |
50 | Index: atomic-1.0.1.ebuild |
51 | =================================================================== |
52 | # Copyright 1999-2012 Gentoo Foundation |
53 | # Distributed under the terms of the GNU General Public License v2 |
54 | # $Header: /var/cvsroot/gentoo-x86/dev-ruby/atomic/atomic-1.0.1.ebuild,v 1.1 2012/12/26 18:56:41 graaff Exp $ |
55 | |
56 | EAPI=4 |
57 | # jruby → there is code for this in ext but that requires compiling java. |
58 | USE_RUBY="ruby18 ruby19" |
59 | |
60 | RUBY_FAKEGEM_TASK_DOC="" |
61 | |
62 | inherit multilib ruby-fakegem |
63 | |
64 | DESCRIPTION="An atomic reference implementation for JRuby, Rubinius, and MRI" |
65 | HOMEPAGE="https://github.com/headius/ruby-atomic" |
66 | |
67 | LICENSE="Apache-2.0" |
68 | SLOT="0" |
69 | KEYWORDS="~amd64" |
70 | IUSE="" |
71 | |
72 | each_ruby_configure() { |
73 | ${RUBY} -Cext extconf.rb || die |
74 | } |
75 | |
76 | each_ruby_compile() { |
77 | emake -Cext |
78 | cp ext/atomic_reference$(get_modname) lib/ || die |
79 | } |