diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-12-14 19:15:41 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-12-14 19:15:41 +0000 |
| commit | e39be748657852ea65b1d7adf2de9ece7142d31d (patch) | |
| tree | e07132ff7ce4065a71ae83e365f5ee5e81b1d045 /dev-ruby | |
| parent | fb2aa35a27c598047d94683bd61cd7a45d993c65 (diff) | |
| download | baldeagleos-repo-e39be748657852ea65b1d7adf2de9ece7142d31d.tar.gz baldeagleos-repo-e39be748657852ea65b1d7adf2de9ece7142d31d.tar.xz baldeagleos-repo-e39be748657852ea65b1d7adf2de9ece7142d31d.zip | |
Adding metadata
Diffstat (limited to 'dev-ruby')
| -rw-r--r-- | dev-ruby/faraday-net_http/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/faraday-net_http/faraday-net_http-3.4.1.ebuild | 2 | ||||
| -rw-r--r-- | dev-ruby/faraday-net_http/faraday-net_http-3.4.2.ebuild | 32 | ||||
| -rw-r--r-- | dev-ruby/io-console/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/io-console/io-console-0.8.1.ebuild | 2 | ||||
| -rw-r--r-- | dev-ruby/io-console/io-console-0.8.2.ebuild | 44 | ||||
| -rw-r--r-- | dev-ruby/net-http/net-http-0.7.0.ebuild | 2 | ||||
| -rw-r--r-- | dev-ruby/oauth-tty/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/oauth-tty/metadata.xml | 4 | ||||
| -rw-r--r-- | dev-ruby/oauth-tty/oauth-tty-1.0.6.ebuild | 47 | ||||
| -rw-r--r-- | dev-ruby/rake-compiler/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/rake-compiler/rake-compiler-1.3.1.ebuild | 56 | ||||
| -rw-r--r-- | dev-ruby/sqlite3/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/sqlite3/sqlite3-2.8.1.ebuild | 66 | ||||
| -rw-r--r-- | dev-ruby/uri/uri-1.1.1.ebuild | 2 |
15 files changed, 257 insertions, 5 deletions
diff --git a/dev-ruby/faraday-net_http/Manifest b/dev-ruby/faraday-net_http/Manifest index 07254b45318c..f8d7950f83c9 100644 --- a/dev-ruby/faraday-net_http/Manifest +++ b/dev-ruby/faraday-net_http/Manifest @@ -3,3 +3,4 @@ DIST faraday-net_http-2.1.0.tar.gz 9061 BLAKE2B 00e461718f4a92ff424e28074aa62d79 DIST faraday-net_http-3.2.0.tar.gz 9232 BLAKE2B 07ada54d9430d5255d7683d6eec0b86967657d9eceff631a343a49a943ed2fad4168a48f0faf1ddef7d680ec1d11f34c2a560272bd9701c8e0be89dfb43ce082 SHA512 27966aaa0da55d398869fede0196de9859750227189564480f6129684a76fe617a477142559a717d5431c568aeea8357474f89ae8226f2398f3a4372001e8554 DIST faraday-net_http-3.4.0.tar.gz 9436 BLAKE2B b6d6edacb0a5da38084b63efab00da16e0d249713e812fa5ce0e9519012731578ccc67a837a9bc070bb021ec7435d5ec388bdb5aec517ed4db79b530fab6b95e SHA512 8e2acb6c607003eb609199f0a2a1390fa41256e3318856d44c0f4b8afee9165501fe35c91a5d833f0ff8adf51f980b539778bc268417d15c9436cfe32ae7c909 DIST faraday-net_http-3.4.1.tar.gz 9324 BLAKE2B cf14c737dc47ba2e2ff95cf84161f23f164eb91b6228ac12dbd9a626433b75a29e9fef1d56d000c01ea796569a9c948dcd594ff036fd9574f33317ce233e3c5b SHA512 f636193c227cf5c5c256ef90b95489758fc5229d6ee2d642d2bce9f65a7fd476a4291a988558ef032da6730f6d093fa4cea294a1ebace84a6ecf4e7adb89f03d +DIST faraday-net_http-3.4.2.tar.gz 9335 BLAKE2B 549e4f3b7647b4a7b52e807753782ec48dce6a48df1a24162605e2462aca3abc3445a38634ce5159edce649c2ddaf19d0be1389bc9d438579a3945e651598df8 SHA512 2ade52fb3c23be96dacfe8f325f1e2fdfd61f1df45cacaf0fc49fe533e1b5a8225263fb668d03e0d47fad5d4995f1b81d4adff5e13b04cfdb43ce679f7634653 diff --git a/dev-ruby/faraday-net_http/faraday-net_http-3.4.1.ebuild b/dev-ruby/faraday-net_http/faraday-net_http-3.4.1.ebuild index 108db142a844..0024a9175e9c 100644 --- a/dev-ruby/faraday-net_http/faraday-net_http-3.4.1.ebuild +++ b/dev-ruby/faraday-net_http/faraday-net_http-3.4.1.ebuild @@ -20,7 +20,7 @@ SRC_URI="https://github.com/lostisland/faraday-net_http/archive/v${PV}.tar.gz -> LICENSE="MIT" SLOT="$(ver_cut 1)" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" IUSE="test" ruby_add_rdepend ">=dev-ruby/net-http-0.5.0" diff --git a/dev-ruby/faraday-net_http/faraday-net_http-3.4.2.ebuild b/dev-ruby/faraday-net_http/faraday-net_http-3.4.2.ebuild new file mode 100644 index 000000000000..cce084b27e86 --- /dev/null +++ b/dev-ruby/faraday-net_http/faraday-net_http-3.4.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby32 ruby33 ruby34" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Faraday adapter for Net::HTTP" +HOMEPAGE="https://github.com/lostisland/faraday-net_http" +SRC_URI="https://github.com/lostisland/faraday-net_http/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/net-http-0.5.0:0" + +ruby_add_bdepend "test? ( >=dev-ruby/faraday-2.5 )" + +all_ruby_prepare() { + sed -i -e "s:_relative ':'./:" ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/io-console/Manifest b/dev-ruby/io-console/Manifest index d50823cceb70..44c060fa9315 100644 --- a/dev-ruby/io-console/Manifest +++ b/dev-ruby/io-console/Manifest @@ -1,2 +1,3 @@ DIST io-console-0.8.0.tar.gz 40484 BLAKE2B 9f03bbb0462ca91c33a8edc824841c03462d6685b0fc80548c09df2c8d563356674663e7e36411baa4ac4ac056562b791dbf8db19704113dea4399549dfd74cd SHA512 c9b5b58b3071497bb3732fceee0c825591797b9a9fd1c60b6a5113162f6fd15d741002988c241c38afb1ca57f38087b78ea8f8a351e187a6f392956802c0d8cd DIST io-console-0.8.1.tar.gz 40613 BLAKE2B 2a9fe5318394536d7d892cf93b7a572f85cf7919edf12dc8ff17b61b4180fc5b9881ee703587531a9ccb925f46db394dfa02c9a1c2ceb47eea476cd1209c2c50 SHA512 d7bfed76fd3acc560fc58a7cace8c439ce1d20497c27f3ef5e003173c84b59249221e4400891c6ef52c92499f14cbdb53129faba203dee2fc5817c97d7a3a58d +DIST io-console-0.8.2.tar.gz 41473 BLAKE2B edcfe9c1d681b03aca7ed22ac473b4becc27927ef8d5d909e793f2c777c035a7c0218fe7e1e364311575f9450b47ee626a56f9b7be229833f3d996db76ef1827 SHA512 ce639c4589b762b85413ee49cd12329280c385a1c6e43dea01f01121642822ab5f2571c7a44cb028dbd4c5bc4ae3fa4dccba689b33ac5648ae3820a848af9612 diff --git a/dev-ruby/io-console/io-console-0.8.1.ebuild b/dev-ruby/io-console/io-console-0.8.1.ebuild index 0352f7f35fce..28042693a614 100644 --- a/dev-ruby/io-console/io-console-0.8.1.ebuild +++ b/dev-ruby/io-console/io-console-0.8.1.ebuild @@ -18,7 +18,7 @@ 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" +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 )" diff --git a/dev-ruby/io-console/io-console-0.8.2.ebuild b/dev-ruby/io-console/io-console-0.8.2.ebuild new file mode 100644 index 000000000000..0352f7f35fce --- /dev/null +++ b/dev-ruby/io-console/io-console-0.8.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby32 ruby33 ruby34" + +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/net-http/net-http-0.7.0.ebuild b/dev-ruby/net-http/net-http-0.7.0.ebuild index f7a1f394bce3..4c5b767eec1d 100644 --- a/dev-ruby/net-http/net-http-0.7.0.ebuild +++ b/dev-ruby/net-http/net-http-0.7.0.ebuild @@ -18,7 +18,7 @@ SRC_URI="https://github.com/ruby/net-http/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" ruby_add_rdepend " diff --git a/dev-ruby/oauth-tty/Manifest b/dev-ruby/oauth-tty/Manifest index 9727188d531e..6d39183e0fee 100644 --- a/dev-ruby/oauth-tty/Manifest +++ b/dev-ruby/oauth-tty/Manifest @@ -1 +1,2 @@ +DIST oauth-tty-1.0.6.tar.gz 193477 BLAKE2B daae6e314de705a5dbd7d6681b509f818afd347643f336921e80c89f112db6687a54fc3fcc51b475570dcf7005f9bb19483b4a06226e8924433a7666dbad7a45 SHA512 13f3378166ac78de83b555da942194b5cd5687bee1d65ff737e44aa99e1a4f48c34de4d0f11984850804bef32c0c40f27876e08273c8c2f55876487efd03f382 DIST oauth2-1.0.5.tar.bz2 27649 BLAKE2B cb20b0073838ad887b2b7311e929507d152746c33adeef602f475fca94aa49df4283597ab678f2fa16d17467220edab6601e7ff4bae07d5c81b55cf8515ca5eb SHA512 3dbb5d1394bf5791b16e88bb4e8ead7456ea935005947e0e6b5e4864277b17c75acea389d5c7e5eef1eff684475962619777728049f8f0686abe434f2fffacf8 diff --git a/dev-ruby/oauth-tty/metadata.xml b/dev-ruby/oauth-tty/metadata.xml index 246d194b7ec0..8c6956e597ac 100644 --- a/dev-ruby/oauth-tty/metadata.xml +++ b/dev-ruby/oauth-tty/metadata.xml @@ -5,6 +5,8 @@ <email>ruby@gentoo.org</email> <name>Gentoo Ruby Project</name> </maintainer> - + <upstream> + <remote-id type="rubygems">oauth-tty</remote-id> + </upstream> <origin>gentoo-staging</origin> </pkgmetadata>
\ No newline at end of file diff --git a/dev-ruby/oauth-tty/oauth-tty-1.0.6.ebuild b/dev-ruby/oauth-tty/oauth-tty-1.0.6.ebuild new file mode 100644 index 000000000000..3972ff67fd30 --- /dev/null +++ b/dev-ruby/oauth-tty/oauth-tty-1.0.6.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby32 ruby33 ruby34" + +RUBY_FAKEGEM_BINDIR="exe" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="oauth-tty.gemspec" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="OAuth 1.0 TTY Command Line Interface" +HOMEPAGE="https://github.com/ruby-oauth/oauth-tty" +SRC_URI="https://github.com/ruby-oauth/oauth-tty/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~ppc ~riscv ~x86" +IUSE="test" + +ruby_add_rdepend " + >=dev-ruby/version_gem-1.1.1:1 + !<dev-ruby/oauth-0.6.2-r2:0 +" + +ruby_add_bdepend "test? ( + >=dev-ruby/minitest-5.15 + dev-ruby/mocha + >=dev-ruby/oauth-1.1.0 + dev-ruby/rack-test + dev-ruby/webmock +)" + +all_ruby_prepare() { + sed -e 's:_relative ": "./:' \ + -e 's/__dir__/"."/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -e '/kettle/ s:^:#:' \ + -e '/simplecov/ s:^:#:' \ + -i spec/spec_helper.rb || die +} diff --git a/dev-ruby/rake-compiler/Manifest b/dev-ruby/rake-compiler/Manifest index 2cecd7af4401..09f762c31607 100644 --- a/dev-ruby/rake-compiler/Manifest +++ b/dev-ruby/rake-compiler/Manifest @@ -1 +1,2 @@ DIST rake-compiler-1.3.0.tar.gz 40095 BLAKE2B d4494f30a39ee1224af24eb30be143968bfed6f0f23f3b021420027a8befe85ba9748795776eadb57600e02bf9c9604b56aa162f53054ed7097d00474a4288e9 SHA512 84bf588757be55e30f321bb66ba645d6353bce3775bf8b6ff51fa202f1134c5100ba5e2d16026a456c150a9d2fdcb808e7f0aa98bbf8f77442bef7d07b29b7cc +DIST rake-compiler-1.3.1.tar.gz 40177 BLAKE2B 4b25dce9fb06a132eec7c01ab7c35f25719399a411aa032d7d0902b1d25d8b266305b8e34adca97aa04dc1b564533c2c3d6f291e0ad84d6bf37ef86397db2474 SHA512 d1d2def237580314d48a6ca9c23218bfda09dd476fdfef417c3b8f4afb5d10b45e42e209b03853c158bc19b62f536f09dd06cde97f4e81a6418e61e1c987b665 diff --git a/dev-ruby/rake-compiler/rake-compiler-1.3.1.ebuild b/dev-ruby/rake-compiler/rake-compiler-1.3.1.ebuild new file mode 100644 index 000000000000..2b2db95c19f4 --- /dev/null +++ b/dev-ruby/rake-compiler/rake-compiler-1.3.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby32 ruby33 ruby34" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="History.md README.md" + +RUBY_FAKEGEM_GEMSPEC="rake-compiler.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Provide a standard and simplified way to build and package Ruby extensions" +HOMEPAGE="https://github.com/rake-compiler/rake-compiler" +SRC_URI="https://github.com/rake-compiler/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" + +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="test" + +ruby_add_rdepend "dev-ruby/rake" + +ruby_add_bdepend "test? ( dev-ruby/rspec:3 )" + +USE_RUBY="ruby31 ruby32 ruby33" ruby_add_bdepend "test? ( dev-util/cucumber )" + +all_ruby_prepare() { + # Avoid failing features for native gems, this also fails with rubygems + sed -i -e '/generate native gem/,$ s:^:#:' features/package.feature || die + + # Fix compatibility with newer cucumber versions. The not syntax has + # been supported since cucumber 3.x. + sed -i -e "s/~@java/'not @java'/" cucumber.yml || die + + # Fix compatibility with newer rspec versions. + sed -i -e 's/be_true/be true/ ; s/be_false/be false/' features/step_definitions/*.rb || die +} + +each_ruby_test() { + # Skip cucumber for new ruby versions (not ready yet due to rspec 2 usage) + case ${RUBY} in + *ruby31|*ruby32|*ruby33) + RSPEC_VERSION=3 ruby-ng_rspec + ruby-ng_cucumber + ;; + *) + RSPEC_VERSION=3 ruby-ng_rspec + ;; + esac +} diff --git a/dev-ruby/sqlite3/Manifest b/dev-ruby/sqlite3/Manifest index 4cdfafef0e16..59f8a3b3b5dc 100644 --- a/dev-ruby/sqlite3/Manifest +++ b/dev-ruby/sqlite3/Manifest @@ -2,3 +2,4 @@ DIST sqlite3-1.7.3.gem 3307008 BLAKE2B 0df742c7cb4a8f920196106b5701eae07e60e668f DIST sqlite3-2.7.3.tar.gz 94800 BLAKE2B 08036a1078818c6e6c5c67d922aa8ebcb05dbd8f2a1789e52af5014e41a39f9c5a9b373e356f99919c2227fc62996e2e87198f6253a102af03076e614f072fa2 SHA512 30015de31653b6dbec699a8245172b2db921c7f2c5c74872f926ceec06226bb43545f3caa89a6cc846761dcd3e291e8d9508cc787a1f520eda036df01f03e30e DIST sqlite3-2.7.4.tar.gz 94824 BLAKE2B f7726bebfa44fb724c23c58b5a20c733c31a916224cefc0da2fac5390cec0c87fa2a8377e0a01fa824a4bd3dcdd7e46feecca14feb06d0265a095b0564e52a84 SHA512 eba6eb50ec017f66996e4bb4491d22579912f323aeaa6d0ec57465ddda71acefe8c12d582eb2fc8aa85691c6420ea6b30b697cf208479a40afbbc82ad7ad4f2d DIST sqlite3-2.8.0.tar.gz 94833 BLAKE2B 6ff832dea938f3dd29a5cde3d2424202042bb993737f99a3056ea1e6707b757f404aa6b0aac87e3f46f82f6a37211319205ab024808665deda5f3a9d5aded887 SHA512 43493a5aef6c0514fa64286d35612dabca2d926abb84f6827638f3fcc81eeead1e611f5d615d3a3d30db25cb2d3267d539424a90e76e03117058e529e795ddf3 +DIST sqlite3-2.8.1.tar.gz 94904 BLAKE2B c1c7f9f7cf6fa881f56e16f6896ed58885a1cab08d403ad5a9e51c8f2f146a0139eaf07058738ad98ccace8dea38f2a3cd5af4c7d98a0ac47171cc175c4e67cf SHA512 dbb3e159f4e47020601c81b472675843a96a3243d618296f0f1a314ea2fbcc24aefe4284f51831efc7084a9f341de857a6adb158679ee4f0188a29873a4b77d1 diff --git a/dev-ruby/sqlite3/sqlite3-2.8.1.ebuild b/dev-ruby/sqlite3/sqlite3-2.8.1.ebuild new file mode 100644 index 000000000000..7fb5ba1412a0 --- /dev/null +++ b/dev-ruby/sqlite3/sqlite3-2.8.1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby32 ruby33 ruby34" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_TASK_DOC="faq" +RUBY_FAKEGEM_DOCDIR="doc faq" +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" + +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.51.1:3" +DEPEND=">=dev-db/sqlite-3.51.1:3" + +ruby_add_bdepend " + doc? ( dev-ruby/rdoc ) + test? ( dev-ruby/minitest:5 ) +" + +all_ruby_prepare() { + sed -i -e 's/enable_config("system-libraries")/true/' ext/sqlite3/extconf.rb || die + + # Remove the runtime dependency on mini_portile2. We build without + # it and it is not a runtime dependency for us. + sed -e '/mini_portile2/ s:^:#:' \ + -e '/WARNING/ s:^:#:' \ + -e "s/0.0.0/${PV}/" \ + -i ${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() { + all_fakegem_compile + + if use doc; then + rdoc --title "${P} Documentation" -o doc --main README.rdoc lib *.rdoc ext/*/*.c || die + rm -f doc/js/*.gz || die + fi +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} diff --git a/dev-ruby/uri/uri-1.1.1.ebuild b/dev-ruby/uri/uri-1.1.1.ebuild index 1635c4b38dbc..f89209517816 100644 --- a/dev-ruby/uri/uri-1.1.1.ebuild +++ b/dev-ruby/uri/uri-1.1.1.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://github.com/ruby/uri/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD-2" SLOT="$(ver_cut 1)" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +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" |
