diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-06 02:07:39 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-06 02:07:39 +0000 |
commit | d285f0ab4ab38d4ea1cd0757a465db5f06764e06 (patch) | |
tree | 1fec673dcd26669902404a2986868912c5b41860 /dev-ruby/json | |
parent | a6764d56b1c85c8272783500983011c143c72d80 (diff) |
gentoo auto-resync : 06:12:2024 - 02:07:38
Diffstat (limited to 'dev-ruby/json')
-rw-r--r-- | dev-ruby/json/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/json/json-2.9.0.ebuild | 51 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-ruby/json/Manifest b/dev-ruby/json/Manifest index 7455b2e47bc8..6743cde1b4cd 100644 --- a/dev-ruby/json/Manifest +++ b/dev-ruby/json/Manifest @@ -3,9 +3,11 @@ DIST json-2.7.5.tar.gz 826340 BLAKE2B 6078a6496d6b8503e40cdb176516b4a1ad487c1a35 DIST json-2.7.6.tar.gz 827356 BLAKE2B f2768102750dbd3e05410bf406a259efbc539feb18afc1684ad13f2c8fc2ac58e20ba0b722c0a411de7b04dc14be4fc0a9441901f28d442450e5c5f25aa42141 SHA512 d1f9c6c36a3c7ae8adb7f3900c0d8b5ca43a398837bc7eb6c8e915c1039f65fd575a863343e2af1887101439c88b074545f588bfb19cd11c629493b1a50689fc DIST json-2.8.1.tar.gz 841139 BLAKE2B 6a8ba6fb714cb3de6183262101f507cdac4fb8f69c98b4af7a3a5c182dcf0ef1c26d3d7b5c628279345d1a691757f08c967883904695728c6c2aed93c3d60555 SHA512 2b51bf38e6322295d575a992b008b97cdfaa87de95929167cc472cb2a48b71752dc5a83114b7ee5aaf8cb4c9079d44d072f16149badfa07c4c1baa495cc72c53 DIST json-2.8.2.tar.gz 841421 BLAKE2B 286416fd14642a3044df0d382a10ae7dcff211b30e15303c4461decc961f80169b26f9ad6a2b8524d76f65058e773afe7c39654a166d263a4208d8649fe3a134 SHA512 d33f9abbe548c18f572c038261526c61bc5c5c70b5bc4f864f479dff41435aabdc0d30e190cf934ad71680b21aca1cbdd1cf379ad807a97459722c7d67f1de69 +DIST json-2.9.0.tar.gz 841887 BLAKE2B 28ff3a69a55b0f862f18985213ae7c09021914451b8b6a3cb217334d6f3e0d7d6c52a5eea13cc0c1931adc2a12a2aa715741ce621fef0bb3c66ac12440d8dc5f SHA512 64534f0889f1874a8893259e065ea0f3669028a9722ceeb5e7454236d509d5df817b251e94c57b9c3ad04e6ec5ab94e63aa93596d996c8c37b5fd75fb50fc22e EBUILD json-2.7.2-r1.ebuild 1513 BLAKE2B 1a513f8abdbab09e9774fa51888041a2459adca566ab709806620d4fbe8795bc68ae28c6bc68ca7d5b286cf88cfd59e36a8f7617ae1247f248913218e150e8e7 SHA512 fc8c5b438b3098352e8d099bcaa1ff495d45e23f77603ae5e1b1bc95a0954dfaede47f05bb5da48b2e0179351336792d994c995a839831f6c943aeb3fab0f5c1 EBUILD json-2.7.5.ebuild 1610 BLAKE2B 69e919e240e6f2ff9c2f91f25dbb8a41c5ae8b74ea662c40c8ab6bf03a3cd21e4461a1aedaf41da446d3fc31c1be378c50ee24b9fa2fdf90d969b7835d8d224f SHA512 7eea66fec4867581b88e33022be2534d5aa2794527fe6bf2268a025a224a4d62cd8422da0ea11a6ceff52b0c9b6e18d804649dd273720aa6d067792bfa71d7a8 EBUILD json-2.7.6.ebuild 1522 BLAKE2B a7daf622b11d40011ef1155e803d307ed336b91f99e6efd12f79093032eae30e69c6ebddf0bb264fe0278153554f23f2f066cf6935adab2183a44565b3dd432c SHA512 b8ca40cba5c60da6a6389ebc7da058c432f1ce2b4a07807604aad69e32f4fd82121bf9045e4f02f1a903338c8697894a1e9940345dd3aa51aa1252df04f9aaef EBUILD json-2.8.1.ebuild 1522 BLAKE2B a7daf622b11d40011ef1155e803d307ed336b91f99e6efd12f79093032eae30e69c6ebddf0bb264fe0278153554f23f2f066cf6935adab2183a44565b3dd432c SHA512 b8ca40cba5c60da6a6389ebc7da058c432f1ce2b4a07807604aad69e32f4fd82121bf9045e4f02f1a903338c8697894a1e9940345dd3aa51aa1252df04f9aaef EBUILD json-2.8.2.ebuild 1522 BLAKE2B a7daf622b11d40011ef1155e803d307ed336b91f99e6efd12f79093032eae30e69c6ebddf0bb264fe0278153554f23f2f066cf6935adab2183a44565b3dd432c SHA512 b8ca40cba5c60da6a6389ebc7da058c432f1ce2b4a07807604aad69e32f4fd82121bf9045e4f02f1a903338c8697894a1e9940345dd3aa51aa1252df04f9aaef +EBUILD json-2.9.0.ebuild 1522 BLAKE2B a7daf622b11d40011ef1155e803d307ed336b91f99e6efd12f79093032eae30e69c6ebddf0bb264fe0278153554f23f2f066cf6935adab2183a44565b3dd432c SHA512 b8ca40cba5c60da6a6389ebc7da058c432f1ce2b4a07807604aad69e32f4fd82121bf9045e4f02f1a903338c8697894a1e9940345dd3aa51aa1252df04f9aaef MISC metadata.xml 384 BLAKE2B 6be81a5f361a533321e25f8fc8444201e318416f9164fc02ffa34e9471fd1da8f1bcab39e8f5bc5945948665769bb67caac0bf8e826e3213bd592e4191e1a788 SHA512 82119cb0bf902f6d3924f8a13db0ae3c5e7881c5d7848790e2614e3d2d2951321519c0bdc6cb942010186e5e1013c102cad328c389cfa2c54d96533bca7ea886 diff --git a/dev-ruby/json/json-2.9.0.ebuild b/dev-ruby/json/json-2.9.0.ebuild new file mode 100644 index 000000000000..fcb2a51b4bd1 --- /dev/null +++ b/dev-ruby/json/json-2.9.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_GEMSPEC="json.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/json/ext/parser/extconf.rb ext/json/ext/generator/extconf.rb) +RUBY_FAKEGEM_EXTENSION_LIBDIR=lib/json/ext + +inherit ruby-fakegem + +DESCRIPTION="A JSON implementation as a Ruby extension" +HOMEPAGE="https://github.com/ruby/json" +SRC_URI="https://github.com/ruby/json/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="|| ( BSD-2 Ruby )" + +SLOT="$(ver_cut 1)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="doc test" + +DEPEND="dev-util/ragel" + +ruby_add_bdepend "dev-ruby/rake + doc? ( dev-ruby/rdoc ) + test? ( + dev-ruby/test-unit:2 + dev-ruby/test-unit-ruby-core + )" + +all_ruby_prepare() { + # Avoid building the extension twice! + # And use rdoc instead of sdoc which we don't have packaged + # And don't call git to list files. We're using the pregenerated spec anyway. + sed -i \ + -e '/task :test/ s|:compile,||' \ + -e 's| => :clean||' \ + -e 's|sdoc|rdoc|' \ + -e 's|`git ls-files`|""|' \ + Rakefile || die "rakefile fix failed" + + sed -e 's/__dir__/"."/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid setting gem since it will not be available yet when installing + sed -i -e '/gem/ s:^:#:' test/json/test_helper.rb || die +} |