diff options
Diffstat (limited to 'dev-ruby')
| -rw-r--r-- | dev-ruby/curb/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/curb/curb-1.0.5.ebuild | 50 | ||||
| -rw-r--r-- | dev-ruby/dry-core/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/dry-core/dry-core-1.0.2.ebuild | 41 | ||||
| -rw-r--r-- | dev-ruby/localhost/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/localhost/localhost-1.1.10.ebuild | 39 | ||||
| -rw-r--r-- | dev-ruby/multi_json/multi_json-1.15.0.ebuild | 71 | ||||
| -rw-r--r-- | dev-ruby/nio4r/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/nio4r/nio4r-2.5.9.ebuild | 35 | ||||
| -rw-r--r-- | dev-ruby/pg/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/pg/pg-1.4.6-r1.ebuild | 64 | ||||
| -rw-r--r-- | dev-ruby/rake/Manifest | 2 | ||||
| -rw-r--r-- | dev-ruby/rake/rake-13.1.0.ebuild | 61 | ||||
| -rw-r--r-- | dev-ruby/rake/rake-13.2.0.ebuild | 61 | ||||
| -rw-r--r-- | dev-ruby/rb-inotify/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/rb-inotify/rb-inotify-0.10.1-r1.ebuild | 34 | ||||
| -rw-r--r-- | dev-ruby/rb-inotify/rb-inotify-0.10.1.ebuild | 34 | ||||
| -rw-r--r-- | dev-ruby/ruby-prof/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/ruby-prof/ruby-prof-1.7.1.ebuild | 44 |
19 files changed, 87 insertions, 456 deletions
diff --git a/dev-ruby/curb/Manifest b/dev-ruby/curb/Manifest index ecb4fca25af8..031f82eb57a0 100644 --- a/dev-ruby/curb/Manifest +++ b/dev-ruby/curb/Manifest @@ -1,2 +1 @@ -DIST curb-1.0.5.gem 92160 BLAKE2B 395cdbb3255d5a38dfd472787785738dfff8ec7eed69e7b93ae2d993c90635d427a6275cd3510b406fccc7b999bdedf544cb4177132cc890f0473452ad1984c9 SHA512 0b90da7757ee37bd542e2ab31407235788f103e67c987fd820073eb70ecae7cea55cc5ecdc354145ead58cb9762db0f8f27416301fbca93bc0f7a7966a5d8a63 DIST curb-1.0.6.gem 92160 BLAKE2B b764611321981e1b5706c51400c3b08f1bd9a73ee1df56f3fa818ac0d7074be6e7b77969794cd1452f2d6f5685f29e772383913276cb4c81576760057f278584 SHA512 24c0e65a88bda3dd20a4d9386be22a6f09aa9a86f37c0f462048e621e95567bb3f825e41c41889a1699a966a6943ce1ce9c380287ecb120eef7e268f598a2de7 diff --git a/dev-ruby/curb/curb-1.0.5.ebuild b/dev-ruby/curb/curb-1.0.5.ebuild deleted file mode 100644 index 87a4cb375d1a..000000000000 --- a/dev-ruby/curb/curb-1.0.5.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# 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_RECIPE_TEST="rake" - -RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb) - -inherit ruby-fakegem - -DESCRIPTION="Ruby-language bindings for libcurl" -HOMEPAGE="https://github.com/taf2/curb" - -LICENSE="Ruby" -SLOT="0" -KEYWORDS="amd64" -IUSE="test" - -DEPEND+=" net-misc/curl[ssl] test? ( net-misc/curl )" -RDEPEND+=" net-misc/curl[ssl]" - -ruby_add_bdepend "test? ( dev-ruby/webrick )" - -all_ruby_prepare() { - # fix tests when localhost is also ::1 - sed -i -e 's|localhost:|127.0.0.1:|g' tests/*.rb || die - - # avoid tests making outside network connections - rm tests/bug_postfields_crash.rb || die - sed -e '/test_easy_http_verbs_must_respond_to_str/,/^ end/ s:^:#:' \ - -i tests/tc_curl_easy.rb || die - sed -e '/test_connection_keepalive/aomit "network connection needed"' \ - -i tests/tc_curl_multi.rb || die - - # Fix test that expects wrong output - sed -i -e 's/200 OK /200 OK/' tests/tc_curl_easy.rb || die - - # avoid failing tests where failure condition seems weird, no - # upstream travis so not clear if the test is indeed broken. - sed -i -e '/test_multi_easy_http/,/^ end/ s:^:#:' tests/tc_curl_multi.rb || die - - # avoid test requiring ntlm support on curl which is no longer available in gentoo - sed -i -e '/test_username_password/aomit "ntlm support in curl needed"' -i tests/tc_curl_easy.rb || die - - # Skip tests with currently unpackaged ruby_memcheck - sed -i -e '/ruby_memcheck/ s:^:#: ; /RubyMemcheck/,/^end/ s:^:#:' Rakefile -} diff --git a/dev-ruby/dry-core/Manifest b/dev-ruby/dry-core/Manifest index 150f22cc25c2..028684b4143a 100644 --- a/dev-ruby/dry-core/Manifest +++ b/dev-ruby/dry-core/Manifest @@ -1 +1,2 @@ DIST dry-core-1.0.1.tar.gz 44746 BLAKE2B fb85107dd68dfb2a8d3ee2e66b4bb8b416ac325be4d28bcbbf5605e0a90992eb8aa85a8fad3cba8f228a5a7e50109cd2c1dbf920eebc3423d282055204c6b0a5 SHA512 d769795459a0ffc007eb66e2b9af9be4e635c620a5ca54a76113057b495e1126600a572761d8ff33a3ee6a4fca948f6fc29d3200e7ba0b56c1bb600a4749bbd4 +DIST dry-core-1.0.2.tar.gz 44646 BLAKE2B 0ae5a3d2bd245d7f42b9f500841dc47e8baf827e78a89d3a2f1edd5e4821470b26eb9180079886bcbb007d2ab86369ddb1855a465a88fe04e30a6dbe557b2a92 SHA512 4d4ba37f3c7d25047cd0b4d5f28a358ed98e664ac5397476f3999dae26674a63d5e70fc9f64f0a8b863149ba9978d6dd87af89f55fc6ad43236c09c235550345 diff --git a/dev-ruby/dry-core/dry-core-1.0.2.ebuild b/dev-ruby/dry-core/dry-core-1.0.2.ebuild new file mode 100644 index 000000000000..e0e88ae5d1ee --- /dev/null +++ b/dev-ruby/dry-core/dry-core-1.0.2.ebuild @@ -0,0 +1,41 @@ +# 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_BINWRAP="" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="dry-core.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A toolset of small support modules used throughout the dry-rb ecosystem" + +HOMEPAGE="https://dry-rb.org/gems/dry-core/" +SRC_URI="https://github.com/dry-rb/dry-core/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" + +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" + +ruby_add_rdepend " + dev-ruby/concurrent-ruby:1 + dev-ruby/logger + >=dev-ruby/zeitwerk-2.6:2 +" + +ruby_add_bdepend "test? ( + dev-ruby/dry-inflector + dev-ruby/dry-logic + dev-ruby/dry-types +)" + +all_ruby_prepare() { + # Inflecto is not packaged + sed -e '/with Inflecto/ s/context/xcontext/' \ + -i spec/dry/core/inflector_spec.rb || die +} diff --git a/dev-ruby/localhost/Manifest b/dev-ruby/localhost/Manifest index 36e4e02455c0..f0e74a93962c 100644 --- a/dev-ruby/localhost/Manifest +++ b/dev-ruby/localhost/Manifest @@ -1,2 +1 @@ -DIST localhost-1.1.10.tar.gz 2128142 BLAKE2B 06e4ab07bc273b8beba5fb3ee3f64e171a6c4a2e944c6d5e432417560283230277213732bf23ddd12e9737b2803582a11fdaa76356d14d2bdbd4e90d402c6204 SHA512 946ef247b256165cf5c849a32c0ba8dd2007164bd1549a20aca595328174709e9213ba8a98448dc41a57558b00147c3b7428b7bc625059ab24f89c94ff8850e9 DIST localhost-1.3.0.tar.gz 2128850 BLAKE2B fe7db9958759be39107116b45ee1f8d3678a2407f25956ee551a41a18da2bb12b46add992ca2b9615b68f69156afc384c453318af5b77751095b643fb27b7344 SHA512 6196cf4ff79cd53c222e19158a7233b8ba384225f24fd791d92952c80b11c469e99d619c3825e0f831e99e2a822aaf69e3b3a9ed0dc2e1ad0316c8b6717165c5 diff --git a/dev-ruby/localhost/localhost-1.1.10.ebuild b/dev-ruby/localhost/localhost-1.1.10.ebuild deleted file mode 100644 index 29a9d0c56b27..000000000000 --- a/dev-ruby/localhost/localhost-1.1.10.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby27 ruby30 ruby31 ruby32" - -RUBY_FAKEGEM_EXTRADOC="readme.md" -RUBY_FAKEGEM_GEMSPEC="localhost.gemspec" -RUBY_FAKEGEM_RECIPE_TEST="sus" - -inherit ruby-fakegem - -DESCRIPTION="Manage a local CA for self-signed localhost development servers" -HOMEPAGE="https://github.com/socketry/localhost" -SRC_URI="https://github.com/socketry/localhost/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="$(ver_cut 1)" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86" - -ruby_add_bdepend " - test? ( - dev-ruby/async-io - dev-ruby/async-process - dev-ruby/sus-fixtures-async - ) -" - -all_ruby_prepare() { - sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die - sed -i -e '/covered/Id' config/sus.rb || die -} - -each_ruby_test() { - # Tests fail in parallel as it tries to use the same port so - # manually replicate ruby-ng_sus for now, as ruby-ng_sus runs sus-parallel. - ${RUBY} -S sus || die -} diff --git a/dev-ruby/multi_json/multi_json-1.15.0.ebuild b/dev-ruby/multi_json/multi_json-1.15.0.ebuild deleted file mode 100644 index ac82e36bb3ef..000000000000 --- a/dev-ruby/multi_json/multi_json-1.15.0.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby27 ruby30 ruby31 ruby32" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" -RUBY_FAKEGEM_TASK_DOC="yard" - -RUBY_FAKEGEM_DOCDIR="rdoc" -RUBY_FAKEGEM_EXTRADOC="README.md" - -RUBY_FAKEGEM_GEMSPEC="multi_json.gemspec" - -inherit ruby-fakegem - -SRC_URI="https://github.com/intridea/multi_json/archive/v${PV}.tar.gz -> ${P}.tar.gz" -DESCRIPTION="A gem to provide swappable JSON backends" -HOMEPAGE="https://github.com/intridea/multi_json" -LICENSE="MIT" - -KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -SLOT="0" -IUSE="" - -ruby_add_rdepend "|| ( >=dev-ruby/json-1.4:* >=dev-ruby/yajl-ruby-1.0 )" - -ruby_add_bdepend "doc? ( dev-ruby/rspec:3 dev-ruby/yard )" - -ruby_add_bdepend "test? ( dev-ruby/json - dev-ruby/yajl-ruby )" - -all_ruby_prepare() { - sed -i -e '/[Bb]undler/d' Rakefile spec/spec_helper.rb || die "Unable to remove bundler." - - # Remove unimportant rspec options not supported by rspec 2.6. - rm .rspec || die - - # Remove specs specific to oj since we don't package oj yet. - sed -i -e '/defaults to the best available gem/,/^ end/ s:^:#:' \ - -e '/Oj does not create symbols on parse/,/^ end/ s:^:#:' \ - -e '/with Oj.default_settings/,/^ end/ s:^:#:' \ - -e '/using one-shot parser/,/^ end/ s:^:#:' \ - -e '/jrjackson/askip "unpackaged"' \ - spec/multi_json_spec.rb - - # Avoid simplecov which only works with ruby 1.9 - sed -i -e '/simplecov/d' -e '/SimpleCov.formatter/,/SimpleCov.start/ d' spec/spec_helper.rb || die - - # Remove unpackaged and for our purposes unneeded coveralls - sed -i -e '/coveralls/d' spec/spec_helper.rb || die - - # Avoid testing unpackaged adapters - rm spec/{gson,nsjsonserialization,jr_jackson,oj}_adapter_spec.rb || die - - # Fix expectations confused by ruby30 kwargs - sed -e "/expect/ s/:foo => 'bar', :fizz => 'buzz'/{:foo => 'bar', :fizz => 'buzz'}/" \ - -e "/expect/ s/:bar => :baz/{:bar => :baz}/" \ - -i spec/shared/adapter.rb || die - sed -e '/expect/ s/:indent => "\\t"/{:indent => "\t"}/' \ - -e '/expect/ s/:quirks_mode => false, :create_additions => false/{:quirks_mode => false, :create_additions => false}/' \ - -i spec/shared/json_common_adapter.rb || die - sed -e "/expect/ s/:foo => 'bar'/{:foo => 'bar'}/" -i spec/multi_json_spec.rb || die -} - -each_ruby_test() { - for t in spec/*_spec.rb; do - ${RUBY} -S rspec-3 ${t} || die - done -} diff --git a/dev-ruby/nio4r/Manifest b/dev-ruby/nio4r/Manifest index 4fb21441f27b..48c3fd3a24e1 100644 --- a/dev-ruby/nio4r/Manifest +++ b/dev-ruby/nio4r/Manifest @@ -1,3 +1,2 @@ -DIST nio4r-2.5.9.gem 122368 BLAKE2B 4238e2963604539207e1adc7ee78430e4f501ea8b71d807ee4f3c44322d16612779777f11b76313aaad6d252321435854f5b4905f83a2fe03c9d71be20b7a718 SHA512 d1c52896f186d19eb089a94d74ccadb427e64c204af149aa83a5a4dda3f0edd1bd2bae94afd21fcd58e3c2b9e2c17278a18717c0905de80e45540d13eeefd9e5 DIST nio4r-2.7.3.tar.gz 123160 BLAKE2B 283e3f7ea278936a15efe8f8e7219ac3191b4be72f04ab63e64d6ca2125f6be7164353707a7418be31bcbed240317d51912e5c2a2dea0042b1ca2b3a39d56993 SHA512 185e0cbe146495d657e8954eef2208e61766c30f5cf132078ce9c00b5b6d678eafaa108102dc79bb8d42d90fd5809a606344d35b03bfc41d7a1f3f75a7c2820f DIST nio4r-2.7.4.tar.gz 123192 BLAKE2B 263b061945dbdd1c36d951ff0bdf6ffe5193a730bd1924933fcff4150c574a5164ba7a59f0a040d71cba108ea08085ac9351635179974c03b5f8731583288e99 SHA512 5f89cddf3e772f05c10ab2ce7fbffd9b878ac129bc0adb7be5e35a67c7b17748a5722e784a19dace2308006bcbc7eaef70a49f9f58771faa0d97758742703338 diff --git a/dev-ruby/nio4r/nio4r-2.5.9.ebuild b/dev-ruby/nio4r/nio4r-2.5.9.ebuild deleted file mode 100644 index a6b35ed1088d..000000000000 --- a/dev-ruby/nio4r/nio4r-2.5.9.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby27 ruby30 ruby31 ruby32" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_RECIPE_DOC="" -RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" - -RUBY_FAKEGEM_EXTENSIONS=(ext/nio4r/extconf.rb) - -inherit flag-o-matic ruby-fakegem - -DESCRIPTION="A high performance selector API for monitoring IO objects" -HOMEPAGE="https://github.com/socketry/nio4r" - -LICENSE="MIT || ( BSD GPL-2 )" -SLOT="2" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86 ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="" - -# Note that nio4r bundles a patched copy of libev, and without these -# patches the tests fail: https://github.com/celluloid/nio4r/issues/15 - -all_ruby_prepare() { - # See bug #855869 and its large number of dupes in bundled libev copies. - filter-lto - append-flags -fno-strict-aliasing - - sed -i -e '/[Bb]undler/d' spec/spec_helper.rb || die - sed -e '/extension/ s:^:#:' -i Rakefile || die -} diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest index 0bc5e13e8dd9..9dd664db5a8d 100644 --- a/dev-ruby/pg/Manifest +++ b/dev-ruby/pg/Manifest @@ -1,4 +1,3 @@ -DIST pg-1.4.6.tar.gz 282608 BLAKE2B 73616b6ba0373ae81394188fd96d7ca37144b76e5e89d0267e076ea39b9e33d19851d3881e70d9d5934ea26671c07635a22e7e530dd0094a243de8e9d9793fb5 SHA512 5cde5441f9864f89e7f44fd72d8becc60c223ba90793812c4756764f9807610d393ecca5ba05187e8aefb0d3530d67a7525b4e2c638160161410b369937e912a DIST pg-1.5.4.tar.gz 298368 BLAKE2B 1028fac00371f9f769ee6c484a518149dc7c89e78ee8c05754a4412c4fec062f958de75bfbfb3f8c570e9598e439156e1d53ba00a8bc6e1be93d00412d153281 SHA512 87d950d2240e4d9d540f19ce89b945cb2b4a6d96e79dc7aa67a2dae014f1b20b307d2c195bfe3afe5c86894b94d379980fa2b7c4cf0e6a68a15c58b8d6d469f8 DIST pg-1.5.5.tar.gz 299336 BLAKE2B 40410091a24929ee79c14cae8ec6e526a8db569f3f0d5c0637389a099caf8085189bec3fee69c52a07097e1aec62d8da0ee87cdc11118be5c7daefebd9e0019e SHA512 4cd12f2b30d9f853f9707d3329eda0999a7ed0f5ebdbbcb3110996db6d80ef6bb4331b3f6648b19f6fd3f63d928552b58190b34808ca714cbd72c54aeed43478 DIST pg-1.5.6.tar.gz 300559 BLAKE2B 5430789943f107e18f9b509ab7963d6a5dc702782c30a218f5e648397ccc9f07128bae1beccf47172860fe97ae935308841876f26dad0d9ac223adb96722a302 SHA512 5c4cda39699f17864b3dc4daed4ab2096d64245fc2262b948a94c3269b0572a9fab2a42dcba692daf6eeba3354d6a0b05eb5db0f0ca5382b0f8315c1837a0206 diff --git a/dev-ruby/pg/pg-1.4.6-r1.ebuild b/dev-ruby/pg/pg-1.4.6-r1.ebuild deleted file mode 100644 index a4d69b0da8f7..000000000000 --- a/dev-ruby/pg/pg-1.4.6-r1.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby27 ruby30 ruby31 ruby32" - -RUBY_FAKEGEM_GEMSPEC="pg.gemspec" -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_EXTRADOC="Contributors.rdoc README.md History.md" - -RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb) - -inherit ruby-fakegem - -DESCRIPTION="Ruby extension library providing an API to PostgreSQL" -HOMEPAGE="https://github.com/ged/ruby-pg" -SRC_URI="https://github.com/ged/ruby-pg/archive/v${PV}.tar.gz -> ${P}.tar.gz" -RUBY_S="ruby-${P}" - -LICENSE="|| ( BSD-2 Ruby-BSD )" -SLOT="1" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="" - -RDEPEND+=" dev-db/postgresql:*" -DEPEND+=" dev-db/postgresql - test? ( >=dev-db/postgresql-9.4[server(+),threads(+)] )" - -all_ruby_prepare() { - # hack the Rakefile to make it sure that it doesn't load - # rake-compiler (so that we don't have to depend on it and it - # actually works when building with USE=doc). - sed -i \ - -e '/Rakefile.cross/s:^:#:' \ - -e '/ExtensionTask/,/^end$/ s:^:#:' \ - Rakefile || die - - sed -e 's/git ls-files -z/find * -print0/' \ - -e "s:_relative ': './:" \ - -e 's/__dir__/"."/' \ - -i ${RUBY_FAKEGEM_GEMSPEC} || die - - # Avoid tests that assume IPv4 - sed -i -e '/expect.*hostaddr/ s:^:#:' spec/pg/connection_spec.rb || die - - # Fails with network-sandbox - sed -i -e '/connects using without host but envirinment variables/askip "gentoo"' spec/pg/scheduler_spec.rb || die - - # Avoid test that only works with bundled pg - sed -i -e '/tells about the libpq library path/askip "gentoo"' spec/pg_spec.rb || die -} - -each_ruby_test() { - if [[ "${EUID}" -ne "0" ]]; then - # Make the rspec call explicit, this way we don't have to depend - # on rake-compiler (nor rubygems) _and_ we don't have to rebuild - # the whole extension from scratch. - RSPEC_VERSION=3 ruby-ng_rspec - else - ewarn "The userpriv feature must be enabled to run tests." - eerror "Testsuite will not be run." - fi -} diff --git a/dev-ruby/rake/Manifest b/dev-ruby/rake/Manifest index 3d3b4acd4012..f386a670a5bf 100644 --- a/dev-ruby/rake/Manifest +++ b/dev-ruby/rake/Manifest @@ -1,4 +1,2 @@ DIST rake-13.0.6.tar.gz 123485 BLAKE2B 39c99b9d125ba7519bd8eaadac85646e785cc01fafad549becea5b2801f14d74085365743f1c5eb1126d0ae32b19ebcde636badc06670a0ad0dba419082e691f SHA512 1b438be96d8cedaf70e961b0bbd2217692b0b5537b2e1d5f599158e7da3e300cf6ab0c5f0c52fea89be0beb675effbbf563d24e55c84fb673b4982013355e03c -DIST rake-13.1.0.tar.gz 124144 BLAKE2B 753995c99c165c2f7fb58da698c8599bed700503fe887062c984f20f0792c8d27aa9e7bb00b4c234aa493437f569d389068c6ace1cd72be9c21f7a4b515df584 SHA512 aaea4566834e588ff5cf9f48892cb7aea40f0057db949eb0053755b2f601d5c19073128aedb1f3c98cace441518bbf9bc215ba45d9135123d5b3a48a1625a995 -DIST rake-13.2.0.tar.gz 124514 BLAKE2B 07765d63d46e2044bf571491aea70a9a74156c8a68d524339c443e38ad298efc53bc9cbba288039ec7ad02cf6984ca3a1008c22478188bab0e2a7c4bda82ccb4 SHA512 c1c36de667c92a5e627b29d6d504aa22bf845f27d04eace5fbc13b10845932fe6ba58b4d64d6aca45436f6db6f2b4fbab4c155120d4818db0870c8d58e957d9c DIST rake-13.2.1.tar.gz 124565 BLAKE2B c9ec38d3808705aa583d815966c026ee891f4af8860267515b92e14e4a9c2f85f6d08c338546837cd01cda6f4398bf5001017838561b4b8abeba5aa54ce6f19b SHA512 23948361713d751c6ed83fa84ce2c02031604d2c6f2f8d4db92a50ba2b614214f58b3c156066bb2653dd9728243493100cefbc76ee95ba377ccb90f696974952 diff --git a/dev-ruby/rake/rake-13.1.0.ebuild b/dev-ruby/rake/rake-13.1.0.ebuild deleted file mode 100644 index 2b254de6cfb7..000000000000 --- a/dev-ruby/rake/rake-13.1.0.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# 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_RECIPE_DOC="none" -RUBY_FAKEGEM_EXTRADOC="CHANGES README.rdoc TODO" - -RUBY_FAKEGEM_TASK_TEST="" - -RUBY_FAKEGEM_BINDIR="exe" - -RUBY_FAKEGEM_GEMSPEC="rake.gemspec" - -inherit bash-completion-r1 ruby-fakegem - -DESCRIPTION="Make-like scripting in Ruby" -HOMEPAGE="https://github.com/ruby/rake" -SRC_URI="https://github.com/ruby/rake/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -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" - -BDEPEND+=" app-alternatives/gzip" - -ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.8 ) - doc? ( dev-ruby/rdoc )" - -all_ruby_prepare() { - sed -e 's/git ls-files -z/find * -type f -print0/' \ - -e 's:_relative ": "./:' \ - -i ${RUBY_FAKEGEM_GEMSPEC} || die -} - -all_ruby_compile() { - if use doc; then - rdoc --title "Rake - Ruby Make" --main README.rdoc --out html lib *.rdoc doc/*/*.rdoc || die - rm -f html/js/*.js.gz - fi -} - -each_ruby_test() { - MT_NO_PLUGINS=true RUBYLIB="$(pwd)/lib" ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die -} - -all_ruby_install() { - ruby_fakegem_binwrapper rake - - if use doc; then - pushd html - dodoc -r * - popd - fi - - doman doc/rake.1 - - newbashcomp "${FILESDIR}"/rake.bash-completion ${PN} -} diff --git a/dev-ruby/rake/rake-13.2.0.ebuild b/dev-ruby/rake/rake-13.2.0.ebuild deleted file mode 100644 index 9f9e0a5bc533..000000000000 --- a/dev-ruby/rake/rake-13.2.0.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# 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_RECIPE_DOC="none" -RUBY_FAKEGEM_EXTRADOC="CHANGES README.rdoc TODO" - -RUBY_FAKEGEM_TASK_TEST="" - -RUBY_FAKEGEM_BINDIR="exe" - -RUBY_FAKEGEM_GEMSPEC="rake.gemspec" - -inherit bash-completion-r1 ruby-fakegem - -DESCRIPTION="Make-like scripting in Ruby" -HOMEPAGE="https://github.com/ruby/rake" -SRC_URI="https://github.com/ruby/rake/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -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" - -BDEPEND+=" app-alternatives/gzip" - -ruby_add_bdepend "test? ( dev-ruby/test-unit ) - doc? ( dev-ruby/rdoc )" - -all_ruby_prepare() { - sed -e 's/git ls-files -z/find * -type f -print0/' \ - -e 's:_relative ": "./:' \ - -i ${RUBY_FAKEGEM_GEMSPEC} || die -} - -all_ruby_compile() { - if use doc; then - rdoc --title "Rake - Ruby Make" --main README.rdoc --out html lib *.rdoc doc/*/*.rdoc || die - rm -f html/js/*.js.gz - fi -} - -each_ruby_test() { - MT_NO_PLUGINS=true RUBYLIB="$(pwd)/lib" ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die -} - -all_ruby_install() { - ruby_fakegem_binwrapper rake - - if use doc; then - pushd html - dodoc -r * - popd - fi - - doman doc/rake.1 - - newbashcomp "${FILESDIR}"/rake.bash-completion ${PN} -} diff --git a/dev-ruby/rb-inotify/Manifest b/dev-ruby/rb-inotify/Manifest index d7258fc4aca5..8d5e8ff2fa78 100644 --- a/dev-ruby/rb-inotify/Manifest +++ b/dev-ruby/rb-inotify/Manifest @@ -1,2 +1 @@ -DIST rb-inotify-0.10.1.gem 15872 BLAKE2B 1ddf4fe8de7cdd348e007ac29ab7b41667092439f9b70eeae49d7e917351c73512e43a7ccf6679af1c9225b19efadb6a1581f63e1958d2a31d61f2bce5a13664 SHA512 7831a6228f2d6363e634b8d6b4a12206f19b96098e5dfba1d27b1e994a7284a5cb58cd0299d861a6ff275fc8248c0e68faaaf786d6222ad68f3e6b43ccea29ec DIST rb-inotify-0.11.1.tar.gz 12136 BLAKE2B 3a1dc507589c02cd07903f33546d9a222bf2fad6afc283dd1a463549fdb38c8b1aadc00ab4abfe3f7e63d1a138bec0f8ac8a4bbe7c66282a9a7007e9f7012805 SHA512 46966609686878d99c5a6623f5a3f55ef203ae32e48d0efbef295f97cc728c6938759360d445e052b82206322c7bf6f995db3007c7f3c0b2818549b8088be9bf diff --git a/dev-ruby/rb-inotify/rb-inotify-0.10.1-r1.ebuild b/dev-ruby/rb-inotify/rb-inotify-0.10.1-r1.ebuild deleted file mode 100644 index 823ea839dedd..000000000000 --- a/dev-ruby/rb-inotify/rb-inotify-0.10.1-r1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# 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_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_EXTRADOC="README.md" - -inherit ruby-fakegem - -DESCRIPTION="A thorough inotify wrapper for Ruby using FFI" -HOMEPAGE="https://github.com/nex3/rb-inotify" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="" - -ruby_add_rdepend "dev-ruby/ffi" - -ruby_add_bdepend "test? ( dev-ruby/concurrent-ruby )" - -all_ruby_prepare() { - # Avoid unneeded dependency on jeweler. - sed -i -e '/:build/ s:^:#:' -e '/module Jeweler/,/^end/ s:^:#:' -e '/class Jeweler/,/^end/ s:^:#:' Rakefile || die - - # Remove mandatory markup processor from yard options, bug 436112. - sed -i -e '/maruku/d' .yardopts || die - - sed -i -e '/bundler/ s:^:#:' -e '1irequire "pathname"' spec/spec_helper.rb || die -} diff --git a/dev-ruby/rb-inotify/rb-inotify-0.10.1.ebuild b/dev-ruby/rb-inotify/rb-inotify-0.10.1.ebuild deleted file mode 100644 index 0b4e3bf2558c..000000000000 --- a/dev-ruby/rb-inotify/rb-inotify-0.10.1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby27 ruby30 ruby31 ruby32" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_EXTRADOC="README.md" - -inherit ruby-fakegem - -DESCRIPTION="A thorough inotify wrapper for Ruby using FFI" -HOMEPAGE="https://github.com/nex3/rb-inotify" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="" - -ruby_add_rdepend "dev-ruby/ffi" - -ruby_add_bdepend "test? ( dev-ruby/concurrent-ruby )" - -all_ruby_prepare() { - # Avoid unneeded dependency on jeweler. - sed -i -e '/:build/ s:^:#:' -e '/module Jeweler/,/^end/ s:^:#:' -e '/class Jeweler/,/^end/ s:^:#:' Rakefile || die - - # Remove mandatory markup processor from yard options, bug 436112. - sed -i -e '/maruku/d' .yardopts || die - - sed -i -e '/bundler/ s:^:#:' -e '1irequire "pathname"' spec/spec_helper.rb || die -} diff --git a/dev-ruby/ruby-prof/Manifest b/dev-ruby/ruby-prof/Manifest index d5c650d5570f..051a735d4670 100644 --- a/dev-ruby/ruby-prof/Manifest +++ b/dev-ruby/ruby-prof/Manifest @@ -1 +1,2 @@ DIST ruby-prof-1.7.0.tgz 251253 BLAKE2B e9cc60591d5cb8b3be528ba57c6374e7965b2f23394d468f3eb62a547e50edc7cc4ea99a6985726a30f063a0ce4823863b468e0ef2c89ef58cfbbe0362bfdb96 SHA512 ecea55a2a77d832f4aeca73aab578372a57a4fdf2cfc4db1fb14a899fed35ddfac79a078ab8207af8a4e70cdd0c4bb1e44a9ead8642e06b27ac4214d7d5981ef +DIST ruby-prof-1.7.1.tgz 251300 BLAKE2B ad2e995280f466605fd09aab89eae473bcf5163860bd3cf2df640b8e7ae72ae978aae366c921bed22698ec81030986be1b8d6a0d5baf8a55b5bedef400de3429 SHA512 4cd849b1f26844edd89e2a962bdc2e229d834c1d79012ed26672be1f8dfb4f0056a9177c8df77a2ab44f1de3991229f03a8d185c34d7c25ef85b48652560d4bf diff --git a/dev-ruby/ruby-prof/ruby-prof-1.7.1.ebuild b/dev-ruby/ruby-prof/ruby-prof-1.7.1.ebuild new file mode 100644 index 000000000000..b98c8311d4e5 --- /dev/null +++ b/dev-ruby/ruby-prof/ruby-prof-1.7.1.ebuild @@ -0,0 +1,44 @@ +# 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="README.md CHANGES" +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_GEMSPEC="ruby-prof.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/ruby_prof/extconf.rb) +RUBY_FAKEGEM_EXTENSION_LIBDIR="lib" + +inherit ruby-fakegem + +DESCRIPTION="A module for profiling Ruby code" +HOMEPAGE="https://github.com/ruby-prof/ruby-prof" +SRC_URI="https://github.com/ruby-prof/${PN}/archive/${PV}.tar.gz -> ${P}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 dev-ruby/minitest )" + +all_ruby_prepare() { + # Avoid bundler + sed -i -e '/bundler/I s:^:#:' -e '/:build/ s:^:#:' Rakefile || die + + sed -i -e '2igem "test-unit"' -e '/bundler/ s:^:#:' test/test_helper.rb || die + + # We install the shared object in lib, not ext. + sed -i -e 's#../ext/ruby_prof#../lib/ruby_prof#' lib/ruby-prof.rb || die + + # Avoid unneeded dependency on rake-compiler + sed -i -e '/extensiontask/ s:^:#:' \ + -e '/ExtensionTask/,/end/ s:^:#:' Rakefile || die + + # Don't strip library by default + sed -i -e '/LDFLAGS/ s/-s//' ext/ruby_prof/extconf.rb || die +} |
