diff options
Diffstat (limited to 'dev-ruby')
| -rw-r--r-- | dev-ruby/coffee-script-source/coffee-script-source-1.12.2-r2.ebuild | 4 | ||||
| -rw-r--r-- | dev-ruby/file-tail/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/file-tail/file-tail-1.3.0.ebuild | 35 | ||||
| -rw-r--r-- | dev-ruby/mkmf-lite/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/mkmf-lite/mkmf-lite-0.7.0.ebuild | 25 | ||||
| -rw-r--r-- | dev-ruby/sqlite3/sqlite3-2.0.4-r2.ebuild | 65 | ||||
| -rw-r--r-- | dev-ruby/unicode-display_width/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/unicode-display_width/unicode-display_width-2.6.0.ebuild | 28 |
8 files changed, 158 insertions, 2 deletions
diff --git a/dev-ruby/coffee-script-source/coffee-script-source-1.12.2-r2.ebuild b/dev-ruby/coffee-script-source/coffee-script-source-1.12.2-r2.ebuild index d983fd3d19a8..b9a58ace3e59 100644 --- a/dev-ruby/coffee-script-source/coffee-script-source-1.12.2-r2.ebuild +++ b/dev-ruby/coffee-script-source/coffee-script-source-1.12.2-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -14,6 +14,6 @@ HOMEPAGE="https://coffeescript.org/" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x64-macos" +KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x64-macos" IUSE="" diff --git a/dev-ruby/file-tail/Manifest b/dev-ruby/file-tail/Manifest index dc18b42f819a..35684f8ce76d 100644 --- a/dev-ruby/file-tail/Manifest +++ b/dev-ruby/file-tail/Manifest @@ -1 +1,2 @@ DIST file-tail-1.2.0.gem 19968 BLAKE2B 8a9ef8b73d2e7c8c21ec04e817991ebe40ba62800e565b607dbae9732b0192074cff4b3fc9dc7a495be9a2315eab63b48126e524091d72b37f7e8261cb1333f1 SHA512 ac20e5e855144f7462ef0471be08ab56e521a7b22117f1653e06624e1d81ac11d047a21a6979476bc8547dd88d90f25e51052950148acbe3ea64bdd3c35e1da3 +DIST file-tail-1.3.0.gem 20992 BLAKE2B ecb15f77cabebc9f048888eba2ae2b1b49e66cbbb6143c84a8f98e98f5f6f9480da0b1652b24adfcc826c318d84238e980b3309a0ab1782d6065cb0242726ac5 SHA512 225f73895d76f4c7db37dc891603cf9c7cd6a188c30cd6a19c758cb470ff89d3beb0887cd7bc052c846236b56384a928277c53dfe9e9adef60d35f4fe2f0d0f5 diff --git a/dev-ruby/file-tail/file-tail-1.3.0.ebuild b/dev-ruby/file-tail/file-tail-1.3.0.ebuild new file mode 100644 index 000000000000..e323c0191884 --- /dev/null +++ b/dev-ruby/file-tail/file-tail-1.3.0.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_RECIPE_TEST="none" + +RUBY_FAKEGEM_DOC_SOURCES="lib README.md" + +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A small ruby library that allows it to 'tail' files in Ruby" +HOMEPAGE="https://flori.github.io/file-tail/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +ruby_add_rdepend "=dev-ruby/tins-1*" +ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.5.1-r1 )" + +all_ruby_prepare() { + sed -i -e '/test_tail_change2/aomit "has race condition"' tests/file_tail_test.rb || die +} + +each_ruby_test() { + ruby-ng_testrb-2 -Ilib tests/*_test.rb +} diff --git a/dev-ruby/mkmf-lite/Manifest b/dev-ruby/mkmf-lite/Manifest index 37d979ab70f9..7714ce990f4a 100644 --- a/dev-ruby/mkmf-lite/Manifest +++ b/dev-ruby/mkmf-lite/Manifest @@ -1 +1,2 @@ DIST mkmf-lite-0.6.0.gem 20992 BLAKE2B fb52c99be00693409838a437a0715954551e9a9aecfad752d3e3f635d0b7992625d008a58da5b4b20bd03344d2cd861fc593d94bcb4a85012346eb534f5f851a SHA512 3baab933a75297dec89a254ffe33190bc991d7a6499b8cdf9abe612cb9837d2bcad8746aa008d394d910257518dc24cac6cd3c5adb6ed1f481088636e585d66f +DIST mkmf-lite-0.7.0.gem 20992 BLAKE2B d94fe1ee149e469908a74a4b71241ffca1a66d44eddedca4508096948b8a80d2106e78b686c71a58cdca72b672adabc1a6f692c3ea4d2b3e6edeedac1e5521e1 SHA512 d3c420d4b6bd51d9e7d4df519f686842d30fdc6e88bf12ffdb164f562c4ebafd8fa40e2044471798e0501879f50c2ed8c7aadc0a265b64f595d41faf3a7d5cbe diff --git a/dev-ruby/mkmf-lite/mkmf-lite-0.7.0.ebuild b/dev-ruby/mkmf-lite/mkmf-lite-0.7.0.ebuild new file mode 100644 index 000000000000..f19807d8959d --- /dev/null +++ b/dev-ruby/mkmf-lite/mkmf-lite-0.7.0.ebuild @@ -0,0 +1,25 @@ +# 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_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="light version of the the mkmf library designed for use as a library" +HOMEPAGE="https://github.com/djberg96/mkmf-lite" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" + +ruby_add_rdepend " + =dev-ruby/memoist-0.16* >=dev-ruby/memoist-0.16.2 + >=dev-ruby/ptools-1.4 <dev-ruby/ptools-2.0 +" diff --git a/dev-ruby/sqlite3/sqlite3-2.0.4-r2.ebuild b/dev-ruby/sqlite3/sqlite3-2.0.4-r2.ebuild new file mode 100644 index 000000000000..1d3e77be7365 --- /dev/null +++ b/dev-ruby/sqlite3/sqlite3-2.0.4-r2.ebuild @@ -0,0 +1,65 @@ +# 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_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.46.1:3" +DEPEND=" >=dev-db/sqlite-3.46.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/unicode-display_width/Manifest b/dev-ruby/unicode-display_width/Manifest index f6e4b3075419..3dbc421ca6c9 100644 --- a/dev-ruby/unicode-display_width/Manifest +++ b/dev-ruby/unicode-display_width/Manifest @@ -1,2 +1,3 @@ DIST unicode-display_width-1.7.0.tar.gz 10822 BLAKE2B c3db387b9d61ba4ea9d5559824b22e40f173f9e9bcf7fdad3dba1edc36b39ae90276818bd54e74a6731bd2cb8c48b28e440d07f7e3cedbd8dc13441f79a2b56c SHA512 2b6d2b0118f4a2ad69e98fe2fac611ca94adc0dc59ad076083d0243c630a81a01d650965149a25feaf8986c262a5d55294e064361420e2140b53c5ced5fb1c77 DIST unicode-display_width-2.5.0.tar.gz 13115 BLAKE2B 93d50190346409b3ba0dc23cbce841cabab7584f07a5b152851e40fd06168ff26a38c4872aed994e1a77292cf04de31f54075ad6b4329975fd93c30d9afe38b3 SHA512 cd6302136e5d61e6209bd9c6eb432c09d562b59a6a02868a3343a5968c56239cff0f547ed5bed15d5a6a06265385a6a499b148e59f9b84778241c9f8c5efa2be +DIST unicode-display_width-2.6.0.tar.gz 13178 BLAKE2B 416929b43d494e59a6d790f775215e30ee8ca24404f99193757d79575ec952567164731eb4cdefe836edc70e56fe176c416bab182a51ee6b1d9e5c959e7c8658 SHA512 f67178a3907175575038204d84a71a466bafe73f9519bdd65b4ca6fa0dd9a1ff21937daa7914ff2881c3d7343a16f22863d7bfe6dd5e223c3d44fed730abe7e4 diff --git a/dev-ruby/unicode-display_width/unicode-display_width-2.6.0.ebuild b/dev-ruby/unicode-display_width/unicode-display_width-2.6.0.ebuild new file mode 100644 index 000000000000..f4b9cc3e7df1 --- /dev/null +++ b/dev-ruby/unicode-display_width/unicode-display_width-2.6.0.ebuild @@ -0,0 +1,28 @@ +# 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_EXTRAINSTALL="data" + +RUBY_FAKEGEM_GEMSPEC="unicode-display_width.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Adds String#display_width to get the display size using EastAsianWidth.txt" +HOMEPAGE="https://github.com/janlelis/unicode-display_width" +SRC_URI="https://github.com/janlelis/unicode-display_width/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" + +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm64" + +all_ruby_prepare() { + # Avoid experimental emoji support for now + sed -e '/\[emoji\]/,/^ end/ s:^:#:' \ + -e '/Config object based API/,/^end/ s:^:#:' \ + -i spec/display_width_spec.rb || die +} |
