diff options
Diffstat (limited to 'dev-ruby/yajl-ruby')
-rw-r--r-- | dev-ruby/yajl-ruby/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/yajl-ruby/yajl-ruby-1.4.2.ebuild | 39 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/yajl-ruby/Manifest b/dev-ruby/yajl-ruby/Manifest index 0248a468cf19..9a486bc4f062 100644 --- a/dev-ruby/yajl-ruby/Manifest +++ b/dev-ruby/yajl-ruby/Manifest @@ -1,4 +1,6 @@ DIST yajl-ruby-1.4.1.gem 557056 BLAKE2B ade1c18bff1d95a733a1981f7898f1ebaecaed6e9a0354af2a6b4d0190a37e613830f77d5e57178b622c32e2d8688aaa11a7edd543c17a30a16f9045d21ea4aa SHA512 24cd82380658d784bbf0a7a16d4048125cc5a856b0e0b4d3bdec29a550a9131d3959f9a75eba0d18d5db8d0a23158fb7ef6ea6f60d221a7bc3d8efc437d52df5 +DIST yajl-ruby-1.4.2.gem 558592 BLAKE2B 620db8f9c5ef4b010143382a2641793bc7a59f30d35a759470aa85b50e8b0e587e7442cb0727e2fe03a98c7aa3cd1f5bb05d173294743bc8fdf2d646176e11b8 SHA512 faf775367eb3143fe659064569a235b34557b84b21bf55f9e9fc6f815dce04c8c1b58832056f367fc4c9ebc0e4389d1e55dd79b5fbb773f845860e4652269d4e EBUILD yajl-ruby-1.4.1-r1.ebuild 1098 BLAKE2B a53f21b6dd575bdda32a764dc1297f8790f171c49b5d5e2beace1aebcca103cbb1f27ad839a77a7a2dd22214bd7757019d0709f831c49978e96c0dca0cd63ff4 SHA512 899ae81ebca83499cc459afc169ef02dc991f052480f212b1724132db9c81ad572869c3b7b8bd0accaa98826be639ec1375c1bc484c04dd36467ab84d4273174 EBUILD yajl-ruby-1.4.1.ebuild 1224 BLAKE2B b2d0ea92e78e2064a35088b69dabce151e92afbacda771b888820df8c7a6477760c63c9bff3b41f9bf76c5a51d64c70c1d0f9e1cbb608c1864583d36150798de SHA512 9e5bc66bf68533037c0371775d22a70e9d4f5618d2cd02f2052d03d00d1be9e52573781375e72c420eb01726745a65e44d6b03bb6203a3f0d05599032ea45ea8 +EBUILD yajl-ruby-1.4.2.ebuild 1089 BLAKE2B 3f1416fc6984af1783dfc1984d3d7e0c4c58783ea0dc52401e55ab1882764e06ae20f6300cb624484031bbfb5f0f9102fb9b43cf2fa775d39a8a9c0f26e15257 SHA512 b019a4fd0df64f245084d5d656241191b5db4b45691e366ed89090d4df2adb070a0177a24cbdee21c5317c5d4bd4fc95dbdcb271808fe02098d971235c9e119e MISC metadata.xml 347 BLAKE2B 30c40d137c44f1f3e97af535260d3078329e3194bbdcaebeeb63e5c4f21ee6b6282349d0d32fbdf8e9c624a6dddef4a1393b67c4cdfd90bd1856c67d8c255a7a SHA512 3973f86d3ad549282ef3bd9e23e7a2e03451f6c4886824e845fb075f2162db1dbb96db4de2ab5850ac24c6955ebbd4ed4376f45d89c657b645df54ffb8d47111 diff --git a/dev-ruby/yajl-ruby/yajl-ruby-1.4.2.ebuild b/dev-ruby/yajl-ruby/yajl-ruby-1.4.2.ebuild new file mode 100644 index 000000000000..8c2758e3540e --- /dev/null +++ b/dev-ruby/yajl-ruby/yajl-ruby-1.4.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27 ruby30 ruby31" + +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 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 ~riscv ~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 +} |