summaryrefslogtreecommitdiff
path: root/dev-ruby/nokogumbo
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-20 14:27:17 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-20 14:27:17 +0000
commit5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 (patch)
tree66e860a5099bcad013f1cf667255dc372a7c11b3 /dev-ruby/nokogumbo
parent7218e1b46bceac05841e90472501742d905fb3fc (diff)
gentoo resync : 20.03.2021
Diffstat (limited to 'dev-ruby/nokogumbo')
-rw-r--r--dev-ruby/nokogumbo/Manifest2
-rw-r--r--dev-ruby/nokogumbo/nokogumbo-2.0.5.ebuild45
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/nokogumbo/Manifest b/dev-ruby/nokogumbo/Manifest
index b6e877296103..26cbeb6b2935 100644
--- a/dev-ruby/nokogumbo/Manifest
+++ b/dev-ruby/nokogumbo/Manifest
@@ -1,7 +1,9 @@
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
+DIST nokogumbo-2.0.5.tar.gz 298201 BLAKE2B ab342fa271983a13ccf7ca1fa6bbb2d250eb5027beb812c77d76bd03c971a95ff60440bc8c37ea5a482d21730cde5224c2419e89098824b1157b372974d09107 SHA512 3dd4dd83742b8c4b14e741b2b9195d227e5e3f14eb5b34992960cf021658476072a2c7f07fc21868d1347f4ba3c95e267e2cf7193b8d53c5451658e560128d16
EBUILD nokogumbo-2.0.2.ebuild 1302 BLAKE2B 3b8e4fcb5c8c657153231f37ad723fa02dac6e87b5db2976ed69316a47967592672f16f3e1f33fb552723da73a10b934baa18a713c6e5cadc984e108009ccbe3 SHA512 2f71da7dafb5edc1fd94b70b55e5b369dcac4742ae0bc0783c6b56608d5abc099016fd83c159fc1ad16e46056f73f712eab577ebbf9c0a956945bbf8d6ffe08c
EBUILD nokogumbo-2.0.3.ebuild 1295 BLAKE2B b28e4b608924a083a6284043307f225f3fb4e9eb539fa58b12e1b20970e45e07abd9d310aea4620ebd2b85c5afab4c025ff6c5b3bd7c5fe947b491ed28f4cf1c SHA512 b6d408d4ba17fa5cc5d0bd9e3371bb1b7eebbb6647bad35df234435cd5e72150eed4db99820feb484deb0e095a0112f072a2e68cc28534be6cc4e914dac4cd13
EBUILD nokogumbo-2.0.4.ebuild 1295 BLAKE2B b28e4b608924a083a6284043307f225f3fb4e9eb539fa58b12e1b20970e45e07abd9d310aea4620ebd2b85c5afab4c025ff6c5b3bd7c5fe947b491ed28f4cf1c SHA512 b6d408d4ba17fa5cc5d0bd9e3371bb1b7eebbb6647bad35df234435cd5e72150eed4db99820feb484deb0e095a0112f072a2e68cc28534be6cc4e914dac4cd13
+EBUILD nokogumbo-2.0.5.ebuild 1307 BLAKE2B e08f59f7f2f385e6e4d73f53b9b7048bf17c47fcf70eac5898bbfc1b64e2a8f32a243ae9cab135c3a7876425a970ca2aabe1cdf12dddfcae395fe6809410bf05 SHA512 ec7719e1a0f4d4ff82e16e6e10c37574bcab4f741f9c3b6104966792a5f003ec67733e394b1f06abe8c5fd4417c6b10b96adb08acf0ca21c2794d5aa6307a8f7
MISC metadata.xml 341 BLAKE2B 56d3bff8ec2e7b01a76edaba7633edf4388b00976deab109ef3e34112f35878bfa81de9a32a2aacfdef5f3919fb0210a6c824c4d1242686eccaa7237f783b176 SHA512 652bff94a0b5050f6d8dffbc1dd2b0008202c9f6fd19aa44a148a53c7ed9cc78b8ed64ca4c548f60643b58954f1e344bea0a5b9fc28cd381daf2987ccbf6c149
diff --git a/dev-ruby/nokogumbo/nokogumbo-2.0.5.ebuild b/dev-ruby/nokogumbo/nokogumbo-2.0.5.ebuild
new file mode 100644
index 000000000000..5ddd1b3250cd
--- /dev/null
+++ b/dev-ruby/nokogumbo/nokogumbo-2.0.5.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby25 ruby26 ruby27 ruby30"
+
+RUBY_FAKEGEM_RECIPE_TEST="none"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC="nokogumbo.gemspec"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/nokogumbo/extconf.rb)
+RUBY_FAKEGEM_EXTENSION_LIBDIR=lib/nokogumbo
+
+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 ~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
+
+ # Modern nokogiri doesn't have any ldflags part, rather than an empty one.
+ sed -i -e '/have_libxml2/ s/empty/nil/' ext/nokogumbo/extconf.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die
+}