summaryrefslogtreecommitdiff
path: root/dev-ruby/yajl-ruby
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-07-08 15:03:58 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-07-08 15:03:58 +0100
commit814f4cf860e299a046b649eaee5463427984c09c (patch)
tree74c45f097899310e599dad6b8df5b63e0f085bc0 /dev-ruby/yajl-ruby
parent7f0ccc917c7abe6223784c703d86cd14755691fb (diff)
gentoo resync : 08.07.2021
Diffstat (limited to 'dev-ruby/yajl-ruby')
-rw-r--r--dev-ruby/yajl-ruby/Manifest1
-rw-r--r--dev-ruby/yajl-ruby/yajl-ruby-1.4.1-r1.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/yajl-ruby/Manifest b/dev-ruby/yajl-ruby/Manifest
index 43ecdc8f855a..b0910eae9ccf 100644
--- a/dev-ruby/yajl-ruby/Manifest
+++ b/dev-ruby/yajl-ruby/Manifest
@@ -1,3 +1,4 @@
DIST yajl-ruby-1.4.1.gem 557056 BLAKE2B ade1c18bff1d95a733a1981f7898f1ebaecaed6e9a0354af2a6b4d0190a37e613830f77d5e57178b622c32e2d8688aaa11a7edd543c17a30a16f9045d21ea4aa SHA512 24cd82380658d784bbf0a7a16d4048125cc5a856b0e0b4d3bdec29a550a9131d3959f9a75eba0d18d5db8d0a23158fb7ef6ea6f60d221a7bc3d8efc437d52df5
+EBUILD yajl-ruby-1.4.1-r1.ebuild 1091 BLAKE2B bf9356176fd7b1b691ac81e05a84c86eec23a38836db8a50ef83f6489876dc13bf6bcb3d9d4dcca8882c83235126c4e6fc51de5fda3dfedeaa1c27a1270270be SHA512 9cf6d5093c9ed4954a4c3305bdf69097c1698c857be893dc44f422c0224ec5721fa44475a0c93bdb370840ae460e4da56ef2e8362b6ee67afabfea66f5f70086
EBUILD yajl-ruby-1.4.1.ebuild 1224 BLAKE2B b2d0ea92e78e2064a35088b69dabce151e92afbacda771b888820df8c7a6477760c63c9bff3b41f9bf76c5a51d64c70c1d0f9e1cbb608c1864583d36150798de SHA512 9e5bc66bf68533037c0371775d22a70e9d4f5618d2cd02f2052d03d00d1be9e52573781375e72c420eb01726745a65e44d6b03bb6203a3f0d05599032ea45ea8
MISC metadata.xml 346 BLAKE2B 2fff8cc633fbc47874a3e5a9e567ef430dcdd4de90343c35f599b15a85e0601a5d4b3c5b650e3971dab90cd90f382505000b40092e57d05fdaf86536a02106ff SHA512 54921a3e3df293d819d020aa6671e7e33f9031b83d375d6f8423fd844cf757c20c2e6cafc9d5a8f2670e10bd286b4e29067a8d7176e7acafd3474578134a2aae
diff --git a/dev-ruby/yajl-ruby/yajl-ruby-1.4.1-r1.ebuild b/dev-ruby/yajl-ruby/yajl-ruby-1.4.1-r1.ebuild
new file mode 100644
index 000000000000..9c0004d6cd6d
--- /dev/null
+++ b/dev-ruby/yajl-ruby/yajl-ruby-1.4.1-r1.ebuild
@@ -0,0 +1,39 @@
+# 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_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/yajl/extconf.rb)
+RUBY_FAKEGEM_EXTENSION_LIBDIR="lib/yajl"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="Ruby C bindings to the Yajl JSON stream-based parser library"
+HOMEPAGE="https://github.com/brianmario/yajl-ruby"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND="${RDEPEND} dev-libs/yajl"
+DEPEND="${DEPEND} dev-libs/yajl"
+
+each_ruby_prepare() {
+ # Make sure the right ruby interpreter is used
+ sed -e '/capture/ s:ruby:'${RUBY}':' -i spec/parsing/large_number_spec.rb || die
+}
+
+each_ruby_test() {
+ # Set RUBYLIB to pass search path on to additional interpreters that
+ # are started.
+ RUBYLIB=lib RSPEC_VERSION=3 ruby-ng_rspec || die
+}