diff options
author | Hans de Graaff <graaff@gentoo.org> | 2010-11-29 08:12:16 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2010-11-29 08:12:16 +0000 |
commit | 66eeb6c7e8f855c972524ad2a33acf5e10d9c8e6 (patch) | |
tree | 6799cd2b51de155fdf542521c70b2059f8dcfb23 /dev-ruby/nokogiri | |
parent | version bump - ebuild updates from Ruediger Gad via bug #346873 (diff) | |
download | gentoo-2-66eeb6c7e8f855c972524ad2a33acf5e10d9c8e6.tar.gz gentoo-2-66eeb6c7e8f855c972524ad2a33acf5e10d9c8e6.tar.bz2 gentoo-2-66eeb6c7e8f855c972524ad2a33acf5e10d9c8e6.zip |
Add back nokogiri-1.4.1-r1 since it is the last version that supports jruby and dev-ruby/mechanize depends on it.
(Portage version: 2.1.9.24/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/nokogiri')
-rw-r--r-- | dev-ruby/nokogiri/ChangeLog | 6 | ||||
-rw-r--r-- | dev-ruby/nokogiri/nokogiri-1.4.1-r1.ebuild | 43 |
2 files changed, 48 insertions, 1 deletions
diff --git a/dev-ruby/nokogiri/ChangeLog b/dev-ruby/nokogiri/ChangeLog index 28645068fcea..93889b253bc1 100644 --- a/dev-ruby/nokogiri/ChangeLog +++ b/dev-ruby/nokogiri/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-ruby/nokogiri # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/nokogiri/ChangeLog,v 1.43 2010/11/26 12:29:21 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/nokogiri/ChangeLog,v 1.44 2010/11/29 08:12:16 graaff Exp $ + + 29 Nov 2010; Hans de Graaff <graaff@gentoo.org> +nokogiri-1.4.1-r1.ebuild: + Add back nokogiri-1.4.1-r1 since it is the last version that supports + jruby and dev-ruby/mechanize depends on it. *nokogiri-1.4.4 (26 Nov 2010) diff --git a/dev-ruby/nokogiri/nokogiri-1.4.1-r1.ebuild b/dev-ruby/nokogiri/nokogiri-1.4.1-r1.ebuild new file mode 100644 index 000000000000..d409909ff795 --- /dev/null +++ b/dev-ruby/nokogiri/nokogiri-1.4.1-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/nokogiri/nokogiri-1.4.1-r1.ebuild,v 1.11 2010/11/29 08:12:16 graaff Exp $ + +EAPI=2 + +USE_RUBY="ruby18 ruby19 jruby" + +RUBY_FAKEGEM_TASK_DOC="docs" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc CHANGELOG.ja.rdoc README.rdoc README.ja.rdoc" + +inherit ruby-fakegem eutils + +DESCRIPTION="Nokogiri is an HTML, XML, SAX, and Reader parser." +HOMEPAGE="http://nokogiri.rubyforge.org/" +LICENSE="MIT" + +KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +SLOT="0" +IUSE="" + +RDEPEND="dev-libs/libxml2 + dev-libs/libxslt" +DEPEND="${RDEPEND}" + +ruby_add_bdepend "dev-ruby/rake-compiler dev-ruby/rexical dev-ruby/hoe" + +all_ruby_prepare() { + epatch "${FILESDIR}"/${P}-ruby19.patch +} + +each_ruby_compile() { + case ${RUBY} in + *jruby) + einfo "NokoGiri does not build a native extension for JRury." + einfo "Instead, the FFI library will be used." + ;; + *) + ${RUBY} -S rake compile || die "extension build failed" + ;; + esac +} |