Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/oniguruma: oniguruma-1.1.0-r1.ebuild ChangeLog
Date: Tue, 09 Feb 2010 18:12:38
Message-Id: E1NeuZf-0007wC-Tt@stork.gentoo.org
1 graaff 10/02/09 18:12:35
2
3 Modified: ChangeLog
4 Added: oniguruma-1.1.0-r1.ebuild
5 Log:
6 Convert to ruby-fakegem.
7 (Portage version: 2.1.7.16/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.4 dev-ruby/oniguruma/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/oniguruma/ChangeLog?rev=1.4&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/oniguruma/ChangeLog?rev=1.4&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/oniguruma/ChangeLog?r1=1.3&r2=1.4
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/oniguruma/ChangeLog,v
19 retrieving revision 1.3
20 retrieving revision 1.4
21 diff -u -r1.3 -r1.4
22 --- ChangeLog 4 Jan 2010 11:41:13 -0000 1.3
23 +++ ChangeLog 9 Feb 2010 18:12:35 -0000 1.4
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-ruby/oniguruma
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/oniguruma/ChangeLog,v 1.3 2010/01/04 11:41:13 fauli Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/oniguruma/ChangeLog,v 1.4 2010/02/09 18:12:35 graaff Exp $
29 +
30 +*oniguruma-1.1.0-r1 (09 Feb 2010)
31 +
32 + 09 Feb 2010; Hans de Graaff <graaff@g.o>
33 + +oniguruma-1.1.0-r1.ebuild, +files/oniguruma-1.1.0-unmonkey.patch:
34 + Convert to ruby-fakegem.
35
36 04 Jan 2010; Christian Faulhammer <fauli@g.o>
37 oniguruma-1.1.0.ebuild:
38
39
40
41 1.1 dev-ruby/oniguruma/oniguruma-1.1.0-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/oniguruma/oniguruma-1.1.0-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/oniguruma/oniguruma-1.1.0-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: oniguruma-1.1.0-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/oniguruma/oniguruma-1.1.0-r1.ebuild,v 1.1 2010/02/09 18:12:35 graaff Exp $
51
52 EAPI="2"
53 USE_RUBY="ruby18"
54
55 RUBY_FAKEGEM_TASK_DOC="docs"
56
57 RUBY_FAKEGEM_EXTRADOC="History.txt README.txt Syntax.txt"
58
59 inherit ruby-fakegem
60
61 DESCRIPTION="Ruby bindings to the Oniguruma"
62 HOMEPAGE="http://oniguruma.rubyforge.org/"
63
64 LICENSE="BSD-2"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
67 IUSE=""
68
69 DEPEND="dev-libs/oniguruma"
70
71 RUBY_PATCHES=( "${P}-unmonkey.patch" )
72
73 ruby_add_bdepend doc dev-ruby/hoe
74 ruby_add_bdepend test "dev-ruby/hoe virtual/ruby-test-unit"
75
76 each_ruby_configure() {
77 pushd ext >& /dev/null
78 ${RUBY} extconf.rb
79 popd >& /dev/null
80 }
81
82 each_ruby_compile() {
83 pushd ext >& /dev/null
84 emake || die "Compilation failed."
85 popd >& /dev/null
86 }
87
88 each_ruby_install() {
89 mv ext/oregexp.so lib || die "Unable to move oregexp.so"
90 each_fakegem_install
91 }