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/rmagick: ChangeLog rmagick-2.13.0.ebuild
Date: Mon, 28 Dec 2009 11:16:06
Message-Id: E1NPDZz-0004mR-Ma@stork.gentoo.org
1 graaff 09/12/28 11:16:03
2
3 Modified: ChangeLog
4 Added: rmagick-2.13.0.ebuild
5 Log:
6 Version bump. Run configure once in the proper phase.
7 (Portage version: 2.1.6.13/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.167 dev-ruby/rmagick/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rmagick/ChangeLog?rev=1.167&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rmagick/ChangeLog?rev=1.167&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rmagick/ChangeLog?r1=1.166&r2=1.167
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rmagick/ChangeLog,v
19 retrieving revision 1.166
20 retrieving revision 1.167
21 diff -u -r1.166 -r1.167
22 --- ChangeLog 26 Dec 2009 17:35:00 -0000 1.166
23 +++ ChangeLog 28 Dec 2009 11:16:03 -0000 1.167
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-ruby/rmagick
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rmagick/ChangeLog,v 1.166 2009/12/26 17:35:00 pva Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rmagick/ChangeLog,v 1.167 2009/12/28 11:16:03 graaff Exp $
29 +
30 +*rmagick-2.13.0 (28 Dec 2009)
31 +
32 + 28 Dec 2009; Hans de Graaff <graaff@g.o> +rmagick-2.13.0.ebuild:
33 + Version bump. Run configure once in the proper phase.
34
35 26 Dec 2009; Peter Volkov <pva@g.o> rmagick-2.12.2.ebuild,
36 rmagick-2.12.2-r1.ebuild:
37
38
39
40 1.1 dev-ruby/rmagick/rmagick-2.13.0.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rmagick/rmagick-2.13.0.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rmagick/rmagick-2.13.0.ebuild?rev=1.1&content-type=text/plain
44
45 Index: rmagick-2.13.0.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rmagick/rmagick-2.13.0.ebuild,v 1.1 2009/12/28 11:16:03 graaff Exp $
50
51 EAPI="2"
52 USE_RUBY="ruby18"
53
54 inherit ruby-ng
55
56 # The gem for this package doesn't seem to play well with portage. It
57 # runs a GNUish configure script, with argument passed directly from
58 # the gem install command, but gem install doesn't use the same style
59 # of arguments. Thus, unless you're smart enough to come up with a
60 # fix, please leave this as a source package install.
61
62 MY_PV=${PV//_/-}
63
64 DESCRIPTION="An interface between Ruby and the ImageMagick(TM) image processing library"
65 HOMEPAGE="http://rmagick.rubyforge.org/"
66 SRC_URI="mirror://rubyforge/rmagick/RMagick-${MY_PV}.tar.bz2"
67 LICENSE="Artistic"
68 SLOT="0"
69 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
70 IUSE="examples doc"
71
72 # hdri causes extensive changes in the imagemagick internals, and
73 # rmagick is not ready to deal with those, see bug 184356.
74 RDEPEND=">=media-gfx/imagemagick-6.3.5.10[-hdri]"
75 DEPEND="${RDEPEND}
76 doc? ( app-text/ghostscript-gpl media-libs/libwmf )"
77
78 S="${WORKDIR}/RMagick-${PV}"
79
80 each_ruby_configure() {
81 local myconf
82
83 # When documentation is built many examples are also run. Not all
84 # of them may work (e.g. due to missing additional dependencies)
85 # so we allow the examples to fail.
86 if ! use doc ; then
87 myconf="--disable-htmldoc --allow-example-errors"
88 myconf="${myconf} --doc-dir=${D}/usr/share/doc/${P}/html"
89 fi
90
91 ${RUBY} setup.rb config --prefix="${D}/usr" "$@" \
92 ${myconf} || die "setup.rb config failed"
93 }
94
95 each_ruby_compile() {
96 ${RUBY} setup.rb setup || die "setup.rb setup failed"
97 }
98
99 each_ruby_install() {
100 ${RUBY} setup.rb install --prefix="${D}" || die "setup.rb install failed"
101 }
102
103 all_ruby_install() {
104 dodoc ChangeLog README.html README-Mac-OSX.txt || die
105
106 use examples && dodoc examples/*
107 }