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/rcairo: rcairo-1.10.2-r1.ebuild rcairo-1.10.2.ebuild ChangeLog rcairo-1.10.1.ebuild rcairo-1.10.0-r4.ebuild
Date: Sun, 01 Jan 2012 09:01:28
Message-Id: 20120101090119.4C8172004B@flycatcher.gentoo.org
1 graaff 12/01/01 09:01:19
2
3 Modified: rcairo-1.10.2.ebuild ChangeLog
4 Added: rcairo-1.10.2-r1.ebuild
5 Removed: rcairo-1.10.1.ebuild rcairo-1.10.0-r4.ebuild
6 Log:
7 Create new revision for ruby19. Drop old versions and remove ruby19 from fully keyworded version due to missing dependencies.
8
9 (Portage version: 2.1.10.41/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.3 dev-ruby/rcairo/rcairo-1.10.2.ebuild
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rcairo/rcairo-1.10.2.ebuild?rev=1.3&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rcairo/rcairo-1.10.2.ebuild?rev=1.3&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rcairo/rcairo-1.10.2.ebuild?r1=1.2&r2=1.3
17
18 Index: rcairo-1.10.2.ebuild
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/rcairo-1.10.2.ebuild,v
21 retrieving revision 1.2
22 retrieving revision 1.3
23 diff -u -r1.2 -r1.3
24 --- rcairo-1.10.2.ebuild 4 Dec 2011 14:07:44 -0000 1.2
25 +++ rcairo-1.10.2.ebuild 1 Jan 2012 09:01:19 -0000 1.3
26 @@ -1,11 +1,11 @@
27 -# Copyright 1999-2011 Gentoo Foundation
28 +# Copyright 1999-2012 Gentoo Foundation
29 # Distributed under the terms of the GNU General Public License v2
30 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/rcairo-1.10.2.ebuild,v 1.2 2011/12/04 14:07:44 armin76 Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/rcairo-1.10.2.ebuild,v 1.3 2012/01/01 09:01:19 graaff Exp $
32
33 EAPI=2
34
35 # jruby → cannot work, it's a compiled extension
36 -USE_RUBY="ruby18 ree18 ruby19"
37 +USE_RUBY="ruby18 ree18"
38
39 RUBY_FAKEGEM_NAME="cairo"
40
41
42
43
44 1.69 dev-ruby/rcairo/ChangeLog
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rcairo/ChangeLog?rev=1.69&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rcairo/ChangeLog?rev=1.69&content-type=text/plain
48 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rcairo/ChangeLog?r1=1.68&r2=1.69
49
50 Index: ChangeLog
51 ===================================================================
52 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/ChangeLog,v
53 retrieving revision 1.68
54 retrieving revision 1.69
55 diff -u -r1.68 -r1.69
56 --- ChangeLog 4 Dec 2011 14:07:44 -0000 1.68
57 +++ ChangeLog 1 Jan 2012 09:01:19 -0000 1.69
58 @@ -1,6 +1,17 @@
59 # ChangeLog for dev-ruby/rcairo
60 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
61 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/ChangeLog,v 1.68 2011/12/04 14:07:44 armin76 Exp $
62 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
63 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/ChangeLog,v 1.69 2012/01/01 09:01:19 graaff Exp $
64 +
65 +*rcairo-1.10.2-r1 (01 Jan 2012)
66 +
67 + 01 Jan 2012; Hans de Graaff <graaff@g.o> -rcairo-1.10.0-r4.ebuild,
68 + -rcairo-1.10.1.ebuild, rcairo-1.10.2.ebuild, +rcairo-1.10.2-r1.ebuild:
69 + Create new revision for ruby19. Drop old versions and remove ruby19 from
70 + fully keyworded version due to missing dependencies.
71 +
72 + 31 Dec 2011; Hans de Graaff <graaff@g.o> -rcairo-1.10.0-r4.ebuild,
73 + -rcairo-1.10.1.ebuild:
74 + Remove old versions.
75
76 04 Dec 2011; Raúl Porcel <armin76@g.o> rcairo-1.10.2.ebuild:
77 Add ~alpha/~ia64/~sparc wrt #391759
78
79
80
81 1.1 dev-ruby/rcairo/rcairo-1.10.2-r1.ebuild
82
83 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rcairo/rcairo-1.10.2-r1.ebuild?rev=1.1&view=markup
84 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rcairo/rcairo-1.10.2-r1.ebuild?rev=1.1&content-type=text/plain
85
86 Index: rcairo-1.10.2-r1.ebuild
87 ===================================================================
88 # Copyright 1999-2012 Gentoo Foundation
89 # Distributed under the terms of the GNU General Public License v2
90 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/rcairo-1.10.2-r1.ebuild,v 1.1 2012/01/01 09:01:19 graaff Exp $
91
92 EAPI=2
93
94 # jruby → cannot work, it's a compiled extension
95 USE_RUBY="ruby18 ree18 ruby19"
96
97 RUBY_FAKEGEM_NAME="cairo"
98
99 # Documentation depends on files that are not distributed.
100 RUBY_FAKEGEM_TASK_DOC=""
101
102 # Depends on test-unit-2 which is currently masked.
103 RUBY_FAKEGEM_TASK_TEST=""
104
105 RUBY_FAKEGEM_DOCDIR="doc"
106
107 RUBY_FAKEGEM_EXTRADOC="AUTHORS NEWS"
108
109 inherit multilib ruby-fakegem
110
111 DESCRIPTION="Ruby bindings for cairo"
112 HOMEPAGE="http://cairographics.org/rcairo/"
113
114 IUSE=""
115
116 SLOT="0"
117 LICENSE="|| ( Ruby GPL-2 )"
118 KEYWORDS="~amd64 ~x86"
119
120 RDEPEND="${RDEPEND}
121 >=x11-libs/cairo-1.2.0[svg]"
122 DEPEND="${DEPEND}
123 >=x11-libs/cairo-1.2.0[svg]"
124
125 ruby_add_bdepend "
126 dev-ruby/pkg-config
127 dev-ruby/ruby-glib2
128 test? ( >=dev-ruby/test-unit-2.1.0-r1:2 )"
129
130 each_ruby_configure() {
131 ${RUBY} -Cext/cairo extconf.rb || die "extconf failed"
132 }
133
134 each_ruby_compile() {
135 emake -Cext/cairo || die "make failed"
136
137 # again, try to make it more standard, to install it more easily.
138 cp ext/cairo/cairo$(get_modname) lib/ || die
139 }
140
141 each_ruby_test() {
142 # don't rely on the Rakefile because it's a mess to load with
143 # their hierarchy, do it manually.
144 ${RUBY} -Ilib -r ./test/cairo-test-utils.rb \
145 -e 'gem "test-unit"; require "test/unit"; Dir.glob("test/**/test_*.rb") {|f| load f}' || die "tests failed"
146 }
147
148 each_ruby_install() {
149 each_fakegem_install
150
151 insinto $(ruby_get_hdrdir)
152 doins ext/cairo/rb_cairo.h || die "Cannot install header file."
153 }
154
155 all_ruby_install() {
156 all_fakegem_install
157
158 insinto /usr/share/doc/${PF}/samples
159 doins -r samples/* || die "Cannot install sample files."
160 }