summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-12-19 08:47:10 +0100
committerHans de Graaff <graaff@gentoo.org>2015-12-19 08:47:41 +0100
commit61e92adb81927c29506ba87a53308e796814edf2 (patch)
treecdc7654bc07ac62b805e2369cc88b61241880496 /dev-ruby/nokogumbo
parentdev-ruby/rack-attack: add 4.3.1 (diff)
downloadgentoo-61e92adb81927c29506ba87a53308e796814edf2.tar.gz
gentoo-61e92adb81927c29506ba87a53308e796814edf2.tar.bz2
gentoo-61e92adb81927c29506ba87a53308e796814edf2.zip
dev-ruby/nokogumbo: add 1.4.7
Thanks to Sven Schwyn for letting us know about his upstream build changes related to Gentoo in bug 568668. Package-Manager: portage-2.2.24
Diffstat (limited to 'dev-ruby/nokogumbo')
-rw-r--r--dev-ruby/nokogumbo/Manifest1
-rw-r--r--dev-ruby/nokogumbo/nokogumbo-1.4.7.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/nokogumbo/Manifest b/dev-ruby/nokogumbo/Manifest
index 432803ff8595..0b0b4a116e38 100644
--- a/dev-ruby/nokogumbo/Manifest
+++ b/dev-ruby/nokogumbo/Manifest
@@ -1,2 +1,3 @@
DIST nokogumbo-1.4.1.gem 232448 SHA256 a2143a68c6eec9b45c554d3eaf10291344961743314cfbde429a55ec76938768 SHA512 41a6a11ebc9431d4b1bec251dab3a81ecaa85741edb95cabc4b3f040df26391efdad48dca5ac5710f20b72e34507ec992c21fdf1afcffaf0fc83ad49dc687f7b WHIRLPOOL 33fa7659dd3df1741f5b3443def1e781ae8dc58c3c7237edba6009eff12bf9c477c5de9f684f59c4331031ba37ca8cdba419c3ac58d3c64a88384c82adbdab28
DIST nokogumbo-1.4.6.gem 227328 SHA256 310261b82baa7c740544d0c1244338d8fa83864785910fe836734de53bd34c9a SHA512 e80cea26b41147787675dafe03d0f5e88f90c7c7212a95e3ee9090419c4b71c9701dd8b69917aaf66eafe4f1206f7d7165ca4918ad2e8ff12cc6be3265550b08 WHIRLPOOL 9f816a1da6218f840576ba384de297e9dde3e5c85660513b5568b42dffbf45fb5cabefc58e7a604f4af35ad81bfa3f099872caa8fe0dbba804130d3d311ef470
+DIST nokogumbo-1.4.7.gem 227328 SHA256 39adb157eb8aaaef0f104cce973afad06d6fdc62b5bb65d37190dc6d8b285d79 SHA512 c4ac9c148430a3fe975849ee7e409d934f832433ba519468e3434153149178a34d03cd2381fe4b816aedbd26e086d96c4b1d397dee220a602ab70a54b973359a WHIRLPOOL c5bf3de8997f103d213bf8719257109de41908fa366cc65862c21bdda91f7c9da6c3c34c0841b206833df351ee78f74c4ddf53711372d11d562e503c0eec648e
diff --git a/dev-ruby/nokogumbo/nokogumbo-1.4.7.ebuild b/dev-ruby/nokogumbo/nokogumbo-1.4.7.ebuild
new file mode 100644
index 000000000000..b0bb63eb6dc4
--- /dev/null
+++ b/dev-ruby/nokogumbo/nokogumbo-1.4.7.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_RECIPE_TEST="none"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A Nokogiri interface to the Gumbo HTML5 parser"
+HOMEPAGE="https://github.com/rubys/nokogumbo"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND+=">=dev-libs/gumbo-0.10"
+
+ruby_add_rdepend ">=dev-ruby/nokogiri-1.6.5-r1"
+
+each_ruby_configure() {
+ ${RUBY} -Cext/nokogumboc extconf.rb || die
+ sed -i -e 's:-Wl,--no-undefined::' ext/nokogumboc/Makefile || die
+}
+
+each_ruby_compile() {
+ emake -Cext/nokogumboc V=1
+ cp ext/nokogumboc/nokogumboc.so lib/ || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib test-nokogumbo.rb || die
+}