diff options
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/Manifest.gz | bin | 110788 -> 110778 bytes | |||
-rw-r--r-- | dev-ruby/irb/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/irb/irb-1.13.2.ebuild | 2 | ||||
-rw-r--r-- | dev-ruby/pg/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/pg/pg-1.5.8.ebuild | 71 | ||||
-rw-r--r-- | dev-ruby/reline/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/reline/reline-0.5.9.ebuild | 2 | ||||
-rw-r--r-- | dev-ruby/rjb/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/rjb/rjb-1.7.3.ebuild | 73 | ||||
-rw-r--r-- | dev-ruby/sequel/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/sequel/sequel-5.84.0.ebuild | 33 | ||||
-rw-r--r-- | dev-ruby/sqlite3/Manifest | 4 | ||||
-rw-r--r-- | dev-ruby/sqlite3/sqlite3-2.0.4.ebuild (renamed from dev-ruby/sqlite3/sqlite3-1.6.7.ebuild) | 29 |
13 files changed, 208 insertions, 16 deletions
diff --git a/dev-ruby/Manifest.gz b/dev-ruby/Manifest.gz Binary files differindex 96d92c4ed5a9..4dad3bd7b5a7 100644 --- a/dev-ruby/Manifest.gz +++ b/dev-ruby/Manifest.gz diff --git a/dev-ruby/irb/Manifest b/dev-ruby/irb/Manifest index 488ab0534bbb..4c18a5332f0b 100644 --- a/dev-ruby/irb/Manifest +++ b/dev-ruby/irb/Manifest @@ -6,6 +6,6 @@ DIST irb-1.14.0.tar.gz 140463 BLAKE2B 26092629ff55ffbe8ce3728764abd07733f3bc86c7 EBUILD irb-1.11.1.ebuild 1499 BLAKE2B be961edbf0aa8457c2763a67bf89c6455af10f15985189e3c7e43b7fd9ebfc2ba5868eb8bc435f06bcb75db435beadc6d4293cccf41a6d38811b40efd2ec6563 SHA512 92b55874f646e374b8bb0d36e0f489d7f622f01b867e5305161c34117d9d3232789f6fd9e60e6446a8d8409930f15af2bdce1904cd0e1d4fd3100768564393de EBUILD irb-1.13.0.ebuild 1841 BLAKE2B ffb51a1e40dbd3e292fb31e5d998c6aab0028c4c7def1255f95ac3f0665bded1d3c3d4cf564ae1bbee9d5481df620a8beb421fe628d5eddb44dc40e295f0f429 SHA512 28e4918f4142014212e62a9f8e43d935f03e11c04a41d7e5f46cef5747c8014cca77ee6709bad4915c3339626db93f92fe7888420f596bb12e8c9f8118c6df3c EBUILD irb-1.13.1.ebuild 1757 BLAKE2B 164ba7527c8585c49c03ee5d18d4011337493080ab0bba0d45b8a49c0f4a1a2e29cd321e5c6df501e2a2f93179d4166dcae8fe11219265faeb8f8a9096bd7b64 SHA512 29e564fa44c27eea519d0124f99d40e26dfd9f92be946996c817a266876bb25635f2e0cd4e61e56788d0497431bacfa14ebee9d651f48881900d043e8183dbd8 -EBUILD irb-1.13.2.ebuild 1757 BLAKE2B 164ba7527c8585c49c03ee5d18d4011337493080ab0bba0d45b8a49c0f4a1a2e29cd321e5c6df501e2a2f93179d4166dcae8fe11219265faeb8f8a9096bd7b64 SHA512 29e564fa44c27eea519d0124f99d40e26dfd9f92be946996c817a266876bb25635f2e0cd4e61e56788d0497431bacfa14ebee9d651f48881900d043e8183dbd8 +EBUILD irb-1.13.2.ebuild 1755 BLAKE2B 34c4b3988521ffa69a6289de8f10f1512b136dd94dc77037dda3c908f31f07a2b13ab221616620af9b4628958ed82db699b0ddd63fef7b8ac804348fd402b113 SHA512 3053be1f3686be52b5ab436c071054c8ed6b967603cec4d0cbafddc19caa82b4fa1ceff7c6ade21789e7c8705d623a532c43657d55c1a23f4deb03383e37bfc7 EBUILD irb-1.14.0.ebuild 1757 BLAKE2B 164ba7527c8585c49c03ee5d18d4011337493080ab0bba0d45b8a49c0f4a1a2e29cd321e5c6df501e2a2f93179d4166dcae8fe11219265faeb8f8a9096bd7b64 SHA512 29e564fa44c27eea519d0124f99d40e26dfd9f92be946996c817a266876bb25635f2e0cd4e61e56788d0497431bacfa14ebee9d651f48881900d043e8183dbd8 MISC metadata.xml 335 BLAKE2B 6eaf8bbdf5e2083121d0c8833b616e8ccfd82715cb701266d9e1819634ccbe1e308bac8a1894559af941810c84f36c5cbc83f1aa02f48ab5ab3d0d3458fc6b85 SHA512 4240cfcb50e6d5551333400723b3ad0df9096a3b5517655279de6b3d31c6f30068e4897c79761fdbb68262681a79059349e1b4eb3f5d1e6b1855dfb6b6d54399 diff --git a/dev-ruby/irb/irb-1.13.2.ebuild b/dev-ruby/irb/irb-1.13.2.ebuild index 578774e8bd35..c840f8885d5c 100644 --- a/dev-ruby/irb/irb-1.13.2.ebuild +++ b/dev-ruby/irb/irb-1.13.2.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://github.com/ruby/irb/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" +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" # Ensure a new enough eselect-ruby is present to avoid clobbering the diff --git a/dev-ruby/pg/Manifest b/dev-ruby/pg/Manifest index d9435a3b3e36..b1c33ce348a9 100644 --- a/dev-ruby/pg/Manifest +++ b/dev-ruby/pg/Manifest @@ -3,9 +3,11 @@ DIST pg-1.5.4.tar.gz 298368 BLAKE2B 1028fac00371f9f769ee6c484a518149dc7c89e78ee8 DIST pg-1.5.5.tar.gz 299336 BLAKE2B 40410091a24929ee79c14cae8ec6e526a8db569f3f0d5c0637389a099caf8085189bec3fee69c52a07097e1aec62d8da0ee87cdc11118be5c7daefebd9e0019e SHA512 4cd12f2b30d9f853f9707d3329eda0999a7ed0f5ebdbbcb3110996db6d80ef6bb4331b3f6648b19f6fd3f63d928552b58190b34808ca714cbd72c54aeed43478 DIST pg-1.5.6.tar.gz 300559 BLAKE2B 5430789943f107e18f9b509ab7963d6a5dc702782c30a218f5e648397ccc9f07128bae1beccf47172860fe97ae935308841876f26dad0d9ac223adb96722a302 SHA512 5c4cda39699f17864b3dc4daed4ab2096d64245fc2262b948a94c3269b0572a9fab2a42dcba692daf6eeba3354d6a0b05eb5db0f0ca5382b0f8315c1837a0206 DIST pg-1.5.7.tar.gz 302055 BLAKE2B 2d8fbf2f60ee5c2e14a8ab0b649c5f8305fa34423923316f2e05252f31cc98b9f248586c3ad4b4c5d8d0765d1ab96b46e847a42a2d2bebaac68c318435e3d940 SHA512 6546d53e7264bb235c4f6de4b3b3a811f55ca072055dba1f2ab2c783c33f60d137c4f1f40b17711e2805c6c91bdeea90e9774ff56856bc2070ae1d98adb033fc +DIST pg-1.5.8.tar.gz 303150 BLAKE2B 4fe9abe9441366440ac1b0d481311507e9dea80c882102bcc3a5c564b8007618693944b4be21a5c0a730ca6697b7ffcf33487caa7872c75947ca87c6ad87beaa SHA512 668071787fa89cbd453ca3b65dbd28a166b23d59a25a64f9cc2143909ff870c9ef749238fc81fb38fda757330f19ec24db4a0aae2fad5e93bc38b68f816f2baa EBUILD pg-1.4.6-r1.ebuild 2031 BLAKE2B e754a11411c8908433cbfe8e504f2b53562035899755f4a95760a864b7062bbb56a767e9359a68554f52e6e7c236be7e02636b4059f5dd24621c3eba3bb1836e SHA512 f9b033a92dd15f74b2c9fd8b6cba65872d9ae4f6acb56e656fdf5fb7f62bd653e75e93773d687274dbee6bb0f67b79ecafa37628d002a66e8a22cbb236d434b7 EBUILD pg-1.5.4-r1.ebuild 2026 BLAKE2B 56aafe630bda983c65d347de63c6499c499451270886a83371ce3879ad01b80a3a9454c90a41518fb3e969ab843ec641e69af5ea6dddea81c78a19f263140fcc SHA512 706078b222eb79d703d40c093806648aa92a4b761ec84db3cb75b536c95c23b18970faf1214ef8255317448ccb22a2ea8b40384153c734dfa0af7efde956b5a0 EBUILD pg-1.5.5.ebuild 2032 BLAKE2B a5d73305f030328435e3a1116ed09d71cafa1356d536eaf54a1fcbc7b08032cd28b79a52f6da922f7c7e6fc51c36d2264dd4a056a5bb77daf278d51397fdc18f SHA512 7fc347ca799ca0fa05bb9d8031e8a765bf991fc46bd5fac197170c3cc69ea8a6a1dde3674592a6ba741ab308d8ec50a048bc1c643d48959c7605a3889d49ff44 EBUILD pg-1.5.6.ebuild 2259 BLAKE2B 056e8eab9111bfd05b8575322215f7c149450b872ecbcdf29281051b793218ab69913fbee69385b70960b0a06609b5b311b1518239649274709dd583174e02e3 SHA512 47f0c668e83a5b438c687e1f2477fc3d849040222f8b0c8aed6d04f170e702c5a797eccc342b2c2b06ce42f6955cd5b105e2ce75e81f8fe41bf2e647e2f94e18 EBUILD pg-1.5.7.ebuild 2256 BLAKE2B f41ecf9e40f4439ceaa840fb33d3af0c07f71214de4ce6837022d931a788731fd0f9bb123bac967d7250622be8b3809cc8c9407c0198f2c5dcd80c589eacbe1f SHA512 6320582fe61ef56930abc695d77af9e953611251a99b244a241c3fed8d985d3bc9cb5b3ea467bdafc423b7df283acb5dce1ed4a6e31eeba934c2a93f6f3e2c49 +EBUILD pg-1.5.8.ebuild 2363 BLAKE2B 9ecf8115dd56eefc63e5ddd3e6120297ece6cdcf7d10440fa6570dba72dde3b8ce3ea648dfd9cef7f8c2a8102d840168bebb93bb04aab2ad33c0917bfa8ace31 SHA512 89375efe941d38e77d9d604baf3cd37d3a0956ba105c03214f8a736ec3a810101ff21dc43be0dc2c706da39f2336115b633de28bbf450e20abbbbfa7ca571872 MISC metadata.xml 338 BLAKE2B b827b967fa6a0795016f741de3ad7738103580b06bb6d1f56957fbbcde06a63eeacc6b9aa2bbd726bad77c91b28659a3318e6ec43d141cd1cd05982b209c2f1d SHA512 8f1ea2d36aaa43547b48d39df2f403bbbf63b5bd57570bddf8515f84bea573793f1ecacc807d02f05d96a919c8778465f4c87822bd1807ebeca115f6dec81e99 diff --git a/dev-ruby/pg/pg-1.5.8.ebuild b/dev-ruby/pg/pg-1.5.8.ebuild new file mode 100644 index 000000000000..d9f63c712110 --- /dev/null +++ b/dev-ruby/pg/pg-1.5.8.ebuild @@ -0,0 +1,71 @@ +# 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_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="test" + +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 + + # Don't allow sudo calls that try to tinker with /etc/hosts (bug #933234) + sed -e '/sudo/ s:^:#:' -i spec/helpers.rb || die + sed -e '/refreshes DNS address while conn.reset/ s/it/xit/' \ + -i spec/pg/connection_spec.rb || die + sed -e '/doesn.t duplicate hosts in conn.reset/ s/it/xit/' \ + -i spec/pg/connection_async_spec.rb || 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/reline/Manifest b/dev-ruby/reline/Manifest index d43ff19d28c3..2f87580ea3f7 100644 --- a/dev-ruby/reline/Manifest +++ b/dev-ruby/reline/Manifest @@ -5,5 +5,5 @@ DIST reline-0.5.9.tar.gz 92647 BLAKE2B aa544ac997aea6e1c9d58678e8a7a979b93a7c403 EBUILD reline-0.4.3.ebuild 939 BLAKE2B eec5fe4c225e75d77803fb4ec9c231252bd07ec5bc11554a2e002d5748fdb61573104351ed63db76803589981e8cd6a4210a7b09e5e5be48652546451e05028c SHA512 99cc6298ca7979b87087af3f54f1b1fe8cd9eac66aa3a380d5a8640995f9c4d68d99795740ce487af62900c51d80a993a0a0eb7e8f7c286f33590a514eeca6ad EBUILD reline-0.5.10.ebuild 946 BLAKE2B 6a43ea60993a97d1967a765428b9a0275a31440007652e25c1f03777645beae04ce4764cfa6ed9361c26a5f70b532555e68e740c013149f1fd41bafcdd0b5924 SHA512 3a4d61212c723ad2594b0bf634683744054cfcf21bbfca9268b91c1f6165bbc9f9f74bdbe851333e13cb1c2b134e54557336f3f3e1508851a895ac697bce4a18 EBUILD reline-0.5.8.ebuild 946 BLAKE2B 6a43ea60993a97d1967a765428b9a0275a31440007652e25c1f03777645beae04ce4764cfa6ed9361c26a5f70b532555e68e740c013149f1fd41bafcdd0b5924 SHA512 3a4d61212c723ad2594b0bf634683744054cfcf21bbfca9268b91c1f6165bbc9f9f74bdbe851333e13cb1c2b134e54557336f3f3e1508851a895ac697bce4a18 -EBUILD reline-0.5.9.ebuild 946 BLAKE2B 6a43ea60993a97d1967a765428b9a0275a31440007652e25c1f03777645beae04ce4764cfa6ed9361c26a5f70b532555e68e740c013149f1fd41bafcdd0b5924 SHA512 3a4d61212c723ad2594b0bf634683744054cfcf21bbfca9268b91c1f6165bbc9f9f74bdbe851333e13cb1c2b134e54557336f3f3e1508851a895ac697bce4a18 +EBUILD reline-0.5.9.ebuild 944 BLAKE2B 3cae887ae7497d3c745f27bace209f325db57a8a2b3686ef7c4145e73113f31a4f7c8075cdb7d4afaa16a7c6b45aa890623708cd272549fa6ef736b1cc465c9c SHA512 e72f4491107faea88919af7b0f3e7d3b5d725bd493973b37fb9cf3f441a2021c871f7eb1faec161469a930e72eabab1bd608bfe49f20bb7967e2d776c98788a7 MISC metadata.xml 338 BLAKE2B a47d42d46142bee439c1d169aae8da07bf1ab6b3789581b6d60e0852c64c3416804d0ef7bc899670af232ddfb9d10a3c23805da58b854ee220142617c8d6e834 SHA512 e02a8889f308d81ade723c4a912d54c67a112f1aa67218065b6b8acad0c2cf2691c2bdbb2d9dcd63eab569b1c50ef2402ed42f9711dbf514a14bff6de55f6210 diff --git a/dev-ruby/reline/reline-0.5.9.ebuild b/dev-ruby/reline/reline-0.5.9.ebuild index a779c43093ce..167ea55c6f7e 100644 --- a/dev-ruby/reline/reline-0.5.9.ebuild +++ b/dev-ruby/reline/reline-0.5.9.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://github.com/ruby/reline/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" +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/io-console-0.5.0:0" diff --git a/dev-ruby/rjb/Manifest b/dev-ruby/rjb/Manifest index f432806fb32e..3d29cd507f80 100644 --- a/dev-ruby/rjb/Manifest +++ b/dev-ruby/rjb/Manifest @@ -1,3 +1,5 @@ DIST rjb-1.6.9.gem 74752 BLAKE2B c8264fd0401044d9099717ae8770a30ce6bdfd12c3acfc2024b21330e3fdb07604bba69600a8808aa179c6459eb2d140e7b5822cbf58c3ea8ce47569bc92463b SHA512 c1ccae10361be881af4a129c0640ced00d00e909442b517150036cd44d5927cf24dc87bc0c30f3703f96955f114e0c0a5ff2d0f5fc555b71ade0f98e6b388426 +DIST rjb-1.7.3.gem 76800 BLAKE2B 83bf6208e332fe1a339e74ae46bcacb4366c02fc089a5f2e463e6a53eb707203a59c50aaaaffe36bee984ca5bf0a06a501e3e31f1ea0cb35647ce0ceceadf495 SHA512 ea0b0a233a9e8a8030c382582f81776254d261d025310b468e01f5efab6978710b5eedb1a15acd2fb9cc57e083aa8a65a82137ea81ba9c061d999dcf82c35f9d EBUILD rjb-1.6.9.ebuild 1982 BLAKE2B 4968540385d2f1a0f080e919b37aa21b9d41b2edae3ef3511b2b669646afe1656f559d8290089087cf847947b19ebb4bda440e43b75156147446728ec11c9306 SHA512 6a4d08468018be3ef5b2da900be8aecdbb741270c53e4f6086fed6d7b7c1c6fe81bf563a823d4c571b0a48b219332cf9f747b391835e9e998d6774e9a33c0aa6 +EBUILD rjb-1.7.3.ebuild 1982 BLAKE2B 4968540385d2f1a0f080e919b37aa21b9d41b2edae3ef3511b2b669646afe1656f559d8290089087cf847947b19ebb4bda440e43b75156147446728ec11c9306 SHA512 6a4d08468018be3ef5b2da900be8aecdbb741270c53e4f6086fed6d7b7c1c6fe81bf563a823d4c571b0a48b219332cf9f747b391835e9e998d6774e9a33c0aa6 MISC metadata.xml 326 BLAKE2B d2451bd11dfe8b88c20cd9a54983a69a454f39f148d319af39a305523cdc6c79ce3a7bbca0e71a98914f1af8b8b5e298c45e05eb1d6ff2058567bfcd6536b746 SHA512 d7ec66f37e9620075c23d21d874bffa9983906b833ab67f5480c308b02dd168ba558acf164423228da9d618b25abbbe00e7803400f3abf07a04956a7ec9afcfd diff --git a/dev-ruby/rjb/rjb-1.7.3.ebuild b/dev-ruby/rjb/rjb-1.7.3.ebuild new file mode 100644 index 000000000000..ef80fb653497 --- /dev/null +++ b/dev-ruby/rjb/rjb-1.7.3.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_EXTRADOC="readme.txt ChangeLog" +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb) + +inherit java-pkg-2 ruby-fakegem + +DESCRIPTION="Rjb is a Ruby-Java software bridge" +HOMEPAGE="https://github.com/arton/rjb" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples hardened" + +DEPEND="|| ( virtual/jdk:17 virtual/jdk:11 virtual/jdk:1.8 ) + hardened? ( sys-apps/paxctl )" +RDEPEND="|| ( virtual/jre:17 virtual/jre:11 virtual/jre:1.8 )" + +pkg_setup() { + ruby-ng_pkg_setup + java-pkg-2_pkg_setup +} + +all_ruby_prepare() { + # The console is not available for testing. + sed -i -e '/test_noarg_sinvoke/,/end/ s:^:#:' test/test.rb || die + + # Avoid encoding tests since not all locales may be available. + sed -i -e '/test_kjconv/,/^ end/ s:^:#:' test/test.rb || die + + # Fix build on openjdk-11 + sed -i -e 's#javah -classpath ../data/rjb jp.co.infoseek.hp.arton.rjb.RBridge#javac -h . -classpath ../data/rjb RBridge.java#g' ext/extconf.rb || die +} + +each_ruby_prepare() { + #dev-lang/ruby might need the "hardened" flag to enforce the following: + if use hardened; then + paxctl -v /usr/bin/ruby 2>/dev/null | grep MPROTECT | grep disabled || ewarn '!!! rjb will only work if ruby is MPROTECT disabled\n please disable it if required using paxctl -m /usr/bin/ruby' + fi + # force compilation of class file for our JVM + rm -rf data +} + +each_ruby_install() { + each_fakegem_install + + if use examples; then + dodoc -r samples + fi +} + +each_ruby_test() { + if use hardened; then + paxctl -v ${RUBY} 2>/dev/null | grep MPROTECT | grep -q disabled + if [ $? = 0 ]; then + ${RUBY} -C test -I../lib:.:../ext test.rb || die + else + ewarn "${RUBY} has MPROTECT enabled, rjb will not work until it is disabled, skipping tests." + fi + else + ${RUBY} -C test -I../lib:.:../ext test.rb || die + fi +} diff --git a/dev-ruby/sequel/Manifest b/dev-ruby/sequel/Manifest index bcccb44b2d62..b4200604c22e 100644 --- a/dev-ruby/sequel/Manifest +++ b/dev-ruby/sequel/Manifest @@ -1,7 +1,9 @@ DIST sequel-5.78.0.tar.gz 1765505 BLAKE2B 5841d1eeb6065188855f40ff8f1812f694c5d2851a30911265eeb37d111e7df442e3888d22567470569bd0c7d0fced4bdb8b778a14a69f643b42ce2d7b6efb94 SHA512 f706e57cd9dfcb1ea304abe47d2eed40ad412767f3ac58b83e4904e38cb7e970faabe3e40c5c34a44369a7e8b9e526fa06b566eb3768eedd245c0878246a0b8e DIST sequel-5.81.0.tar.gz 1772506 BLAKE2B 45ae3cb98210818aa14ac6c540859f49e34b5ae79795fce1bbc81d2327c2086c5f8c87f40ded98fc25ecdcf123c25ef65450a124926faecf258f74962e1e7e6a SHA512 1b534ebb0346a0b0140e30975c7eebee4ae4eaed3e05fd9b2914e55b484cdc30e902821ef3092b20603d825989b72b7b767704a2c2936480d75893a2ba9f19ed DIST sequel-5.82.0.tar.gz 1775084 BLAKE2B 628f1af27bba70f166437f70e6ffb2a45c40ed1dc3cc4893aa74e603b54d15f1160b5d958cb44e9297ac41c2c4005ae099c879a94a86cbf46da088016d4257b2 SHA512 59b4aaaad757a1f0164695ae3faf59a10e511745e55bb84e83354a9f299b60342b8e7c2fdc2504ea1a47323b41816d01cb001621837317721090a78beff8d6c7 +DIST sequel-5.84.0.tar.gz 1783312 BLAKE2B 6567fcaa2227c6382101f7d16869c9380c976ce973733222b06a7856613ea4d839616a025d985e5127c6f440f44b76792eaccb9a687e6f139fcee27431f657ac SHA512 b51cdf8f2f5e9a48d9aea4081ffd28df338a6cdde5e0e982a39dc8278ec338f0c54371fd4110e45828469f106cc04963e700477b2ab8424b24940ea86479a5e2 EBUILD sequel-5.78.0.ebuild 770 BLAKE2B 18e34437ccdb250f4b464005cb9cb35283c6a3c4a3ff3e877c315b9adadc988644488b458de5d2de210cc9f39886a36444b73b41e846fe6e600bf072bcadce18 SHA512 5c37f2267e511f22e441a77259b7d8f41422cd03151369f5773486ecf32e690842cd1eca29537c4da562e9cb7068a7b970c9b1c28832d0891ec1d056e09b0c4f EBUILD sequel-5.81.0.ebuild 770 BLAKE2B 18e34437ccdb250f4b464005cb9cb35283c6a3c4a3ff3e877c315b9adadc988644488b458de5d2de210cc9f39886a36444b73b41e846fe6e600bf072bcadce18 SHA512 5c37f2267e511f22e441a77259b7d8f41422cd03151369f5773486ecf32e690842cd1eca29537c4da562e9cb7068a7b970c9b1c28832d0891ec1d056e09b0c4f EBUILD sequel-5.82.0.ebuild 770 BLAKE2B 18e34437ccdb250f4b464005cb9cb35283c6a3c4a3ff3e877c315b9adadc988644488b458de5d2de210cc9f39886a36444b73b41e846fe6e600bf072bcadce18 SHA512 5c37f2267e511f22e441a77259b7d8f41422cd03151369f5773486ecf32e690842cd1eca29537c4da562e9cb7068a7b970c9b1c28832d0891ec1d056e09b0c4f +EBUILD sequel-5.84.0.ebuild 770 BLAKE2B 18e34437ccdb250f4b464005cb9cb35283c6a3c4a3ff3e877c315b9adadc988644488b458de5d2de210cc9f39886a36444b73b41e846fe6e600bf072bcadce18 SHA512 5c37f2267e511f22e441a77259b7d8f41422cd03151369f5773486ecf32e690842cd1eca29537c4da562e9cb7068a7b970c9b1c28832d0891ec1d056e09b0c4f MISC metadata.xml 344 BLAKE2B 6149e280d173e3f129ab646e7ce971c89e99d69d75d8b3908811bb879e191a82afaea353357b72099026693c2081ec58822981b75d95ecb0c2bee9b518ad7a6d SHA512 60b5b136094533ee06f1a0c9763b3848ae1858d5a0b4e8ece56a56ff91aa0b222ab6cbbbb1a1f86b90a41263712a385a1c232e5e6b2c6df6d0e583ba2aa5b4f1 diff --git a/dev-ruby/sequel/sequel-5.84.0.ebuild b/dev-ruby/sequel/sequel-5.84.0.ebuild new file mode 100644 index 000000000000..79946a650e04 --- /dev/null +++ b/dev-ruby/sequel/sequel-5.84.0.ebuild @@ -0,0 +1,33 @@ +# 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 README.rdoc" +RUBY_FAKEGEM_GEMSPEC="sequel.gemspec" +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_TASK_TEST="spec" + +inherit ruby-fakegem + +DESCRIPTION="A lightweight database toolkit for Ruby" +HOMEPAGE="https://sequel.jeremyevans.net/" +SRC_URI="https://github.com/jeremyevans/sequel/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_rdepend "dev-ruby/bigdecimal" + +ruby_add_bdepend "test? ( + dev-ruby/activemodel + dev-ruby/minitest + dev-ruby/minitest-global_expectations + dev-ruby/minitest-hooks + dev-ruby/nokogiri + dev-ruby/tzinfo +)" diff --git a/dev-ruby/sqlite3/Manifest b/dev-ruby/sqlite3/Manifest index 7e16cf8d67f0..b49bfae24662 100644 --- a/dev-ruby/sqlite3/Manifest +++ b/dev-ruby/sqlite3/Manifest @@ -1,5 +1,5 @@ -DIST sqlite3-1.6.7.gem 3249664 BLAKE2B 021edaa3d1a9d4cd8eeaaf3354e6e5aab047d8e61abbd5416ae50b2a7e426e5a6c1a484bc9f0c47a838b006b37eb3b41d7c51c200851f9d7bf0525b9dc91b597 SHA512 83455e533bbe84c71045b28ec6262b50804e774f3de4811e123cdb780ea4989227c01a8b6939179813ae3b59e1261e2d694830cc10ca05e7789dc635ff4d9b97 DIST sqlite3-1.7.3.gem 3307008 BLAKE2B 0df742c7cb4a8f920196106b5701eae07e60e668f040ca6e3276afdd0dfdeed3fb19ed455425f332e13082ca740f42d914536ccdf565ed151b6eb0f6ccd7c676 SHA512 b6ed36a5618134ca1f993b21a351ac279ebb7e1370be521eae67ed9224a1fac11d71ddd7573b3b14da47657756cb68b3eab0164b6e6ed058d3f64fa95699bc2f -EBUILD sqlite3-1.6.7.ebuild 1466 BLAKE2B adfab61213d954e7f1dd48196cbc8ff32c2a43fa4e71a20c222f348a480f7865ddfc67fef7c3682d16443c280dcd2a3918c3835decc2b33d155c9e704b4f1a4a SHA512 8a9cc9be55b6d8c320a01d6f6229584cac653908d72ef64b85e18095ac87e78e26b983af0a865689174d2e3c3c3a7b2c012fdd8cb2db42aa2b90295735a92759 +DIST sqlite3-2.0.4.tar.gz 82136 BLAKE2B 636e4e246e1a572a975b4df4a1ed82da6924934ee59a48ad0bac98b7e5c76f4342ad1bc91f794179e2954acebcd00d3ec30872441957fcaed5d36218b6167a80 SHA512 3bdf8733b119f8fb71ab2e60667f2ca9c9c8be6d01e02509ed93e1bb1c525408d93c888f5291b464eecb6ab150d940d357d7abf913b32dc253768bf6fc33d168 EBUILD sqlite3-1.7.3.ebuild 1485 BLAKE2B 8d3e3392b1c47d9bf096ad99d7e958e6f28b4614eecae91ae5cebdf5c4cb2ecaa5ba3fc0db80cffca7b553408965a36cf8f27971a410f3a049590bbfe328ec9d SHA512 1224a61f00e7925d6c3858314833908ec76b55db241899a7ac69d5191a58f080e65245e20b78b0b16852362ae34c5339aad8b2c46d0cee35a04d05c46b4fbe20 +EBUILD sqlite3-2.0.4.ebuild 1857 BLAKE2B 7ecc19caa16b3139829fdcbd06c5a9684d520743667d0ad5b52565dbb335053ce2a98664905b786d05bdbb143e11ea09e7076a98b2610045aef6c9d31c3af03b SHA512 30abc088b843635bf9279c3a547f6b56579620cad714c4963f5a63034e2c26033fb0a3cf60d1aff4b7b36d724e111849558623dd6e2108e69b97bfa3f34af19a MISC metadata.xml 343 BLAKE2B 8246e0b7df67080839741f0258357ae19da18bd7ad8615bb77b943bc89db7560d58f95a8cba4e770070efc477ba56ee1f5c9ba098674ffc01dd5fdd9b912189a SHA512 541f2db81c9383013da74a8a54f318ff7535ffe5c6ea789f8ddc451f629a121e56b322d8b3a0730e0b27b111e16e27d8fa49bc5805a7c61fcf91ac7110ca712b diff --git a/dev-ruby/sqlite3/sqlite3-1.6.7.ebuild b/dev-ruby/sqlite3/sqlite3-2.0.4.ebuild index 856f3aa51cab..8db3a4eff475 100644 --- a/dev-ruby/sqlite3/sqlite3-1.6.7.ebuild +++ b/dev-ruby/sqlite3/sqlite3-2.0.4.ebuild @@ -1,33 +1,36 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby31 ruby32" +USE_RUBY="ruby31 ruby32 ruby33" RUBY_FAKEGEM_TASK_DOC="faq" RUBY_FAKEGEM_DOCDIR="doc faq" -RUBY_FAKEGEM_EXTRADOC="API_CHANGES.md README.md ChangeLog.cvs CHANGELOG.md" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" RUBY_FAKEGEM_EXTENSIONS=(ext/sqlite3/extconf.rb) RUBY_FAKEGEM_EXTENSION_LIBDIR=lib/sqlite3 +RUBY_FAKEGEM_GEMSPEC="sqlite3.gemspec" inherit ruby-fakegem DESCRIPTION="An extension library to access a SQLite database from Ruby" HOMEPAGE="https://github.com/sparklemotion/sqlite3-ruby" +SRC_URI="https://github.com/sparklemotion/sqlite3-ruby/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="sqlite3-ruby-${PV}" LICENSE="BSD" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" -SLOT="0" -IUSE="" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="doc test" # We track the bundled sqlite version here -RDEPEND+=" >=dev-db/sqlite-3.43.2:3" -DEPEND+=" >=dev-db/sqlite-3.43.2:3" +RDEPEND=" >=dev-db/sqlite-3.46.1:3" +DEPEND=" >=dev-db/sqlite-3.46.1:3" ruby_add_bdepend " - doc? ( dev-ruby/rdoc dev-ruby/redcloth ) + doc? ( dev-ruby/rdoc ) test? ( dev-ruby/minitest:5 ) " @@ -36,7 +39,13 @@ all_ruby_prepare() { # Remove the runtime dependency on mini_portile2. We build without # it and it is not a runtime dependency for us. - sed -i -e '/^dependencies:/,/force_ruby_platform/d' ../metadata || die + sed -i -e '/mini_portile2/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid a failing spec for reprepares stats. Upstream indicates that + # the stats data should not be relied on other than for human + # debugging. + sed -e '/def test_stat_reprepares/askip "Fails on Gentoo"' \ + -i test/test_statement.rb || die } all_ruby_compile() { |