diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-08-02 06:55:38 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-08-02 06:55:38 +0200 |
commit | f3ba28ff078c0e1fc930d220baf2bd945fe818cb (patch) | |
tree | 9067cb07dd10a69d4ebbccab41d7510c38db41d6 /dev-ruby/nokogumbo | |
parent | dev-ruby/deep_merge: add 1.1.1 (diff) | |
download | gentoo-f3ba28ff078c0e1fc930d220baf2bd945fe818cb.tar.gz gentoo-f3ba28ff078c0e1fc930d220baf2bd945fe818cb.tar.bz2 gentoo-f3ba28ff078c0e1fc930d220baf2bd945fe818cb.zip |
dev-ruby/nokogumbo: add 1.4.9
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-ruby/nokogumbo')
-rw-r--r-- | dev-ruby/nokogumbo/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/nokogumbo/nokogumbo-1.4.9.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/nokogumbo/Manifest b/dev-ruby/nokogumbo/Manifest index 9cc0e13ffba4..68ab900b9452 100644 --- a/dev-ruby/nokogumbo/Manifest +++ b/dev-ruby/nokogumbo/Manifest @@ -1 +1,2 @@ DIST nokogumbo-1.4.7.gem 227328 SHA256 39adb157eb8aaaef0f104cce973afad06d6fdc62b5bb65d37190dc6d8b285d79 SHA512 c4ac9c148430a3fe975849ee7e409d934f832433ba519468e3434153149178a34d03cd2381fe4b816aedbd26e086d96c4b1d397dee220a602ab70a54b973359a WHIRLPOOL c5bf3de8997f103d213bf8719257109de41908fa366cc65862c21bdda91f7c9da6c3c34c0841b206833df351ee78f74c4ddf53711372d11d562e503c0eec648e +DIST nokogumbo-1.4.9.gem 228352 SHA256 7e8f69cc90a4586e939d60d6b884521f37a6dfdc7671751307cd29fef90b87b2 SHA512 c23d28b63141266122834d0067aa49ad3575ae20baf0b10a915eba4d28de244d2c71e101f3c470bc384f6b7833f76097025fcf0273a13e8bd17e750a5bdc6e3b WHIRLPOOL b2755616ab78be08f3f266ff925f8bb4aad3007130b5cb08feb79350573d7dde293e443f81489c07c03c1cd65e5e7fd857e1b2e931cc7491b539a5fcac2c642d diff --git a/dev-ruby/nokogumbo/nokogumbo-1.4.9.ebuild b/dev-ruby/nokogumbo/nokogumbo-1.4.9.ebuild new file mode 100644 index 000000000000..fa6344e28020 --- /dev/null +++ b/dev-ruby/nokogumbo/nokogumbo-1.4.9.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +USE_RUBY="ruby20 ruby21 ruby22 ruby23" + +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 +} |