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: rmagick-2.11.0.ebuild ChangeLog
Date: Fri, 31 Jul 2009 05:50:54
Message-Id: E1MWl12-00089P-FL@stork.gentoo.org
1 graaff 09/07/31 05:50:52
2
3 Modified: ChangeLog
4 Added: rmagick-2.11.0.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.6.13/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.146 dev-ruby/rmagick/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rmagick/ChangeLog?rev=1.146&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rmagick/ChangeLog?rev=1.146&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rmagick/ChangeLog?r1=1.145&r2=1.146
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rmagick/ChangeLog,v
19 retrieving revision 1.145
20 retrieving revision 1.146
21 diff -u -r1.145 -r1.146
22 --- ChangeLog 20 Jun 2009 05:52:56 -0000 1.145
23 +++ ChangeLog 31 Jul 2009 05:50:52 -0000 1.146
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.145 2009/06/20 05:52:56 graaff Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rmagick/ChangeLog,v 1.146 2009/07/31 05:50:52 graaff Exp $
29 +
30 +*rmagick-2.11.0 (31 Jul 2009)
31 +
32 + 31 Jul 2009; Hans de Graaff <graaff@g.o> +rmagick-2.11.0.ebuild:
33 + Version bump with more support for new ImageMagick features.
34
35 *rmagick-2.10.0 (20 Jun 2009)
36
37
38
39
40 1.1 dev-ruby/rmagick/rmagick-2.11.0.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rmagick/rmagick-2.11.0.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rmagick/rmagick-2.11.0.ebuild?rev=1.1&content-type=text/plain
44
45 Index: rmagick-2.11.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.11.0.ebuild,v 1.1 2009/07/31 05:50:52 graaff Exp $
50
51 EAPI="2"
52
53 inherit ruby
54
55 # The gem for this package doesn't seem to play well with portage. It
56 # runs a GNUish configure script, with argument passed directly from
57 # the gem install command, but gem install doesn't use the same style
58 # of arguments. Thus, unless you're smart enough to come up with a
59 # fix, please leave this as a source package install.
60
61 MY_PV=${PV//_/-}
62 DESCRIPTION="An interface between Ruby and the ImageMagick(TM) image processing library"
63 HOMEPAGE="http://rmagick.rubyforge.org/"
64 SRC_URI="mirror://rubyforge/rmagick/RMagick-${MY_PV}.tar.bz2"
65 LICENSE="Artistic"
66 SLOT="0"
67 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
68 IUSE="examples doc"
69
70 # hdri causes extensive changes in the imagemagick internals, and
71 # rmagick is not ready to deal with those, see bug 184356.
72 RDEPEND="virtual/ruby
73 >=media-gfx/imagemagick-6.3.5.10[-hdri]"
74 DEPEND="${RDEPEND}
75 doc? ( virtual/ghostscript media-libs/libwmf )"
76
77 S="${WORKDIR}/RMagick-${PV}"
78
79 # Use a custom src_compile because the setup.rb included with RMagick
80 # doesn't like extra parameters during the setup phase.
81 src_compile() {
82 # When documentation is built many examples are also run. Not all
83 # of them may work (e.g. due to missing additional dependencies)
84 # so we allow the examples to fail.
85 if ! use doc ; then
86 RUBY_ECONF="--disable-htmldoc --allow-example-errors"
87 fi
88
89 ${RUBY} setup.rb config --prefix=/usr "$@" \
90 ${RUBY_ECONF} ${EXTRA_ECONF} || die "setup.rb config failed"
91 ${RUBY} setup.rb setup || die "setup.rb setup failed"
92 }
93
94 # Use a custom src_install instead of the default one in ruby.eclass
95 # because the one in ruby.eclass does not include setting the prefix
96 # for the installation step and assumes that arguments can be given
97 # also during the install phase.
98 src_install() {
99 if ! use doc ; then
100 RUBY_ECONF="--disable-htmldoc --allow-example-errors"
101 fi
102
103 ${RUBY} setup.rb config --prefix="${D}/usr" \
104 --doc-dir="${D}/usr/share/doc/${P}/html" "$@" \
105 ${RUBY_ECONF} ${EXTRA_ECONF} || die "setup.rb config failed"
106 ${RUBY} setup.rb install --prefix="${D}" || die "setup.rb install failed"
107
108 cd "${S}"
109 dodoc ChangeLog README.html README-Mac-OSX.txt || die
110
111 use examples && dodoc examples/*
112 }