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: ChangeLog rcairo-1.8.0-r1.ebuild rcairo-1.8.0.ebuild
Date: Sun, 03 May 2009 20:04:17
Message-Id: E1M0hqm-0006Ts-Bi@stork.gentoo.org
1 graaff 09/05/03 19:59:48
2
3 Modified: ChangeLog rcairo-1.8.0.ebuild
4 Added: rcairo-1.8.0-r1.ebuild
5 Log:
6 Bump version to use upstream tarball instead of gem.
7 (Portage version: 2.1.6.11/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.28 dev-ruby/rcairo/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rcairo/ChangeLog?rev=1.28&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rcairo/ChangeLog?rev=1.28&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rcairo/ChangeLog?r1=1.27&r2=1.28
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/ChangeLog,v
19 retrieving revision 1.27
20 retrieving revision 1.28
21 diff -u -r1.27 -r1.28
22 --- ChangeLog 16 Oct 2008 09:22:47 -0000 1.27
23 +++ ChangeLog 3 May 2009 19:59:48 -0000 1.28
24 @@ -1,6 +1,14 @@
25 # ChangeLog for dev-ruby/rcairo
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/ChangeLog,v 1.27 2008/10/16 09:22:47 flameeyes Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/ChangeLog,v 1.28 2009/05/03 19:59:48 graaff Exp $
30 +
31 +*rcairo-1.8.0-r1 (03 May 2009)
32 +
33 + 03 May 2009; Hans de Graaff <graaff@g.o> rcairo-1.8.0.ebuild,
34 + +rcairo-1.8.0-r1.ebuild:
35 + Switch away from the gem because the gem Makefile has weird issues when
36 + installing in some instances, see bug #264272. Install fake gemspec to
37 + hopefully keep software depending on the gem being installed working.
38
39 16 Oct 2008; Diego Pettenò <flameeyes@g.o> rcairo-1.8.0.ebuild:
40 Add missing IUSE.
41
42
43
44 1.3 dev-ruby/rcairo/rcairo-1.8.0.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rcairo/rcairo-1.8.0.ebuild?rev=1.3&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rcairo/rcairo-1.8.0.ebuild?rev=1.3&content-type=text/plain
48 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rcairo/rcairo-1.8.0.ebuild?r1=1.2&r2=1.3
49
50 Index: rcairo-1.8.0.ebuild
51 ===================================================================
52 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/rcairo-1.8.0.ebuild,v
53 retrieving revision 1.2
54 retrieving revision 1.3
55 diff -u -r1.2 -r1.3
56 --- rcairo-1.8.0.ebuild 16 Oct 2008 09:22:47 -0000 1.2
57 +++ rcairo-1.8.0.ebuild 3 May 2009 19:59:48 -0000 1.3
58 @@ -1,6 +1,6 @@
59 -# Copyright 1999-2008 Gentoo Foundation
60 +# Copyright 1999-2009 Gentoo Foundation
61 # Distributed under the terms of the GNU General Public License v2
62 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/rcairo-1.8.0.ebuild,v 1.2 2008/10/16 09:22:47 flameeyes Exp $
63 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/rcairo-1.8.0.ebuild,v 1.3 2009/05/03 19:59:48 graaff Exp $
64
65 inherit gems
66
67 @@ -16,6 +16,8 @@
68 LICENSE="|| ( Ruby GPL-2 )"
69 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
70
71 +USE_RUBY="ruby18"
72 +
73 RDEPEND=">=x11-libs/cairo-1.2.0"
74 DEPEND="${RDEPEND}
75 dev-util/pkgconfig"
76
77
78
79 1.1 dev-ruby/rcairo/rcairo-1.8.0-r1.ebuild
80
81 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rcairo/rcairo-1.8.0-r1.ebuild?rev=1.1&view=markup
82 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rcairo/rcairo-1.8.0-r1.ebuild?rev=1.1&content-type=text/plain
83
84 Index: rcairo-1.8.0-r1.ebuild
85 ===================================================================
86 # Copyright 1999-2009 Gentoo Foundation
87 # Distributed under the terms of the GNU General Public License v2
88 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcairo/rcairo-1.8.0-r1.ebuild,v 1.1 2009/05/03 19:59:48 graaff Exp $
89
90 inherit ruby
91
92 IUSE=""
93
94 DESCRIPTION="Ruby bindings for cairo"
95 HOMEPAGE="http://cairographics.org/rcairo/"
96 SRC_URI="http://cairographics.org/releases/${P}.tar.gz"
97
98 SLOT="0"
99 LICENSE="|| ( Ruby GPL-2 )"
100 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
101
102 USE_RUBY="ruby18"
103
104 RDEPEND=">=x11-libs/cairo-1.2.0"
105 DEPEND="${RDEPEND}
106 dev-util/pkgconfig"
107
108 dofakegemspec() {
109 cat - > "${T}"/${P}.gemspec <<EOF
110 Gem::Specification.new do |s|
111 s.name = "${PN}"
112 s.version = "${PV}"
113 s.summary = "${DESCRIPTION}"
114 s.homepage = "${HOMEPAGE}"
115 end
116 EOF
117
118 insinto $(${RUBY} -r rbconfig -e 'print Config::CONFIG["vendorlibdir"]' | sed -e 's:vendor_ruby:gems:')/specifications
119 doins "${T}"/${P}.gemspec || die "Unable to install fake gemspec"
120 }
121
122 src_install() {
123 ruby_src_install
124
125 dofakegemspec
126 }