diff options
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/Manifest.gz | bin | 111088 -> 111084 bytes | |||
-rw-r--r-- | dev-ruby/chef-utils/Manifest | 6 | ||||
-rw-r--r-- | dev-ruby/chef-utils/chef-utils-18.3.0.ebuild | 29 | ||||
-rw-r--r-- | dev-ruby/chef-utils/chef-utils-18.6.2.ebuild (renamed from dev-ruby/chef-utils/chef-utils-18.4.2.ebuild) | 0 | ||||
-rw-r--r-- | dev-ruby/css_parser/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/css_parser/css_parser-1.21.0.ebuild | 43 | ||||
-rw-r--r-- | dev-ruby/io-console/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/io-console/io-console-0.8.0.ebuild | 43 | ||||
-rw-r--r-- | dev-ruby/logger/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/logger/logger-1.6.3.ebuild | 27 | ||||
-rw-r--r-- | dev-ruby/mocha/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/mocha/mocha-2.7.1.ebuild | 35 |
12 files changed, 158 insertions, 33 deletions
diff --git a/dev-ruby/Manifest.gz b/dev-ruby/Manifest.gz Binary files differindex 0db3c0b6c92c..a3fa1e47c12f 100644 --- a/dev-ruby/Manifest.gz +++ b/dev-ruby/Manifest.gz diff --git a/dev-ruby/chef-utils/Manifest b/dev-ruby/chef-utils/Manifest index 9548b2c34498..c0c8b95524a8 100644 --- a/dev-ruby/chef-utils/Manifest +++ b/dev-ruby/chef-utils/Manifest @@ -1,9 +1,7 @@ -DIST chef-utils-18.3.0.gem 34816 BLAKE2B cafdacdf4c3923df8ba41d3d960c135d357c9712a8009cc06c5f8e43a039b83495036e46e6f2d3785f589f206a0d373ec87b8c728c99889c236b16509bc51bc0 SHA512 0a806d2b8a42f2d574c81788990e6e0b70eaf4ac25bc08836915deae8ecdc2f82415ea66d6a571b01097de1e6435d359eaabe3ec16b8f3df24d826c78c96a5a8 DIST chef-utils-18.4.12.gem 34816 BLAKE2B 601f2ddf2dc05544d1a035fed0050a691f9e70b971bf83b3201238f788039c93d9d7163723d9cda530fa7832e8bb33f889f7e520ccb12939e8603a37f576a3de SHA512 588f95aab8db21fbefae43baa4846339fb4ac22e8ecae1a8988fd4da6fb045fcad042adf281160414cb7b2a5deca7507d99fbfab4c21a4946cce9e807f3e3874 -DIST chef-utils-18.4.2.gem 34816 BLAKE2B 31cf065f6c9879367af26e80a1201dba91863b94966a33278ed50068e796b25416327b979616a9533792c346fcc33dd61015cef42a89a11bcdfefd5e2b1f3c72 SHA512 96f083471166f5aba6eef27c8dd32c7d99d6fec558a529f469fd03677f97fccf1ca0d4a1512dedcdbb56d781858089c28dd848d8c7c675f30dc486dd6b38f574 DIST chef-utils-18.5.0.gem 35328 BLAKE2B cd5ffa71bedf4a6799cc941cefe8a6d1385914b9a197a78ef19a20b825ac90e4b0262893e12721e39b5198bc987a1c6ade06cb3ae955c3ccace8674d4a9cce27 SHA512 26e811b28ada3042c6776badfe840dcedca8847df410492b7f3334e7028d3d5b0ddb4c837fb6928772e7dd91fb658cf7a0ef4a191f49c27a729bf577d2fcd776 -EBUILD chef-utils-18.3.0.ebuild 785 BLAKE2B 3c6593a21376ec027b4c46d40de89c6f9be29eed2f02ca0886622e6062137cf4c703488cae6413e971b8a70fa6bd1455d1ade792745fa092e5cf722512a16542 SHA512 4a2407e20f38bd1f160998e8374eb791204430558f03286cf42e002ae6faf8096f08d821c3de1358067e4ac0369f541e1e5a6e32cce393a29b3811ab08d93e6f +DIST chef-utils-18.6.2.gem 34816 BLAKE2B b6be80cb29a57a30f0594c41f0301b574499017e63e07b1b53da9857db2a0fe071c18c17dd364cd59009db590d5c45818506c202bc5529c99d7ddec9e7857e98 SHA512 427b2ba6eb26003d440e2f4e900501d7ff998928e556b4921320b14702ead47443b09376e13c11b50004ced6ede4d6de840cf83605b2d510bbc87a8e637b78cc EBUILD chef-utils-18.4.12.ebuild 650 BLAKE2B 35f1243dc83daa1815ece675042b28e58f4b6fd30aa8c541ca22ef95da2385d5e468238699a62003ec98b3192afdc16fce790ba7e68257b4cb94953f2e5a6a04 SHA512 0083df5ce49b940cddb459cf1ed907529fc373bf68139906981ff019a07ebf1b681fbf796a1208228f2fb33e88837a9a42eb4e78b331f7f5ff69a13c3b898cb3 -EBUILD chef-utils-18.4.2.ebuild 650 BLAKE2B 35f1243dc83daa1815ece675042b28e58f4b6fd30aa8c541ca22ef95da2385d5e468238699a62003ec98b3192afdc16fce790ba7e68257b4cb94953f2e5a6a04 SHA512 0083df5ce49b940cddb459cf1ed907529fc373bf68139906981ff019a07ebf1b681fbf796a1208228f2fb33e88837a9a42eb4e78b331f7f5ff69a13c3b898cb3 EBUILD chef-utils-18.5.0.ebuild 650 BLAKE2B 35f1243dc83daa1815ece675042b28e58f4b6fd30aa8c541ca22ef95da2385d5e468238699a62003ec98b3192afdc16fce790ba7e68257b4cb94953f2e5a6a04 SHA512 0083df5ce49b940cddb459cf1ed907529fc373bf68139906981ff019a07ebf1b681fbf796a1208228f2fb33e88837a9a42eb4e78b331f7f5ff69a13c3b898cb3 +EBUILD chef-utils-18.6.2.ebuild 650 BLAKE2B 35f1243dc83daa1815ece675042b28e58f4b6fd30aa8c541ca22ef95da2385d5e468238699a62003ec98b3192afdc16fce790ba7e68257b4cb94953f2e5a6a04 SHA512 0083df5ce49b940cddb459cf1ed907529fc373bf68139906981ff019a07ebf1b681fbf796a1208228f2fb33e88837a9a42eb4e78b331f7f5ff69a13c3b898cb3 MISC metadata.xml 390 BLAKE2B f952567ee3fbfe08ea3442d0947a74555a6e4bb6ffab867f0ab3949b67b475d45ec7ec6264d82e28a3baf395cadd8efa4dc74999557c8f87a8da2eafb57029ba SHA512 d91fef8a4696bc87e3eb6a285ae2133bc6fe4dd7e780c06b2e23cbc10e59b630f0e176e687996302bb9cc5ed8d9ba2ce36bd7ced9e604452849d6b842fe71c29 diff --git a/dev-ruby/chef-utils/chef-utils-18.3.0.ebuild b/dev-ruby/chef-utils/chef-utils-18.3.0.ebuild deleted file mode 100644 index bfd489e9ecc2..000000000000 --- a/dev-ruby/chef-utils/chef-utils-18.3.0.ebuild +++ /dev/null @@ -1,29 +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_EXTRA_DOC="CHANGELOG.md README.md" - -#RUBY_FAKEGEM_GEMSPEC="mixlib-shellout.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="Basic utility functions for Core Chef Infra development" -HOMEPAGE="https://github.com/chef/chef/tree/main/chef-utils" -#SRC_URI="https://github.com/chef/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="$(ver_cut 1)" -KEYWORDS="~amd64 ~x86" -IUSE="" - -ruby_add_rdepend "dev-ruby/concurrent-ruby" - -all_ruby_prepare() { - # Avoid specs depending on unpackaged fauxhai - rm -f spec/unit/dsl/{cloud,os,platform,platform_family,virtualization}_spec.rb || die -} diff --git a/dev-ruby/chef-utils/chef-utils-18.4.2.ebuild b/dev-ruby/chef-utils/chef-utils-18.6.2.ebuild index 6d4c643d4a13..6d4c643d4a13 100644 --- a/dev-ruby/chef-utils/chef-utils-18.4.2.ebuild +++ b/dev-ruby/chef-utils/chef-utils-18.6.2.ebuild diff --git a/dev-ruby/css_parser/Manifest b/dev-ruby/css_parser/Manifest index 19fc000163a0..328230e8cefb 100644 --- a/dev-ruby/css_parser/Manifest +++ b/dev-ruby/css_parser/Manifest @@ -1,7 +1,9 @@ DIST css_parser-1.19.0.tar.gz 41264 BLAKE2B e1ebc2c1f56354b50cbc1f89552e7c5fda3b10a719379b355743e4310e85f37159b59a79cb847a9633da6b9eea4b1dc7224eb8e78987211b584e6912af242441 SHA512 a8405a30ef6b399b381478d39711949031316532e43583e69b60f25dca39da822bcdf1e3de3f0fceebbf07a79046e5771a4fe4b2b6db69582616559f0a0294b1 DIST css_parser-1.19.1.tar.gz 41442 BLAKE2B b3392665d41c1761cde37fc9bf1c597a5b48e3c47f20a360d304a03ff714dc34ef017efd2c9659a47749baa35708e9b89b395b1b842d329e950ae88b72d78be5 SHA512 c1e93a491be37a8fff002fbf2b6231cfa3b77ce25f722e36b4ca24f16f322a981f9a1f19b1cce0df10d8c4ba28a29e2604146301dc9f3fdb2c5d8bc7a8747388 DIST css_parser-1.20.0.tar.gz 41407 BLAKE2B 925da8198780b386deb692614ffb415964be617ed7f33d2d68f6db1ffc69f709670116ce033b6de9e3a069a596eb1512745a9a56b435ade577c25e00bd5a42e2 SHA512 8c3bebc29f73092777fa7389d7caa58812890d6f57d1dbd0b917503d28c8f481976ce2a60d43901fa1f7a7860fa416dad2ea4845141523eb1cec3bea981e67ee +DIST css_parser-1.21.0.tar.gz 41500 BLAKE2B 7dcda57eaaf73e86e882698a0cd36e2416b9c5a2cfb581025cfd521cb7f45070ceb9332472d87344ca59819d375da31f47cc29e2309e1f69c60fe10715ac3f38 SHA512 f93b6bcac2847c6a35685c6d56cfce85059201d2e6a19a3fca3ad7549c90c65def29ea8a691144d49b2721ee312c004724fec2f25d8d0cc19b27a0295566047b EBUILD css_parser-1.19.0.ebuild 1148 BLAKE2B 987bf018b63824387e662e65b043213fc6333ed3e4490f582cc892ebd65962409d5290591b8955b94cbeb444524337dd982636710775df3e503c9de7546e640d SHA512 d2abe00c50bdee97e2cf02ac4b6fd312681a343c6c3a726f84818a1ea3dc30279dba6c59927deeaf98b5afa923e16c9973b8ed7dce136a39b4db33ab9df9c505 EBUILD css_parser-1.19.1.ebuild 1148 BLAKE2B 987bf018b63824387e662e65b043213fc6333ed3e4490f582cc892ebd65962409d5290591b8955b94cbeb444524337dd982636710775df3e503c9de7546e640d SHA512 d2abe00c50bdee97e2cf02ac4b6fd312681a343c6c3a726f84818a1ea3dc30279dba6c59927deeaf98b5afa923e16c9973b8ed7dce136a39b4db33ab9df9c505 EBUILD css_parser-1.20.0.ebuild 1157 BLAKE2B e4979b94fbe7e8f4a0e272764cda035ff167d5befbe19179279c6edf3ee0cd3c2869cf8151b08df1d61ddb0f83202d54cf099a9f11260a051e9374341867a00e SHA512 df28a0d714c8a5309e6f7f94a46f693703483fbd39afec22969a1eda7ede397176d8047362fce69503d9848f0ebb2cd23287c1724dafd4dc97e20a330736d851 +EBUILD css_parser-1.21.0.ebuild 1157 BLAKE2B e4979b94fbe7e8f4a0e272764cda035ff167d5befbe19179279c6edf3ee0cd3c2869cf8151b08df1d61ddb0f83202d54cf099a9f11260a051e9374341867a00e SHA512 df28a0d714c8a5309e6f7f94a46f693703483fbd39afec22969a1eda7ede397176d8047362fce69503d9848f0ebb2cd23287c1724dafd4dc97e20a330736d851 MISC metadata.xml 347 BLAKE2B e585a8b52f5f7e687ecaf086e023fb07c7055d35595395889b3bf8f6c2c6d2c1ac6938a8b4e8e113f5ba828c6875c9a9ab30fcf6bcfe1a10be62205755fec7f6 SHA512 4850009083f17624cd34fd16f20752fef5d8857c62f00a6303cd3b59eb4e883f94985e1ed86cc400f7f66048bd1e795afcb20ba9968db8adb16e9cffdb4ffe0e diff --git a/dev-ruby/css_parser/css_parser-1.21.0.ebuild b/dev-ruby/css_parser/css_parser-1.21.0.ebuild new file mode 100644 index 000000000000..d16e199abbda --- /dev/null +++ b/dev-ruby/css_parser/css_parser-1.21.0.ebuild @@ -0,0 +1,43 @@ +# 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_DOC_DIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md " +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +GITHUB_USER="premailer" +GITHUB_PROJECT="${PN}" +inherit ruby-fakegem + +DESCRIPTION="A set of classes for parsing CSS in Ruby" +HOMEPAGE="https://github.com/premailer/css_parser/" + +SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/v${PV}.tar.gz -> ${GITHUB_PROJECT}-${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc test" + +ruby_add_rdepend "dev-ruby/addressable + virtual/ruby-ssl" + +ruby_add_bdepend "test? ( dev-ruby/maxitest dev-ruby/webrick )" + +all_ruby_prepare() { + # get rid of bundler usage + rm Gemfile || die + sed -i -e '/bundler/d' -e '/bump/d' Rakefile || die + sed -i -e '/bundler/d' test/test_helper.rb || die + # Avoid tests using the network. + sed -i -e '/test_loading_a_remote_file_over_ssl/,/end/ s:^:#:' test/test_css_parser_loading.rb || die + +} + +each_ruby_test() { + MT_NO_PLUGINS=true ${RUBY} -Ilib test/*.rb || die +} diff --git a/dev-ruby/io-console/Manifest b/dev-ruby/io-console/Manifest index 295af3a96017..5f74bf537710 100644 --- a/dev-ruby/io-console/Manifest +++ b/dev-ruby/io-console/Manifest @@ -1,3 +1,5 @@ DIST io-console-0.7.2.tar.gz 37259 BLAKE2B 22f5f3cfedf477affa1452ce7eab862d49da1943255545f15dd519f7029e61b8747341606ebc1da7bbb020ba5f0ec7e48d08ab000da3b7192cf42ceb601b0b7c SHA512 1dd99c8e9681436a68f39f89f6104a45db2d17092f64985e36a7cd37418831b81f2749922e16ee43a633a90466a8916327a7f21249ceae2f889e70ae596c5b3b +DIST io-console-0.8.0.tar.gz 40484 BLAKE2B 9f03bbb0462ca91c33a8edc824841c03462d6685b0fc80548c09df2c8d563356674663e7e36411baa4ac4ac056562b791dbf8db19704113dea4399549dfd74cd SHA512 c9b5b58b3071497bb3732fceee0c825591797b9a9fd1c60b6a5113162f6fd15d741002988c241c38afb1ca57f38087b78ea8f8a351e187a6f392956802c0d8cd EBUILD io-console-0.7.2.ebuild 1479 BLAKE2B d43da61876abae9b613b7baf880c4b4817582703dee40e7158a8e6696b51a3b57c15c6a784f8654b286f99ccb13e7413962d00602d2858d2766e54fc5a628026 SHA512 4390f29452b79315562e63c0f79514bc326fb36f6d006035ad873988a3922c0de3402840aefe259604804f56c346bb86f5fdf6fdc3995a547961638ddb59fa67 +EBUILD io-console-0.8.0.ebuild 1486 BLAKE2B accb0dc8b19550177872c52af3bd3b9b9322e7c1a4e70ee6131e5d1d7cb9740d31ffcd6be0716544472d7a2a3f063fe71664cc0c3902e2a7d238b5945a422486 SHA512 16a0675670ab854ec15b9d6c848100542db2d9bfb27075c8bad271a2e297aaa0e8606e58ed20cf698f4dbc51da19a056dfdac70d16d34d7e15f261743228364c MISC metadata.xml 342 BLAKE2B 8fd9851a96fd893fd5a6163369d04bf07accc93912f989a39b8fdb0c1aab73c1df0acfb1a565b75ba617629c07bf61589f7e77b64feb16dc3e1138bcda663788 SHA512 58bc013a81541638df5e9891cb587ab49ae06dbe14f221b5f1871f518e7d90a81869a625b7e49e4e62b7d55dfee5d3c607e93de3abb4588d276d26e22ef4622a diff --git a/dev-ruby/io-console/io-console-0.8.0.ebuild b/dev-ruby/io-console/io-console-0.8.0.ebuild new file mode 100644 index 000000000000..322683634273 --- /dev/null +++ b/dev-ruby/io-console/io-console-0.8.0.ebuild @@ -0,0 +1,43 @@ +# 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_EXTENSIONS=(ext/io/console/extconf.rb) +RUBY_FAKEGEM_EXTENSION_LIBDIR="lib/io" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="io-console.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="add console capabilities to IO instances" +HOMEPAGE="https://github.com/ruby/io-console" +SRC_URI="https://github.com/ruby/io-console/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +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="test" + +ruby_add_bdepend "test? ( dev-ruby/test-unit dev-ruby/test-unit-ruby-core )" + +all_ruby_prepare() { + sed -e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \ + -e 's/__dir__/"."/' \ + -e 's/git ls-files -z/find * -print0/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + sed -e '/task :test/ s:^:#:' -i Rakefile || die + + # Avoid test that require a proper TTY + sed -e '/test_\(bad_keyword\|failed_path\)/aomit "requires TTY"' \ + -i test/io/console/test_io_console.rb || die + + # Remove ruby and ffi files in accordance with the gemspec. These + # are only used when using a different ruby engine like jruby. + rm -fr lib/io/console.rb lib/io/console/ffi || die +} + +each_ruby_test() { + ${RUBY} -Ilib:.:test:test/lib -rhelper -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/logger/Manifest b/dev-ruby/logger/Manifest index 17a6f0a86b0a..149f837aaddd 100644 --- a/dev-ruby/logger/Manifest +++ b/dev-ruby/logger/Manifest @@ -1,5 +1,7 @@ DIST logger-1.6.1.tar.gz 19719 BLAKE2B 68e711550c0323614ee32fc0589c17d987be1cd65c7ed5721357465e57a7a07521e1c77ad20eb4f8e7dc37e9132888883bb1022bd7db73280cb8a0b4be7bbac9 SHA512 f77f594a507495643540e30c9e76c4edd191387f738a2e2cffede983f1be9419f0991bb20b0c5319fc6c26bbfdc20d350ff2c05ae1fa8ca313de8595b779a1be DIST logger-1.6.2.tar.gz 20358 BLAKE2B 6e57eda1b8446b3cfd15db5e2d5fc5ceb5ead820ec51827f822c4f6eb11c36328430bdfb2eaa9b1eea7d44094fc3fec1a9be9890bb1de08e2153ad08e611b42d SHA512 e80d3a5825ad5f860f9c91f35a6480eae908ffcb5c35e15336199f12c275340f99c1a2366a5aa40932a0e4d6eb6c34e1a412d548200224a76c4fb1ce8fe75985 +DIST logger-1.6.3.tar.gz 20548 BLAKE2B fafdf4242ce7d4c5899a5c50add133541174e6a48a901b901217ee995f6d6f739acb652ba993f9be84d0713be8aee0e907469289c058c02394e3505405037ff1 SHA512 a89919cd9e6e85d1918a2bfde68ce07ce3006cd866a2fd85c38b6e3e728b5fa64b9837c5f7083c8c81a8665702eb79ca84d9ba597e248ecc61c75959e0b13e05 EBUILD logger-1.6.1.ebuild 822 BLAKE2B a38943e9c77208ecce8d80b34605e6cc006e0b76e72df705994fe45f4bc9f862b0843bb4e530e2cb3255a34e74ead19fc35e19ee844848e6deab9dda83c69ec9 SHA512 8ef3c47ec1ba5a7e16a44df87a28c75c3f078c0ca56059a21b326c53ce762cda3f6f2c5c59221dbab3bc79a76bd311ea57f6c8831a077bd26c9c3a2232f1f2bb EBUILD logger-1.6.2.ebuild 829 BLAKE2B 992af05defa433a95849ad8c29f0920725b4ada3d42ae366f6cd0cd0e5e0873af14c9436d0c592093f02dd1f9f635a1267f516d77dae99b4198e59dccd9e0fff SHA512 4da547d2401bdd151eaca05a12ef9f55247048aefbfb52c22abf3926710a9b6d1a77c9253ddfe024b49e5a865c0af23a15d0d123d31b1d8e15c363a0708d1fe6 +EBUILD logger-1.6.3.ebuild 829 BLAKE2B 992af05defa433a95849ad8c29f0920725b4ada3d42ae366f6cd0cd0e5e0873af14c9436d0c592093f02dd1f9f635a1267f516d77dae99b4198e59dccd9e0fff SHA512 4da547d2401bdd151eaca05a12ef9f55247048aefbfb52c22abf3926710a9b6d1a77c9253ddfe024b49e5a865c0af23a15d0d123d31b1d8e15c363a0708d1fe6 MISC metadata.xml 338 BLAKE2B 453ffc4dd8b70f977dd9ea0da3f4008583545de09e2c5a4b3608c13c56f44b9b64fe4e627bcb7d38374971a9104defe761d7244d13a1b5cba33b258a0c27a690 SHA512 ce1ea0b4c4e15fd447126971b94f8e7de049f3d6d72cbf730c40625e093fbf844c8526d4c8f1fcf14ecb9782706a9bda08b05cc7b827e0f52f5b6ef351cfa5c2 diff --git a/dev-ruby/logger/logger-1.6.3.ebuild b/dev-ruby/logger/logger-1.6.3.ebuild new file mode 100644 index 000000000000..da78dbce82f1 --- /dev/null +++ b/dev-ruby/logger/logger-1.6.3.ebuild @@ -0,0 +1,27 @@ +# 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_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="logger.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Provides a simple logging utility for outputting messages" +HOMEPAGE="https://github.com/ruby/logger" +SRC_URI="https://github.com/ruby/logger/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +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="test" + +ruby_add_bdepend "test? ( dev-ruby/test-unit dev-ruby/test-unit-ruby-core )" + +all_ruby_prepare() { + sed -e 's:_relative ": "./:' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/mocha/Manifest b/dev-ruby/mocha/Manifest index d88342e9a191..903aba84f417 100644 --- a/dev-ruby/mocha/Manifest +++ b/dev-ruby/mocha/Manifest @@ -7,6 +7,7 @@ DIST mocha-2.4.5.tar.gz 248872 BLAKE2B 739dfe4945d153117e5c644b6f0ed568c08e88e27 DIST mocha-2.5.0.tar.gz 250685 BLAKE2B 4ad2b4b0ba7c1d77b6d15de456e4998fe0c02b9004a02a070c1b7e852f25b028ca1837bba59c086d259aeb0c687ef45dbf435133e47fea612778ab4317b60ab6 SHA512 4ca3be919cf143f661e135f9b477d305688a69f3ea8587028eff20ab93a05b8259632edcc7704773aff88e85237ae95c42f08d48700bcd102696a28ceb11973a DIST mocha-2.6.1.tar.gz 251543 BLAKE2B db9ed8d31b72c229dd56c0417fa32312fb9142b443743be896a7f02e38b46e1f7a36a5be377122c007cc9eb0c735d019fefa1958aa46c22c5d11af61a70cfc00 SHA512 25fb178d6f63b1357017b7b007c35e0cb94fd854ceaeaf74686e5a104006aa9033fc554d69e3b59e0a03cecde8d6aa06b24ac2055e2cd4467ea340ec1710c955 DIST mocha-2.7.0.tar.gz 252168 BLAKE2B 355f8998815eb2c9206f25e5201c577e725a57f58fb3627292517b2cc579806f2865da8c05647a57f522dbb475e330cbdf7fc94b2850122ff2232ddbda0654bb SHA512 9ba9d7f4f14f17435b32527233a3664d07e505827c1a8f932314232e807992364f5f74fc1b5e8a14dd1b06daac962c147cb801d52a333e4f8ca51dff9267b144 +DIST mocha-2.7.1.tar.gz 253415 BLAKE2B 857c188e4eda776ab00f28b79c8adcf1a92621c37ea930623a12a34cb3ee76781eb9293c9dd1091290ae3c1457da2a26255e3f3421b3b392483e5fc945dd1ae7 SHA512 951fc766e49f6bd76846e18929d9463da7575aeb4169e623dd954760eff6f8f883d696db4379ce93215a966abfd15ed734ad812c7cdc6c461690fe948141c215 EBUILD mocha-0.14.0-r1.ebuild 933 BLAKE2B 28076a15be9a921a81ee23d19096967bb86f21865886e8052e6edd8dbe94e038e9199c37137548d3749fa11205ab6ee6f87e17a10c1cd1f5a00d2e20ef2c9f4b SHA512 9648c9e78b6f9b52d90aa7cb2bfdcf823bd24ecc9e1a63e176eeb18e19f59b2be163cd19599352274c6b09f6be49f29284c5d493dc1a1e0f7ff922219b8f5a43 EBUILD mocha-1.16.1.ebuild 1045 BLAKE2B e7879092299387e62b30652f6a344552fc8c0bb924428fd6675bc5e975c3907a5b85e9d7e52895de243bf7f8f6eb143ddbf319204d2dcfe4840c4394644b8124 SHA512 4a3a07dd6f363b7c5f4b0ea48086faa4c2fe6fdbc1d1ad54b7ce664ed8d3326ac91d0cae0df45e063628a986ac17333cbb214fb3c7cbac3874b3bacd96b19b46 EBUILD mocha-2.0.4.ebuild 1012 BLAKE2B 1945b035725c03e194a8ff6f83ecef076af720e70cd7d6dafd0627571fb6c42b3ee194932d49086b5dcdff942b1585bb7e1184ab04c5d18cf4af275b44a2eb6b SHA512 52ee5599adca53878777c0c8f447f0bf36e2fbd4dea52444ed1b182e2a105d6a657a164d161e760c06bba6bac97515677f6d8df8e264fc6c58beb918301bebef @@ -15,4 +16,5 @@ EBUILD mocha-2.4.5.ebuild 1012 BLAKE2B 91e2ddcc40130a7ce34289640a1c646a1681f6ff1 EBUILD mocha-2.5.0.ebuild 1019 BLAKE2B a8634973c7e8237b8e534539439afff8030c38a3d62c86fb8c4a4f27ddd8b5c3172cea34c5ce00da258a2fc021cf93780e09520cc138a481cd070f5fc02f63d1 SHA512 c050f4197a1138997f4b30c1dbde1d14825f3390892923e62ec0fcbfb129e598d0c2db8dce40cb279acb28849be6e1350258cc87cbd1a1dac2119a40d0d6d7da EBUILD mocha-2.6.1.ebuild 1019 BLAKE2B a8634973c7e8237b8e534539439afff8030c38a3d62c86fb8c4a4f27ddd8b5c3172cea34c5ce00da258a2fc021cf93780e09520cc138a481cd070f5fc02f63d1 SHA512 c050f4197a1138997f4b30c1dbde1d14825f3390892923e62ec0fcbfb129e598d0c2db8dce40cb279acb28849be6e1350258cc87cbd1a1dac2119a40d0d6d7da EBUILD mocha-2.7.0.ebuild 1019 BLAKE2B a8634973c7e8237b8e534539439afff8030c38a3d62c86fb8c4a4f27ddd8b5c3172cea34c5ce00da258a2fc021cf93780e09520cc138a481cd070f5fc02f63d1 SHA512 c050f4197a1138997f4b30c1dbde1d14825f3390892923e62ec0fcbfb129e598d0c2db8dce40cb279acb28849be6e1350258cc87cbd1a1dac2119a40d0d6d7da +EBUILD mocha-2.7.1.ebuild 1019 BLAKE2B a8634973c7e8237b8e534539439afff8030c38a3d62c86fb8c4a4f27ddd8b5c3172cea34c5ce00da258a2fc021cf93780e09520cc138a481cd070f5fc02f63d1 SHA512 c050f4197a1138997f4b30c1dbde1d14825f3390892923e62ec0fcbfb129e598d0c2db8dce40cb279acb28849be6e1350258cc87cbd1a1dac2119a40d0d6d7da MISC metadata.xml 332 BLAKE2B caf5137da39b091d3da2776b6219400546a5c2ee01d39759471a24a5beaac1f248be271c376f9061c0b1de49d531832b6e6cdf9be53f943d112789a8240feea2 SHA512 af0bd36bc12851a56c49ef645c95b145ef28ec2070b1bcf1fc3629526b91c20aeaa39357e997389e02482ddb19c9f3cb52acb7bb9a2f90142087ef4e874f1bd8 diff --git a/dev-ruby/mocha/mocha-2.7.1.ebuild b/dev-ruby/mocha/mocha-2.7.1.ebuild new file mode 100644 index 000000000000..06d86dc2ac9b --- /dev/null +++ b/dev-ruby/mocha/mocha-2.7.1.ebuild @@ -0,0 +1,35 @@ +# 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:units test:acceptance" +RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md" +RUBY_FAKEGEM_GEMSPEC="mocha.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Mocking and stubbing using a syntax like that of JMock and SchMock" +HOMEPAGE="https://mocha.jamesmead.org/" +SRC_URI="https://github.com/freerange/mocha/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +ruby_add_rdepend ">=dev-ruby/ruby2_keywords-0.0.5" + +ruby_add_bdepend " + test? ( >=dev-ruby/test-unit-2.5.1-r1 dev-ruby/introspection )" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die + + sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + export MOCHA_NO_DOCS=true + each_fakegem_test +} |