diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-13 11:06:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-13 11:06:03 +0100 |
commit | be8708090362c01c6111c4b76f1e395c14d86e00 (patch) | |
tree | bb61ca73e867522450783849eb63c9e1f0ba1730 /dev-ruby | |
parent | e93a38d535f2c29b55a5756d2de99425986b0bf3 (diff) |
gentoo auto-resync : 13:08:2024 - 11:06:03
Diffstat (limited to 'dev-ruby')
21 files changed, 435 insertions, 10 deletions
diff --git a/dev-ruby/Manifest.gz b/dev-ruby/Manifest.gz Binary files differindex fe564533d18f..0bdbaa7fafc1 100644 --- a/dev-ruby/Manifest.gz +++ b/dev-ruby/Manifest.gz diff --git a/dev-ruby/activesupport/Manifest b/dev-ruby/activesupport/Manifest index 65aa9341a0db..b2b005b91788 100644 --- a/dev-ruby/activesupport/Manifest +++ b/dev-ruby/activesupport/Manifest @@ -8,10 +8,12 @@ DIST rails-7.0.8.3.tgz 11080686 BLAKE2B 2d13559e7b7ab752af4fee480ee51f73b4d1f392 DIST rails-7.0.8.4.tgz 11082427 BLAKE2B 2ca521ad92b7a33fa2160b4cfbc1aac826641d2aac7a8751b6acaed1b7fc42bb860b4ade3f973eb51dc17d20fa4c97b02e8d6b970ae63b042cd58ab2f6cfc797 SHA512 e6628e901fcdcd4b9101cdae0cd556569fc7b577466a15f99d1e221c1c0059287dce87c1362df8b23ded992e96c551b35c0c789e683f080079e678555b7a79e6 DIST rails-7.1.3.3.tgz 10905515 BLAKE2B b2be6d8922d15478136875ac80d65fdc54bdf4a03ec17cddc20c20ae847f08fd52a2b1110ed27feb0217f4aa8dd827a8d95847e32eceaf8f5979843312f12a2a SHA512 0d108654a9ab2a9321822742906c4848508e0e4e09600c01bd5a86deeb324540bbae520a954499c4cc83bfe1246f929a581d1667f2b50c463d0bf8187f603df9 DIST rails-7.1.3.4.tgz 10917333 BLAKE2B 3266de2a86f8b107b18117c06115db14791bb98d672403eff28673e9d98df5e2c9a6c30f72d4141cd1f051054f2d5e1f636a93de9b14114cefef384fded7942a SHA512 4c303be256707b5bbedc05bf5bac7c60ff03cb8a14fa3d709a495d07ad1745d6c6f4d5dceb9860afff46f95f3f9fc525d1bcb75894a5b31a9d35f1aa6b105c5e +DIST rails-7.2.0.tgz 11064433 BLAKE2B 6d5a24f381e81809a030d2bdabfe0b4af68a5407558c3b60c4562c86277c6e823bc9435b3103b5a5f919410ced576e90f0ce83a8d5c5e1002c30f2b16c2f834f SHA512 7f116221f074bc300355985126a32d34eb8a57e90805b1c412eec0aaf02a546f974329b10a3ec21eae2bcb02cca1709fa0a7ee4c145b44eb27e7c67269faa0e5 EBUILD activesupport-6.1.7.7.ebuild 3034 BLAKE2B afa12673a394b5a735544babf92ecafcfc235e6fbb0ade9eb16cfe57ee8bc123b50be5e0a5c5f4b200f59924026eb330ddab8d898a565d3cf41ef3edabddfeb4 SHA512 9880d71ae27e945fbb4a0629ae7b838308ce0e03238531eafea8c3cede2090fe1464745457c992f66daeaa12df57f3b3dde48bbef91871701216f0f2a462581f EBUILD activesupport-6.1.7.8.ebuild 3041 BLAKE2B a3a065778e26c208c383a95c0d36b3e81dde9d8aa39d192a1cda39c94147ae13f8173dd7bc22acf4fd067ad930552f3aa09d18aab07ee0a58a799bd80042fd34 SHA512 59e1bed04ef2d4eff4bb40c219e3b4f836a0861985c706cbd2368f4dad6d80dee4ecf2d923157a2befe3da980f17947c5fa5e7e4668c50720889c6ab833821ce EBUILD activesupport-7.0.8.3.ebuild 2765 BLAKE2B e9ac2142b57acaeb556a852896ef520dc07c71fd5621dc4a6ec566b166ba486262e4ee48e76ad587404bbccc43080eb0bf9bb1e0031d5924d4bc2c62c5bb330d SHA512 249c77083a42cf4329b32cee8da110ddcf699c2f006b499de5bdd7e519adc276abf93d2533e7a781d04dce8ed9f7d3314f1f3d5972955d702058194e0efabda1 -EBUILD activesupport-7.0.8.4.ebuild 2887 BLAKE2B 0db62de6aa22febf8ec08daadfd37fc15610e03f1725eff1584b64339346c8a9437b3bbea3b8f30f069961e15326ea58d1602d0f28873870d9161b1d0641b89a SHA512 66f0e529bb05b4a14a722c21894e1dd29082ce0edffc4b5d5cd20bdeb0591b76b728730e72dd36394b0d85f8c708c4b3d5171f8404fa4bfaa7c389f19ff300fc +EBUILD activesupport-7.0.8.4.ebuild 2883 BLAKE2B 3d45cac290e1d2b3ea5dfbd0fa8500eed2943a9789b79251b3a95ce5c79f6494f6c050777f48c252d803be52d63f8d8893109a1fd52b2e1dcbac2386afa27b56 SHA512 d0df813f768a8a254c8ae11838ae4c92f175819d1b5d13532f3eb6229561b8220e9dd49437039ac50cec9244b10ee95801558cee653f3ede3158aeb70f6271e9 EBUILD activesupport-7.1.3.3.ebuild 3094 BLAKE2B eea8412985e515d6035c44f1b31082f6b989b4185c1effbae6ffb9408ff40c05153f7b987a843a6f3b8cd37a001dd2d994ea057b97f1d19c2f7bb979c47fa854 SHA512 3f1206d9cb2c4f4a5165fa65283cf7a0781b7e1773ebd4f5db6404e4dd146f6ab6a5286ad698ae431e7a36ab7451c2078589c7e3bb5de68faac1ce7faa437812 EBUILD activesupport-7.1.3.4.ebuild 3216 BLAKE2B 2504f2bbb7b8a1c33246ad481a2926183f78c5607704a516a61341799a07ffca654df233c85fbad32b3d85b242dbb09ef821c2b7ab315835063ecf9c2f163379 SHA512 a52cb19df36db811ac6457b67e09591b160c529c1bb820b6742caab9ca347f7594ab7bb81c9ca41913c170466e43eda042341eb478271d07fb840e89dff23e8a +EBUILD activesupport-7.2.0.ebuild 3241 BLAKE2B eb049efc5195759f8b9939b32cbd53eeeb3d2f6515134a06217435911f4af9236c912ff884c9a33c369e595d3519871594641c94a7b55e0d6f32af92ab6e4184 SHA512 af143a7686ffa27324855120d78f6847c9d4efb20beafb6f614ebe576f67ffb0ca37a88dbe9da7f23a08bd4db8f6c96be549c3a38a2a52929d2c918000c4425a MISC metadata.xml 429 BLAKE2B 4464c287aa76d9f0ceff37265a0657fa3b664c5e640704a92dfc3b01a737069ae29f67843c389489b57bf30f2e45b2fd5c58a69ad86c7da024f7bb42bfdd5ffe SHA512 adc5999b7d63cbe8047973dc4d4f7ad3c6e6311e05d4ab2fcb010ed3cf59b6a16fb95606e576f511b04a105f132033d3ce4fa255ac9ffd497b4874cb49e7443d diff --git a/dev-ruby/activesupport/activesupport-7.0.8.4.ebuild b/dev-ruby/activesupport/activesupport-7.0.8.4.ebuild index 67ce92a72474..08470709d70d 100644 --- a/dev-ruby/activesupport/activesupport-7.0.8.4.ebuild +++ b/dev-ruby/activesupport/activesupport-7.0.8.4.ebuild @@ -19,7 +19,7 @@ SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz LICENSE="MIT" SLOT="$(ver_cut 1-2)" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ppc ~ppc64 ~riscv ~s390 sparc ~x86" IUSE="test" RUBY_S="rails-${PV}/${PN}" diff --git a/dev-ruby/activesupport/activesupport-7.2.0.ebuild b/dev-ruby/activesupport/activesupport-7.2.0.ebuild new file mode 100644 index 000000000000..224d37048f84 --- /dev/null +++ b/dev-ruby/activesupport/activesupport-7.2.0.ebuild @@ -0,0 +1,86 @@ +# 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="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Utility Classes and Extension to the Standard Library" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="+msgpack test" +REQUIRED_USE="test? ( msgpack )" + +PATCHES=( "${FILESDIR}/${PN}-7.1.1-backport-pr50097.patch" ) + +RUBY_S="rails-${PV}/${PN}" + +ruby_add_rdepend " + dev-ruby/base64 + dev-ruby/bigdecimal + >=dev-ruby/concurrent-ruby-1.3.1:1 + >=dev-ruby/connection_pool-2.2.5 + dev-ruby/drb + >=dev-ruby/i18n-1.6:1 + >=dev-ruby/minitest-5.1 + >=dev-ruby/securerandom-0.3 + >=dev-ruby/tzinfo-2.0.5:2 + msgpack? ( >=dev-ruby/msgpack-1.7.0 ) +" + +# memcache-client, nokogiri, builder, and redis are not strictly needed, +# but there are tests using this code. +ruby_add_bdepend "test? ( + >=dev-ruby/dalli-3.0.1 + >=dev-ruby/nokogiri-1.8.1 + >=dev-ruby/builder-3.1.0 + >=dev-ruby/listen-3.3:3 + dev-ruby/rack:3.0 + dev-ruby/rexml + dev-ruby/mocha + >dev-ruby/minitest-5.15.0:* + )" + +all_ruby_prepare() { + # Set the secure permissions that tests expect. + chmod 0755 "${HOME}" || die "Failed to fix permissions on home" + + # Remove items from the common Gemfile that we don't need for this + # test run. This also requires handling some gemspecs. + sed -i -e "/\(system_timer\|execjs\|jquery-rails\|journey\|ruby-prof\|stackprof\|benchmark-ips\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|bcrypt\|uglifier\|minitest\|sprockets\|stackprof\|rack-cache\|sqlite\|websocket-client-simple\|\libxml-ruby\|bootsnap\|aws-sdk\|webmock\|capybara\|sass-rails\|selenium-webdriver\|webpacker\|webrick\|propshaft\|rack-test\|terser\|cgi\|net-smtp\|net-imap\|net-pop\|digest\|matrix\|web-console\|error_highlight\|jbuilder\|httpclient\|prism\|useragent\)/ s:^:#:" \ + -e '/stimulus-rails/,/tailwindcss-rails/ s:^:#:' \ + -e '/^group :test/,/^end/ s:^:#:' \ + -e '/^\s*group :\(db\|doc\|rubocop\|job\|cable\|lint\|mdl\|storage\|ujs\|test\|view\) do/,/^\s*end/ s:^:#:' \ + -e 's/gemspec/gemspec path: "activesupport"/' \ + -e '5igem "builder"' ../Gemfile || die + rm ../Gemfile.lock || die + + # Avoid test that depends on timezone + sed -i -e '/test_implicit_coercion/,/^ end/ s:^:#:' test/core_ext/duration_test.rb || die + + # Avoid tests that seem to trigger race conditions. + rm -f test/evented_file_update_checker_test.rb || die + + # Avoid test that generates filename that is too long + sed -i -e '/test_filename_max_size/askip "gentoo"' test/cache/stores/file_store_test.rb || die + + # Avoid tests requiring a live redis running + rm -f test/cache/stores/redis_cache_store_test.rb || die + sed -i -e '/cache_stores:redis/ s:^:#:' Rakefile || die + sed -i -e '/test_redis_cache_store/askip "lacking keywords"' test/cache/cache_store_setting_test.rb || die + + # Avoid test where the result varies with specific ruby releases. + rm -f test/core_ext/object/duplicable_test.rb || die +} diff --git a/dev-ruby/concurrent-ruby/Manifest b/dev-ruby/concurrent-ruby/Manifest index b5eb3a33c606..df974e5fb1eb 100644 --- a/dev-ruby/concurrent-ruby/Manifest +++ b/dev-ruby/concurrent-ruby/Manifest @@ -3,9 +3,11 @@ DIST concurrent-ruby-1.2.3.tar.gz 1152422 BLAKE2B 72057ef4db1cc7dd0eb30122671e1c DIST concurrent-ruby-1.3.1.tar.gz 1153932 BLAKE2B e516528e20f23c1f65f6528b97f5ee61f8cb61cb34703022e2763736a85d4e55ce637df45e9477cc39c93d89b92e63adc23a8966d5c025ba328bf9d148ebe629 SHA512 837705cd37f7c6c16f3ac1f7b0ed5f4f460c8f3dbe87fa1cfc4efd8e70e4c70f62efe7dfd009a4bfc5626fbdda9fabc87a6e1efb82ab03926b6d098a5ead4423 DIST concurrent-ruby-1.3.2.tar.gz 1154379 BLAKE2B 23a3b344fdabf403e8176db941cb953e5d59d41d417021ba2412005f486f4cec88d2bd29aaef6481fc7727759493bc5c9fca8cdb6af832ddd38e1a9f34365f5b SHA512 a74fd5c1df97289b4287d3a20fddd3d4277019288e45227649d3597199c1a47325b626d8c323fc722e6638b8f8433729b541acaa060a7b570a921a78ebb49eec DIST concurrent-ruby-1.3.3.tar.gz 1154451 BLAKE2B d18d02e94d42f8937b0e662216b3b87ea8fd52fee8c1a110c3d291062055c58e1fa6938dc0e7b9bef0dbbd250e08d648751ed65f460a79494fa2dbb14759184a SHA512 bf6f7883637dd4026d0ae14cca053eaf0c080976a28c5438290787bfafa43fa93c217e58976ada5d764b81a5884f0229d0b29044ac84d770679559803927b12d +DIST concurrent-ruby-1.3.4.tar.gz 1154935 BLAKE2B f27a8b1deab77b7897d9faadc4ddef9a8dbe55988e0a7cbcfd88a32b0369fbf37ab3c98a8244bae1509ae128d01c283b18716a723b5a3173d8e8f5cef28a37b2 SHA512 d08a20ec465429875ddb1b1bcc7a75e74cfdb3113e4141e7d7f690ddd6fe50af978b7911bf0457a3e535fd79e463e423c34d23f77e645ecb6dd69704b17fdad6 EBUILD concurrent-ruby-1.2.2.ebuild 1346 BLAKE2B 16f13760fc679418818d3c2cdc7311b03ff0a861005f3facce18472d314e2c24715005c7622088345be4b6f1b20a0baba3b40adf077b36e9d0723376f7efe426 SHA512 d39bc89294f8118c2d215d1568d2d81a8d673046e3d0cbdd1f185912f4eca880002c28cb3a612fd59abc65524c63eeac88efbd625e24be0b898d7862576287ad EBUILD concurrent-ruby-1.2.3.ebuild 1357 BLAKE2B 6670f1619bbcce72670f986759a5a5dc5dabdc0fe83c4c375fa828e92abdfcf24930074fb050416b991807f1df63e4950f9b25fee04f296cc6bd8786b259194b SHA512 257ede866e534afe402f7004d3d96a0fdca44ae38ace4c71e1e4ab823cc954ce0f6c99ce12a2a71f7f5611c012cc3aa9097ff9a08c84273c7d9893b7f5400f5c EBUILD concurrent-ruby-1.3.1.ebuild 1357 BLAKE2B 6670f1619bbcce72670f986759a5a5dc5dabdc0fe83c4c375fa828e92abdfcf24930074fb050416b991807f1df63e4950f9b25fee04f296cc6bd8786b259194b SHA512 257ede866e534afe402f7004d3d96a0fdca44ae38ace4c71e1e4ab823cc954ce0f6c99ce12a2a71f7f5611c012cc3aa9097ff9a08c84273c7d9893b7f5400f5c EBUILD concurrent-ruby-1.3.2.ebuild 1357 BLAKE2B 6670f1619bbcce72670f986759a5a5dc5dabdc0fe83c4c375fa828e92abdfcf24930074fb050416b991807f1df63e4950f9b25fee04f296cc6bd8786b259194b SHA512 257ede866e534afe402f7004d3d96a0fdca44ae38ace4c71e1e4ab823cc954ce0f6c99ce12a2a71f7f5611c012cc3aa9097ff9a08c84273c7d9893b7f5400f5c EBUILD concurrent-ruby-1.3.3.ebuild 1357 BLAKE2B 6670f1619bbcce72670f986759a5a5dc5dabdc0fe83c4c375fa828e92abdfcf24930074fb050416b991807f1df63e4950f9b25fee04f296cc6bd8786b259194b SHA512 257ede866e534afe402f7004d3d96a0fdca44ae38ace4c71e1e4ab823cc954ce0f6c99ce12a2a71f7f5611c012cc3aa9097ff9a08c84273c7d9893b7f5400f5c +EBUILD concurrent-ruby-1.3.4.ebuild 1388 BLAKE2B 7ea2f9020acd5c6ab28467757bc9b5c358a437320ec500c912808bc1e29be75bd4e6f579fe69234d6f198c55015acbf2276104ac3e56681805fd4ca9b017ffda SHA512 8061a44f4886f33bb3adae40239a01185a147549d9c34a1481364082eb627031bfc2c3403d52bf2be8c647c6f8d8d6090a15772d6a4d472d8fa6d4084723b702 MISC metadata.xml 359 BLAKE2B 2db8e9c1e575575ead6e6f86d5c883e356dbd84d3def08d6d2b9473e8cb10951268bd85208f56b14047b6bf57388e025f4ad626555d001d266bb0a87db954f45 SHA512 39f31f985f90fb6514f2c282c01a0d38e325371ec18671dda808372891caa83eb28a6eaf0a3090999a0427e5ca6cf3ba5f75b59e86b0e8713dc85ff3a6eacb68 diff --git a/dev-ruby/concurrent-ruby/concurrent-ruby-1.3.4.ebuild b/dev-ruby/concurrent-ruby/concurrent-ruby-1.3.4.ebuild new file mode 100644 index 000000000000..d4bfd455825f --- /dev/null +++ b/dev-ruby/concurrent-ruby/concurrent-ruby-1.3.4.ebuild @@ -0,0 +1,40 @@ +# 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_RECIPE_DOC="" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Modern concurrency tools including agents, futures, promises, thread pools, more" +HOMEPAGE="https://github.com/ruby-concurrency/concurrent-ruby" +SRC_URI="https://github.com/ruby-concurrency/concurrent-ruby/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="test" + +ruby_add_bdepend "test? ( >=dev-ruby/timecop-0.9 )" + +all_ruby_prepare() { + # Remove edge files as defined in support/file_map.rb + rm -rf spec/concurrent/{actor,cancellation,channel,edge,lazy_register,processing,promises,throttle}* || die + rm -r spec/concurrent/executor/wrapping_executor_spec.rb || die + sed -i -e '/concurrent-edge/ s:^:#:' spec/spec_helper.rb || die + sed -i -e 's:lib-edge:lib/concurrent-ruby:' .rspec || die + sed -i -e 's:../../../::' spec/concurrent/executor/executor_quits.rb || die + + # Remove specs for the ext gem + rm -rf spec/concurrent/atomic || die + + sed -e 's/git ls-files/find * -print/' \ + -e "s/__dir__/'.'/" \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/date_validator/Manifest b/dev-ruby/date_validator/Manifest index 5aa057660a8e..314613d80600 100644 --- a/dev-ruby/date_validator/Manifest +++ b/dev-ruby/date_validator/Manifest @@ -1,3 +1,3 @@ DIST date_validator-0.12.0.gem 12800 BLAKE2B 235434dbd7e4441698bc90e0dd37bf9e5b8f1f742424e8155876e677e5d7dbe7beb4edd2f7dda7dba2729a024dcda72ac816e4f6a7dd38fdfaa4ea79f21d078e SHA512 e7796375d6d6af2fc9ce6e7d6174d59bd35ddbac90c4e5b54b321e33ed25f3e816c58013fa61f2003724e87fc96495ce81c132d056c9c9331bd1a236eb7dec38 -EBUILD date_validator-0.12.0.ebuild 1082 BLAKE2B c939873e1f98962dc8c26b1e8184b8391b213afe895e49dc0d82c93901ea45bb131025a77dbb41ee4d5736c1457cc0bbf0b414b96d238cef41ffaf8ec0324845 SHA512 f33d8646784c11287fa85fece6db86a860111a5ffef90db0b7610d659c4299c9d56224ef305703c0f77ea370ea338728cbc68d63d732f24407bf7eed5c89f0ef +EBUILD date_validator-0.12.0.ebuild 1113 BLAKE2B 22ec099d1cdbb15f48f9f59229a703d26dbdd9b2080966a616aa5fa4cfb032d2a21f16dddc6b1d2a0c2d53ec02f0bbe1c859f8b7d8481e37ddae202061cc2d15 SHA512 c0067feba2f0c922c7576abe711d1e573c29d8cb4b46e4e70e6a47bc97e6a496a780a45c98764f408e81e20ba1cd34bcdaec868a8f59c454597244c3c9483e24 MISC metadata.xml 350 BLAKE2B bd7fb0d977e2f3cc8ebd8bdf2cdf424ad2f6e90b20b2948711ab868ae8cefdec3091a80083e4df8c6e244a157cc02e90b527596391cbb92893ee1b9922bb9e25 SHA512 7f387024832bfa6191223788be7c6bd4017bc1a3805c03436ac92769f7ccb86a17705d89a9571f2c3150326ca492a4dc0c542ebc8b66b82ab43e26d3efc82f75 diff --git a/dev-ruby/date_validator/date_validator-0.12.0.ebuild b/dev-ruby/date_validator/date_validator-0.12.0.ebuild index 8b174b7e9552..d00447da313f 100644 --- a/dev-ruby/date_validator/date_validator-0.12.0.ebuild +++ b/dev-ruby/date_validator/date_validator-0.12.0.ebuild @@ -24,7 +24,7 @@ HOMEPAGE="https://github.com/codegram/date_validator" LICENSE="MIT" SLOT="3" KEYWORDS="~amd64" -IUSE="" +IUSE="doc test" ruby_add_rdepend " >=dev-ruby/activemodel-3.0:* @@ -46,5 +46,6 @@ all_ruby_prepare() { sed -i \ -e '/[Bb]undler/s/^/#/' Rakefile || die # Fix tests - sed -i -e "1irequire 'active_support'; require 'active_support/core_ext/time/zones'" test/test_helper.rb || die + sed -e "1igem 'activemodel'; require 'active_support'; require 'active_support/core_ext/time/zones'" \ + -i test/test_helper.rb || die } diff --git a/dev-ruby/faraday-rack/Manifest b/dev-ruby/faraday-rack/Manifest index 2f9c9cd5d475..e2294aa41498 100644 --- a/dev-ruby/faraday-rack/Manifest +++ b/dev-ruby/faraday-rack/Manifest @@ -1,3 +1,3 @@ DIST faraday-rack-1.0.0.tar.gz 8042 BLAKE2B bfeb9c4ee12a8eae657f9ea8f8144232ddfaca758b30f2af1e3b179ca38afd35755499c8f524fb1673675f5eacc93ca6fb79a78e48b68da8db298b91d5ecfb67 SHA512 c2abe89a54c41dfa336976ec0f8c86f3a1912b5a950f139f0146a27273560fa74c97c5c35d05f80ce2349de96461b7e398c79cdc3471a8fe782406df03e184ec -EBUILD faraday-rack-1.0.0.ebuild 807 BLAKE2B b93df6bd870dbf5f7f044d6345cbef1da8fb87f52e1c474d24a8fdc7edff8bfdc1b91ac1cad230084bb23068a3dedbdafac29f271700b017e609f61867632570 SHA512 1544ff21d094942c556634a651b6859bcdb5893283475ecb37070e30599d99472ec322f0077cbaa4fb9ee6f1d39187d40eabd8dbf581bd69e4a310dea58d3a63 +EBUILD faraday-rack-1.0.0.ebuild 874 BLAKE2B f356c0d48f8a9ca409d3aa0122c992264bf92b9473f8b9f866a8697acc88aa3ab0f93386143a9d5f30a0da44be37979f1e1fd248a00fd3cd779fca13da4389ba SHA512 1a17a685624b4e78e5a58d11431ec7e1c7d9f1665c93f80f7336c184cca0af7cfb11d25c5f1c3e61f3422b3a193e2cb0c16b9c6555839c717d1740d6b06091fe MISC metadata.xml 350 BLAKE2B 4c941e59c082b09fb55710a680f6d93ddfc482d846a3ec083f71e23ae32ceb0388e4b9907c21905f12f80f170699cbf8541e5880435bafd8ad101300b5bcea87 SHA512 c2bf955e704457201c30b5ccff21df3d9b3a884837d8199d9dca99a5b40131d29a3d9d06303b479f5b7f2a5bacbc3b0a89fc24ed32b195a6fdd3fcc7bb846423 diff --git a/dev-ruby/faraday-rack/faraday-rack-1.0.0.ebuild b/dev-ruby/faraday-rack/faraday-rack-1.0.0.ebuild index e3040b2788d2..f8805bed7eaf 100644 --- a/dev-ruby/faraday-rack/faraday-rack-1.0.0.ebuild +++ b/dev-ruby/faraday-rack/faraday-rack-1.0.0.ebuild @@ -23,10 +23,15 @@ SLOT="$(ver_cut 1)" KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86" IUSE="test" -ruby_add_bdepend "test? ( dev-ruby/faraday:1 >=dev-ruby/rack-test-0.6 dev-ruby/webmock )" +ruby_add_bdepend "test? ( + dev-ruby/faraday:1 + || ( dev-ruby/rack:3.0 dev-ruby/rack:2.2 ) + >=dev-ruby/rack-test-0.6 + dev-ruby/webmock +)" all_ruby_prepare() { sed -i -e "s:_relative ':'./:" ${RUBY_FAKEGEM_GEMSPEC} || die - sed -i -e '2igem "faraday", "~> 1.0"' spec/spec_helper.rb || die + sed -i -e '2igem "faraday", "~> 1.0"; gem "rack", "<3.1"' spec/spec_helper.rb || die } diff --git a/dev-ruby/railties/Manifest b/dev-ruby/railties/Manifest index 996d2ac77abd..06e9f851105c 100644 --- a/dev-ruby/railties/Manifest +++ b/dev-ruby/railties/Manifest @@ -7,7 +7,9 @@ DIST rails-7.1.3.4.tgz 10917333 BLAKE2B 3266de2a86f8b107b18117c06115db14791bb98d EBUILD railties-6.1.7.7.ebuild 1621 BLAKE2B 41feb65dbbf063e23877e53a2120fb8a27d067273b421d3a028f291b203ad26a87eaf1c1bbdad2edc4a446f7757dd5de70b1b46fa0058c017fb048d6cc2087b1 SHA512 335f95140cdce23d3aad52d2baa2730bb553a84513098afa105c2b76713c24e3bb0ee07dedd559e643dfbc246c4ef94b078975614c8bf7282809d48757a9cac9 EBUILD railties-6.1.7.8.ebuild 1622 BLAKE2B 68ad565e10888d480ee7183577484fea138211315c22ab0397d0d338734608a3823b38625fee060775593544f68c7517e8037c8a04cfe0deeb8e4ac81289b135 SHA512 3457aa22dec4d1e68cb833e01bfb2f14e9d9ded3a1069762e565be020c1a2355f688d95258d977a6171d59338aacd1fc230dae12fc1165bd1d68beead4f74fd8 EBUILD railties-7.0.8.3.ebuild 1655 BLAKE2B ea4b088abd6a08560b544354fc1ab5c66f5ab060592e10a0326ccf1c32e8401e2135d4fe9ba057abd8fc6a9eaccea93976d81608cb5f27d6c739c074fc00c872 SHA512 417cddd466ad8b131b37614452025d635d1513446a8f6d41e4b0a528bf005d689b174a2e5af11302622435ab650d1d7e6b58ccc006ae6b9f9e058c8eff07bb8f +EBUILD railties-7.0.8.4-r1.ebuild 1655 BLAKE2B c95a49832842f28e4ded895dadde1f1e4e911be754ae02a01b3526ed79d26309b916e901376b4b3917cf1fc9e8231edaac0a3675701b88f8679273ce6209ff76 SHA512 5d07ec7ccbc452714f83b6ba1be4b10bedecf950f8ba362a3d035d55b7b360f1a16e76fa7955d8ca1686084c567f85cc5b384ec2453ad2a70c5f6cadb5a83837 EBUILD railties-7.0.8.4.ebuild 1655 BLAKE2B ea4b088abd6a08560b544354fc1ab5c66f5ab060592e10a0326ccf1c32e8401e2135d4fe9ba057abd8fc6a9eaccea93976d81608cb5f27d6c739c074fc00c872 SHA512 417cddd466ad8b131b37614452025d635d1513446a8f6d41e4b0a528bf005d689b174a2e5af11302622435ab650d1d7e6b58ccc006ae6b9f9e058c8eff07bb8f EBUILD railties-7.1.3.3.ebuild 1680 BLAKE2B a0c9b67efa3b0922681e65a4ad421806a0cd65ac4ef2f4a89f9b70b3ab2fe06e0691bc93af6ad5d6dd96a8ff13600c5f0592617867bfc33f59ac4159fb1805c9 SHA512 1e017220ba4c4fe6095311349616837242ad8b32d7aa2a359697e66af71d714184270bb297f6a92711462733adf2a1718abc35e4b454a60dbe1a59d430a9f21a +EBUILD railties-7.1.3.4-r1.ebuild 1680 BLAKE2B 147618d4c3015025a3aee5dd5750aee27277c298c2f58941433e7b6bda1e63547cb5a7471b1fb8ba83c66d9a3f29dcf6b7b33d87073f6ce7a888a7700e57814e SHA512 f709e99731c3ca51d6791f5dfbf1b47d9aa3e7fe1aa1e5f60a978531eaf368374274ae0d761f6a52b71da25e760c8ddfd352120e8c1c8606eadbbf3ef7aa11f2 EBUILD railties-7.1.3.4.ebuild 1680 BLAKE2B a0c9b67efa3b0922681e65a4ad421806a0cd65ac4ef2f4a89f9b70b3ab2fe06e0691bc93af6ad5d6dd96a8ff13600c5f0592617867bfc33f59ac4159fb1805c9 SHA512 1e017220ba4c4fe6095311349616837242ad8b32d7aa2a359697e66af71d714184270bb297f6a92711462733adf2a1718abc35e4b454a60dbe1a59d430a9f21a MISC metadata.xml 338 BLAKE2B f32f1ecbd729e4e6162f22cdb9bfe1fbb1284c8b7f021d8207a1a54d2543b0e9866e775d550360dd01ef4f4eb92e96064a8416476c7047853034ea05479eb6e7 SHA512 24fd0d8ea6e3cd5514e5049b7e064b7e3e667ea14978cc7cf620e9c1b020bdc7caf7dbec97ccbf92c2f4c657fff3e9151d6f2af103b3d9c3cc5181cb3a81a295 diff --git a/dev-ruby/railties/railties-7.0.8.4-r1.ebuild b/dev-ruby/railties/railties-7.0.8.4-r1.ebuild new file mode 100644 index 000000000000..40662c9295e3 --- /dev/null +++ b/dev-ruby/railties/railties-7.0.8.4-r1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_TASK_TEST="test:regular" +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="railties.gemspec" + +RUBY_FAKEGEM_BINDIR="exe" +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Tools for creating, working with, and running Rails applications" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test" + +RUBY_S="rails-${PV}/${PN}" + +# The test suite has many failures, most likely due to a mismatch in +# exact dependencies or environment specifics. Needs further +# investigation. +RESTRICT="test" + +RDEPEND+=">=app-eselect/eselect-rails-0.26" + +ruby_add_rdepend " + ~dev-ruby/activesupport-${PV} + ~dev-ruby/actionpack-${PV} + dev-ruby/thor:1 + >=dev-ruby/rake-12.2 + dev-ruby/method_source + >=dev-ruby/zeitwerk-2.5:2 +" + +ruby_add_bdepend " + test? ( + ~dev-ruby/actionview-${PV} + dev-ruby/mocha:0.14 + )" + +all_ruby_prepare() { + rm "${S}/../Gemfile" || die "Unable to remove Gemfile" + sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths" + sed -i -e '1igem "minitest", "~>4.0"' test/abstract_unit.rb || die +} + +all_ruby_install() { + all_fakegem_install + + ruby_fakegem_binwrapper rails rails-${PV} +} + +pkg_postinst() { + elog "To select between slots of rails, use:" + elog "\teselect rails" + + eselect rails update +} + +pkg_postrm() { + eselect rails update +} diff --git a/dev-ruby/railties/railties-7.1.3.4-r1.ebuild b/dev-ruby/railties/railties-7.1.3.4-r1.ebuild new file mode 100644 index 000000000000..7b7aab03a013 --- /dev/null +++ b/dev-ruby/railties/railties-7.1.3.4-r1.ebuild @@ -0,0 +1,73 @@ +# 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_TASK_TEST="test:regular" +RUBY_FAKEGEM_RECIPE_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="railties.gemspec" + +RUBY_FAKEGEM_BINDIR="exe" +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="Tools for creating, working with, and running Rails applications" +HOMEPAGE="https://github.com/rails/rails" +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test" + +RUBY_S="rails-${PV}/${PN}" + +# The test suite has many failures, most likely due to a mismatch in +# exact dependencies or environment specifics. Needs further +# investigation. +RESTRICT="test" + +RDEPEND+=">=app-eselect/eselect-rails-0.27" + +ruby_add_rdepend " + ~dev-ruby/actionpack-${PV} + ~dev-ruby/activesupport-${PV} + dev-ruby/irb + >=dev-ruby/rackup-1.0.0 + >=dev-ruby/rake-12.2 + >=dev-ruby/thor-1.2.2:1 + >=dev-ruby/zeitwerk-2.6:2 +" + +ruby_add_bdepend " + test? ( + ~dev-ruby/actionview-${PV} + dev-ruby/mocha + )" + +all_ruby_prepare() { + rm "${S}/../Gemfile" || die "Unable to remove Gemfile" + sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths" + sed -i -e '1igem "minitest", "~>4.0"' test/abstract_unit.rb || die +} + +all_ruby_install() { + all_fakegem_install + + ruby_fakegem_binwrapper rails rails-${PV} +} + +pkg_postinst() { + elog "To select between slots of rails, use:" + elog "\teselect rails" + + eselect rails update +} + +pkg_postrm() { + eselect rails update +} diff --git a/dev-ruby/rexml/Manifest b/dev-ruby/rexml/Manifest index 9b0b30ad10d7..a3edd31b27d8 100644 --- a/dev-ruby/rexml/Manifest +++ b/dev-ruby/rexml/Manifest @@ -4,10 +4,12 @@ DIST rexml-3.3.0.tar.gz 461623 BLAKE2B d741310000bf06276f7e424fc9a01cf20657d857b DIST rexml-3.3.1.tar.gz 462490 BLAKE2B 2332c3233bfdd5bec067c548016dd20e8bd97e82e6c924f418242827503221a5ce01f81d9b747967bb984d9768f0652e6402dff41c358f95a643b3783b18e564 SHA512 df35a2481743ac4f857ba1ba6396c37de26e9a306abe763dba943a464be9d5e063e0618182446b6f51011eb04aa6cf094b17e24d9826dd294e02596d5033ac83 DIST rexml-3.3.2.tar.gz 464607 BLAKE2B 44fc74d6fbdbe213c1bdcb97cb54a5cc74bbc1a74ef2531bb5c3c10c94e5fe061e18c096974e2a94c03918ff5e8d40f5d191d473ae3c49ae0a94a58fd8f641b6 SHA512 fd374b2a2b1751f3762ca95d5d2355e64f8fa0de7fa8c4106f36f700e26dfcb8dad8b239399859fef5268195a3d07a19367afea5f01014ab3122e316d4f2168a DIST rexml-3.3.4.tar.gz 467302 BLAKE2B d8b86d51233ae277eaa25a796a4c895f4cf4d8e49dbc623990596e001c0404fc1cfafbdf5e87773fd773bbd6894511625d26b6ef9f94f75560849006c39a8a37 SHA512 928fbd0df229118c180791e75c7b86d4c9a937c92ba1161db1692ac3cc332bd5c241e4fc1d0d67be9bf97796dfbabe90fb19085a849130dcf7b53274145d784d +DIST rexml-3.3.5.tar.gz 467588 BLAKE2B e32270fa6411f776e2e325f942a235eea6ee6cd72e33bf28cea69eeb6dbd40cc334f84d30c962093dd5644fb6c2cb77589229b415ae23e31d3899ae26f325f12 SHA512 401441a7c54533a0e01607af62c142cd9d767aa46dbadc5d18dc57e7542ff4518eba4c77206ff6c4ed6113eba87f30730b96469f64701efb5cb08cb578cd5a48 EBUILD rexml-3.2.8.ebuild 1149 BLAKE2B 21dcce1a87f8ca2e42d879cb77d79abed37854b67633d997e60512d7ad65cf67916b02e23dbf8f89056aaa715910c5c3089de55fd0ecbc5be2a5088035930689 SHA512 5bba715dfc97211d341ac972ebeae8dfa787b90c8d77040e2a01391d72e3a4245ace754112e2908b7534c371bbe52b47332e74f1bd688f4dac0c8166dca5206c EBUILD rexml-3.2.9.ebuild 1156 BLAKE2B 20856be791740e24c1e6636878166a3826b78cdacc9e88282bfad49b310bcf3dca850adcfdcde630666514d142eb6e36124b69e160f09f662cf729af1e7552c8 SHA512 86671b9d1a9f2f58cbef44d75bd94f82a9a7038bc073559bec38855bf9a3a77dea10a81583e94c310ab69578ef8d8c1fc5d22f90b8fb32c75c2a49a0472dbf76 EBUILD rexml-3.3.0.ebuild 1148 BLAKE2B 8db9d454019e6acbafcd49a6503e4cd567cfabdaa9b580f89e4470a33b29864ce3b224cc26532a4f9e098a26cd5cc31e070c98653d3f04c9c2e61745c8fd5622 SHA512 bdf293bf35217c5e4fd38e7a03ccef62f41ed065ffddb9abee34ef39dd938f10f43250266a760e19501644d21f05228035e6bd909bba414d6c70742202c9ffb8 EBUILD rexml-3.3.1.ebuild 1148 BLAKE2B 8db9d454019e6acbafcd49a6503e4cd567cfabdaa9b580f89e4470a33b29864ce3b224cc26532a4f9e098a26cd5cc31e070c98653d3f04c9c2e61745c8fd5622 SHA512 bdf293bf35217c5e4fd38e7a03ccef62f41ed065ffddb9abee34ef39dd938f10f43250266a760e19501644d21f05228035e6bd909bba414d6c70742202c9ffb8 EBUILD rexml-3.3.2.ebuild 1148 BLAKE2B 8db9d454019e6acbafcd49a6503e4cd567cfabdaa9b580f89e4470a33b29864ce3b224cc26532a4f9e098a26cd5cc31e070c98653d3f04c9c2e61745c8fd5622 SHA512 bdf293bf35217c5e4fd38e7a03ccef62f41ed065ffddb9abee34ef39dd938f10f43250266a760e19501644d21f05228035e6bd909bba414d6c70742202c9ffb8 -EBUILD rexml-3.3.4.ebuild 1148 BLAKE2B 8db9d454019e6acbafcd49a6503e4cd567cfabdaa9b580f89e4470a33b29864ce3b224cc26532a4f9e098a26cd5cc31e070c98653d3f04c9c2e61745c8fd5622 SHA512 bdf293bf35217c5e4fd38e7a03ccef62f41ed065ffddb9abee34ef39dd938f10f43250266a760e19501644d21f05228035e6bd909bba414d6c70742202c9ffb8 +EBUILD rexml-3.3.4.ebuild 1143 BLAKE2B a58f9ccf072a71e148712d37664484e4b115f50ac7ceb610f15ea6fdec1c49a868ffec91a457f414793bd5265df451f5d7179ce39afaae4816a27137c956069c SHA512 7f10b07e59cf2ca2e4c9d98816a0b2f9f3c7206d1f4e74238ad4cf32afd8d94cd9723ad15c862feacb845337538442209a952ce11a42308e2076223b4e95834d +EBUILD rexml-3.3.5.ebuild 1148 BLAKE2B 8db9d454019e6acbafcd49a6503e4cd567cfabdaa9b580f89e4470a33b29864ce3b224cc26532a4f9e098a26cd5cc31e070c98653d3f04c9c2e61745c8fd5622 SHA512 bdf293bf35217c5e4fd38e7a03ccef62f41ed065ffddb9abee34ef39dd938f10f43250266a760e19501644d21f05228035e6bd909bba414d6c70742202c9ffb8 MISC metadata.xml 337 BLAKE2B 32bcd67d98d6c5b679142524dceab3a59b093b38dfe4d00d1ea01c72b659755e8d4c1a546b5968ca86d7eceb1810eda7b671e0ffe021ea816f88755c9bb2b2ed SHA512 650d4de17e8228c24f0a6ceb5c72ab3e978c75f397c41826b33eb6e6466d965b1c42911b765f464a399f3759331df8b12e1cdf1ea84da494f9318dcc4998de58 diff --git a/dev-ruby/rexml/rexml-3.3.4.ebuild b/dev-ruby/rexml/rexml-3.3.4.ebuild index 802c814bb1f9..9fdb1268b198 100644 --- a/dev-ruby/rexml/rexml-3.3.4.ebuild +++ b/dev-ruby/rexml/rexml-3.3.4.ebuild @@ -19,7 +19,7 @@ SRC_URI="https://github.com/ruby/rexml/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD-2" SLOT="3" -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" +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" ruby_add_rdepend "dev-ruby/strscan" diff --git a/dev-ruby/rexml/rexml-3.3.5.ebuild b/dev-ruby/rexml/rexml-3.3.5.ebuild new file mode 100644 index 000000000000..802c814bb1f9 --- /dev/null +++ b/dev-ruby/rexml/rexml-3.3.5.ebuild @@ -0,0 +1,40 @@ +# 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="NEWS.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="An XML toolkit for Ruby" +HOMEPAGE="https://github.com/ruby/rexml" +SRC_URI="https://github.com/ruby/rexml/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" + +SLOT="3" +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" + +ruby_add_rdepend "dev-ruby/strscan" + +ruby_add_bdepend "test? ( dev-ruby/test-unit dev-ruby/test-unit-ruby-core )" + +all_ruby_prepare() { + sed -i -e 's:require_relative ":require "./:' -e 's/__dir__/"."/' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -i -e '/bundler/I s:^:#:' Rakefile || die + + # Ensure we use the (new enough) gem version of strscan. The + # versions bundled with ruby up to at least 3.3.1 are all too old. + sed -e '3igem "strscan"' \ + -i test/helper.rb || die +} + +each_ruby_test() { + ${RUBY} test/run.rb || die +} diff --git a/dev-ruby/rrdtool-bindings/Manifest b/dev-ruby/rrdtool-bindings/Manifest index 1bfc2f5ce433..5ff00c421581 100644 --- a/dev-ruby/rrdtool-bindings/Manifest +++ b/dev-ruby/rrdtool-bindings/Manifest @@ -1,4 +1,6 @@ AUX rrdtool-bindings-1.4.8-graph-ruby.patch 1857 BLAKE2B 4a36c4dee4e755bd39851c5c333fddacdddb53324017290f15345687b577caf9efb41d97ce55cc0bcd57554746e1a90d9a2d9fd92c0acd48b405eb02957e491c SHA512 1803247c9949a6d28d7027242604b5d61bc9da38ff22ff9d6302ca69743e49328372b4e51554c868b19a459c4341fa6d1291d09d62ea6a414a81d4558a7ef66d DIST rrdtool-1.8.0.tar.gz 2955398 BLAKE2B d821d662af432c53760bc0e9636b84d9209933a810fa71091fc4c2b44518c89c7ad509bde7955d952279ee41464c3bfa4f631662dde61b6fff46699bb382653f SHA512 8ae6f94d119e8d0e1ba7f2d0738f1ba008a4880d1022f1c0c5436f662d961fceec5c42e01c241493ece3d6f55c60fd7d1d264f93e678f3cf1251201dcde027c1 +DIST rrdtool-1.9.0.tar.gz 2972593 BLAKE2B a5633b1bcacf53823f95f7899872e67d9941faec235c56546de8b66faf15a958a7c0d6a86d569c078e11a478dc272b1fbe784c3d3d9d45e8c3de696f0d6e378a SHA512 ebeb1fd9e1eed8e01d4d08a4f07aa22c272cc95ac87852f81a892690e6f446b5398bf64689ea99622779cba490722d97b325bda2d2a6d4dfc0719929b2a4c041 EBUILD rrdtool-bindings-1.8.0.ebuild 1416 BLAKE2B 88f432af8fa0a320872d2d94b02def6ef2b59d0f1aa234eb40151c2a1f37f160c49ef9f9f636813bd9b5fa848631cb38fcf8e1e0b08155c4e6f74be18793fd9f SHA512 87041bbd943efcf8bc502a419d32f3f3010bca8ba4296ecdedc882a354835e101647abf858250b864a6c3b4b2d34617fa202a2942b7f237e624120e4c56722f8 +EBUILD rrdtool-bindings-1.9.0.ebuild 1423 BLAKE2B 637a05e2ddba209a8e5689410f18f135a6bbee907bd9598b54b37de8441ebcee5602f7d5f029108b06d9e095d5b4eb63a75269b0dd66258afe7a821bce291351 SHA512 be8f340f551576a12ace34a1d02db98b5bd2b807d7286ad738d0bf42aea03c5831e130fe1df35cd2027740bce8431b83681203bff73800650df38ab7455d2cdf MISC metadata.xml 558 BLAKE2B 7b4fea02de2bfa8a15f39d975f460ef26e94a2ce84bb727aa772e6e2ca2086c55f7ac1b937057b86f8bbdcff1052f04a27f756d2a296837bc1bc4d9b5930aa15 SHA512 b0d41ec3fa95eb9e15c5a9dadccb269fde07eca2c870e4c9df9a5c098da4719b57e70472d8f8c19533774a310d1fc19230ec2ec485f0703e88eda94c38fd264c diff --git a/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.9.0.ebuild b/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.9.0.ebuild new file mode 100644 index 000000000000..47736a0ab2d9 --- /dev/null +++ b/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.9.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_P="${P/-bindings}" +MY_P="${MY_P/_/-}" + +USE_RUBY="ruby31 ruby32 ruby33" +RUBY_FAKEGEM_TASK_DOC="" + +inherit ruby-ng + +DESCRIPTION="Ruby bindings for rrdtool" +HOMEPAGE="https://oss.oetiker.ch/rrdtool/" +SRC_URI="https://github.com/oetiker/${PN/-bindings}-1.x/releases/download/v${PV}/${MY_P}.tar.gz" +RUBY_S="${MY_P}/bindings/ruby" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="graph test" +RESTRICT="!test? ( test )" +REQUIRED_USE="test? ( graph )" + +# Block on older versions of rrdtool that install the bindings themselves. +# requires rrd_xport which requires rrd_graph +RDEPEND=" + ~net-analyzer/rrdtool-${PV}[graph=] +" +DEPEND=" + ${RDEPEND} + test? ( ~net-analyzer/rrdtool-${PV}[graph] ) +" + +all_ruby_prepare() { + eapply -p3 "${FILESDIR}"/${PN}-1.4.8-graph-ruby.patch +} + +each_ruby_configure() { + rm ../../src/rrd_config.h || die + touch ../../src/rrd_config.h || die + + ${RUBY} extconf.rb \ + --with-cflags="${CFLAGS} $(usex graph -DHAVE_RRD_GRAPH -UHAVE_RRD_GRAPH)" || die +} + +each_ruby_compile() { + emake V=1 ABS_TOP_SRCDIR="${PWD}/../.." +} + +each_ruby_test() { + if use graph; then + ${RUBY} -I. test.rb || die + fi +} + +all_ruby_install() { + dodoc CHANGES README +} + +each_ruby_install() { + DESTDIR=${D} emake install +} diff --git a/dev-ruby/useragent/Manifest b/dev-ruby/useragent/Manifest new file mode 100644 index 000000000000..fff8e277ff1d --- /dev/null +++ b/dev-ruby/useragent/Manifest @@ -0,0 +1,3 @@ +DIST useragent-0.16.10.tar.gz 24652 BLAKE2B 8162ae1aaac16a90729605d028c5b96062150ed55d6a2f444b0594eae8b49034f2847b93fca81b95cc4607d34a802fc7fc32d4bdabea7f5aa10214421d6fb813 SHA512 4cb2dd1d824d85bdb3a6fb0dc0455c283b9687a6c50b3e63d96c32518b4cd5336ec61cf942b65a3523c1d02b40135a1d5aaa54b2f5966a2936ffa3ed898ede3a +EBUILD useragent-0.16.10-r1.ebuild 508 BLAKE2B 00a93cff99eaf69614892b7d6bd69d20aabe6dc66b17b7bcb35926c397ddf0933a1907429638991ef415c64ba84f095a44ac1b77b9f001b76c3d028762dcf918 SHA512 144440fcf6f96ea5ca1a910b588f61a5b18f4f0b0db0f8f30f1d43678fe3146cec6c6f2b0cb25318662e4347a495b7a5cb914037e11114c45cd16cef15ab7cd4 +MISC metadata.xml 348 BLAKE2B 4a654f21c5c858095d964c224c9d2a80c29e3163c02c510ce066597ea05ae7c5ca5472c121629bd134970d32d11513663482758e7be072f4b2db90420210b262 SHA512 655bd0a8247d23d1657055fd3e4c81a7c2933857e57c8c67ffe8ddd88d0aba4fee7993c1a22c76b50d7c95b4b0461bb8d66383874775d4a8f365f7e6fa4dda58 diff --git a/dev-ruby/useragent/metadata.xml b/dev-ruby/useragent/metadata.xml new file mode 100644 index 000000000000..9fa43e69f7ae --- /dev/null +++ b/dev-ruby/useragent/metadata.xml @@ -0,0 +1,11 @@ +<?xml version = '1.0' encoding = 'UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">gshutler/useragent</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ruby/useragent/useragent-0.16.10-r1.ebuild b/dev-ruby/useragent/useragent-0.16.10-r1.ebuild new file mode 100644 index 000000000000..4e87773ecb74 --- /dev/null +++ b/dev-ruby/useragent/useragent-0.16.10-r1.ebuild @@ -0,0 +1,20 @@ +# 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" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="HTTP User Agent parser" +HOMEPAGE="https://github.com/gshutler/useragent" +SRC_URI="https://github.com/gshutler/useragent/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" + +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~sparc" |