diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-12-14 13:26:14 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-12-14 13:26:14 +0000 |
commit | 6abbf81ef2f298e3221ff5e67a1f3c5f23958212 (patch) | |
tree | 25413d1cb3a0cbfe36029db32398c0f333609215 /dev-ruby/nokogumbo | |
parent | 9c417bacd51da6d8b57fa9f37425161d30d4b95b (diff) |
gentoo resync : 14.12.2020
Diffstat (limited to 'dev-ruby/nokogumbo')
-rw-r--r-- | dev-ruby/nokogumbo/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/nokogumbo/nokogumbo-2.0.4.ebuild | 49 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-ruby/nokogumbo/Manifest b/dev-ruby/nokogumbo/Manifest index 1b6566fd31de..644f3a2a3f83 100644 --- a/dev-ruby/nokogumbo/Manifest +++ b/dev-ruby/nokogumbo/Manifest @@ -1,5 +1,7 @@ DIST nokogumbo-2.0.2.tar.gz 295558 BLAKE2B ce52794eb3359ad34234d8f5faad4aff7c197326f6449a09a2264cb1a3d920886377f805e055980224644223d31a6621300c583a04f48ce8a8abe275b2614470 SHA512 fd115e072d2763ff63c46dc6f6117bb841b2c2ac28df0180d44a581a2a46f0b7b90ec17ae1b629e3e7c2f8a2cade53031cc118c8a946bbfb7e9e8600efefd67c DIST nokogumbo-2.0.3.tar.gz 297394 BLAKE2B f1afcf516c5c47b15c8404e8c218af1f2ca0bce022fefacb39842527be7be38cbaf9d2fe0572afd8d9c1893a82428b903ccb8d4506043f766305d4d43aaf066b SHA512 b44af7394f0b2c7159b34ead2aa15e39cd08348c1e3d7c4d9a2830c0920ae1a0d22ff9ac32db8fa1bd69c8ce55bc4a32069572944b53ef0d743f8a40560bcb47 +DIST nokogumbo-2.0.4.tar.gz 297809 BLAKE2B f55a08417fe46b9cb4e89ea032deab7f4ec8d4c4d377ca87fadfacf12f86fbea6c61de087e88d5de4ab29656276b014b1619ea7d83dae86aac671306ac0b989b SHA512 188ae188bd33969b7282230e18808e52363075723cef21d268af7ad1cfb2a0a93a8cc595297f467a32f475a47249f316836ea40c587f337f35ea57bd60d0699d EBUILD nokogumbo-2.0.2.ebuild 1313 BLAKE2B 04c8964173737ea1618c7b13b196b5571438e3520cdb9c9025e23b79621bfabdb72349282426d9ebab2b5726c35a0a9768379240cd3609fbf737c7a06e62f388 SHA512 1ec8d25f9955da8d3eb849d9308504700a8d2d6b92e065a18f659164c149c4d0d91b42f43f56c0a8f43ae9fdee08a37b59e08805405cac1f60365036c93e9207 EBUILD nokogumbo-2.0.3.ebuild 1306 BLAKE2B d9089f43ee28b13b4bfa374c58609bab1df7df9fc2e14d8e6eb372c5e61102aad1bb4f989df80e23cf603697f067ff0d60bc90ac5fdd4bbe946a132a148b26c5 SHA512 fffb9620200f009ac055e3c0d3437402c2e34f59b10078b9679b11530faae71b3f583bc33309809ad3aa7d4cd980a6617555c14de31943c91bede62b5e330ccc +EBUILD nokogumbo-2.0.4.ebuild 1306 BLAKE2B d9089f43ee28b13b4bfa374c58609bab1df7df9fc2e14d8e6eb372c5e61102aad1bb4f989df80e23cf603697f067ff0d60bc90ac5fdd4bbe946a132a148b26c5 SHA512 fffb9620200f009ac055e3c0d3437402c2e34f59b10078b9679b11530faae71b3f583bc33309809ad3aa7d4cd980a6617555c14de31943c91bede62b5e330ccc MISC metadata.xml 341 BLAKE2B 56d3bff8ec2e7b01a76edaba7633edf4388b00976deab109ef3e34112f35878bfa81de9a32a2aacfdef5f3919fb0210a6c824c4d1242686eccaa7237f783b176 SHA512 652bff94a0b5050f6d8dffbc1dd2b0008202c9f6fd19aa44a148a53c7ed9cc78b8ed64ca4c548f60643b58954f1e344bea0a5b9fc28cd381daf2987ccbf6c149 diff --git a/dev-ruby/nokogumbo/nokogumbo-2.0.4.ebuild b/dev-ruby/nokogumbo/nokogumbo-2.0.4.ebuild new file mode 100644 index 000000000000..43462c380e47 --- /dev/null +++ b/dev-ruby/nokogumbo/nokogumbo-2.0.4.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="nokogumbo.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Nokogiri interface to the Gumbo HTML5 parser" +HOMEPAGE="https://github.com/rubys/nokogumbo" +SRC_URI="https://github.com/rubys/nokogumbo/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="2" +KEYWORDS="~amd64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +# Contains a bundled and patched version of dev-libs/gumbo. + +ruby_add_rdepend ">=dev-ruby/nokogiri-1.8.4" + +all_ruby_prepare() { + # Define rakehome in scope + sed -i -e "1irakehome=File.expand_path('../../')" ext/nokogumbo/extconf.rb || die + + sed -i -e "s:require_relative ':require './:" ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_configure() { + ${RUBY} -Cext/nokogumbo extconf.rb || die + sed -i -e 's:-Wl,--no-undefined::' ext/nokogumbo/Makefile || die +} + +each_ruby_compile() { + emake -Cext/nokogumbo V=1 + cp ext/nokogumbo/nokogumbo.so lib/nokogumbo/ || die +} + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} |