From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KwfjZ-0004UZ-5v for garchives@archives.gentoo.org; Sun, 02 Nov 2008 16:23:25 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C5F9AE0299; Sun, 2 Nov 2008 16:23:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 7E08DE0299 for ; Sun, 2 Nov 2008 16:23:25 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id C399F642D2 for ; Sun, 2 Nov 2008 16:23:23 +0000 (UTC) Received: from graaff by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1KwfjX-0006lF-De for gentoo-commits@lists.gentoo.org; Sun, 02 Nov 2008 16:23:23 +0000 From: "Hans de Graaff (graaff)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, graaff@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/rmagick: rmagick-2.7.1.ebuild X-VCS-Repository: gentoo-x86 X-VCS-Files: rmagick-2.7.1.ebuild X-VCS-Directories: dev-ruby/rmagick X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff Content-Type: text/plain; charset=utf8 Message-Id: Sender: Hans de Graaff Date: Sun, 02 Nov 2008 16:23:23 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 173d281d-2fa0-4077-a7b1-c511fed95910 X-Archives-Hash: 45cbe3afc26d1f8cfa43a0e629ba2360 graaff 08/11/02 16:23:23 Added: rmagick-2.7.1.ebuild Log: Version bump (Portage version: 2.1.4.5) Revision Changes Path 1.1 dev-ruby/rmagick/rmagick-2.7.1.ebuild file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rmagick/r= magick-2.7.1.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rmagick/r= magick-2.7.1.ebuild?rev=3D1.1&content-type=3Dtext/plain Index: rmagick-2.7.1.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rmagick/rmagick-2.7.1.ebuild,= v 1.1 2008/11/02 16:23:23 graaff Exp $ inherit ruby # The gem for this package doesn't seem to play well with portage. It # runs a GNUish configure script, with argument passed directly from # the gem install command, but gem install doesn't use the same style # of arguments. Thus, unless you're smart enough to come up with a # fix, please leave this as a source package install. MY_PV=3D${PV//_/-} DESCRIPTION=3D"An interface between Ruby and the ImageMagick(TM) image pr= ocessing library" HOMEPAGE=3D"http://rmagick.rubyforge.org/" SRC_URI=3D"mirror://rubyforge/rmagick/RMagick-${MY_PV}.tar.bz2" LICENSE=3D"Artistic" SLOT=3D"0" KEYWORDS=3D"~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" IUSE=3D"examples doc" DEPEND=3D"virtual/ruby >=3Dmedia-gfx/imagemagick-6.3.5.6" S=3D"${WORKDIR}/RMagick-${PV}" # hdri causes extensive changes in the imagemagick internals, and # rmagick is not ready to deal with those, see bug 184356. pkg_setup() { if built_with_use --missing false media-gfx/imagemagick hdri ; then eerror "imagemagick is built with the hdri USE flag, this is not suppor= ted by rmagick" eerror "please rebuild imagemagick without hdri support if you want to = use rmagick" die "imagemagick is built with the hdri USE flag, this is not supported= by rmagick" fi } # Use a custom src_compile because the setup.rb included with RMagick # doesn't like extra parameters during the setup phase. src_compile() { # When documentation is built many examples are also run. Not all # of them may work (e.g. due to missing additional dependencies) # so we allow the examples to fail. if ! use doc ; then RUBY_ECONF=3D"--disable-htmldoc --allow-example-errors" fi ${RUBY} setup.rb config --prefix=3D/usr "$@" \ ${RUBY_ECONF} ${EXTRA_ECONF} || die "setup.rb config failed" ${RUBY} setup.rb setup || die "setup.rb setup failed" } # Use a custom src_install instead of the default one in ruby.eclass # because the one in ruby.eclass does not include setting the prefix # for the installation step and assumes that arguments can be given # also during the install phase. src_install() { if ! use doc ; then RUBY_ECONF=3D"--disable-htmldoc --allow-example-errors" fi ${RUBY} setup.rb config --prefix=3D"${D}/usr" "$@" \ ${RUBY_ECONF} ${EXTRA_ECONF} || die "setup.rb config failed" ${RUBY} setup.rb install --prefix=3D"${D}" || die "setup.rb install fail= ed" cd "${S}" dodoc ChangeLog README.html README-Mac-OSX.txt use examples && dodoc examples/* }