summaryrefslogtreecommitdiff
path: root/dev-ruby
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/Manifest.gzbin105314 -> 105320 bytes
-rw-r--r--dev-ruby/gruff/Manifest2
-rw-r--r--dev-ruby/gruff/gruff-0.21.0.ebuild53
-rw-r--r--dev-ruby/ruby_parser/Manifest2
-rw-r--r--dev-ruby/ruby_parser/ruby_parser-3.20.1.ebuild36
-rw-r--r--dev-ruby/zeitwerk/Manifest2
-rw-r--r--dev-ruby/zeitwerk/zeitwerk-2.6.8.ebuild37
7 files changed, 132 insertions, 0 deletions
diff --git a/dev-ruby/Manifest.gz b/dev-ruby/Manifest.gz
index e994b16def33..62a97e19a54c 100644
--- a/dev-ruby/Manifest.gz
+++ b/dev-ruby/Manifest.gz
Binary files differ
diff --git a/dev-ruby/gruff/Manifest b/dev-ruby/gruff/Manifest
index 125d1c802fd8..0ff32e1319ef 100644
--- a/dev-ruby/gruff/Manifest
+++ b/dev-ruby/gruff/Manifest
@@ -1,3 +1,5 @@
DIST gruff-0.19.0.tar.gz 25770103 BLAKE2B 6f1d45e03a4ca0a022c1f7313114bb87a06dc2265f1500fea703b2bb4dbbdba21336a63e4a10b166696baa37eb034977c7606817284f8abc06f8ce5bb4a4d6c2 SHA512 5028429c6b2d3551964190956cc5ce7e234b14aef94f8687fc9ac52aa810d98c9018ce5f1dfc04756936dfa47665d3566d53ec300523ca5786693ac99740d81f
+DIST gruff-0.21.0.tar.gz 25770436 BLAKE2B a474c1f9a18d5b87c21e20921db8529d36c6d92d0b253b8df0c8242fb0018d222501a9489804112a819a17ecd50b5ef38c22d613560e048bcf2614e88b0fdb49 SHA512 9e189b5c5a23294045109888dc3322c34408f895088f113b77a3f2e577ef9bd359be450a96d709feb91c11afbb1b77a8c3d8d78f13f4515b74484b44c6cc9834
EBUILD gruff-0.19.0.ebuild 1612 BLAKE2B 074b29d5f7e3b2c66a28d41136f214f7ea2d62e48e03576196d9dc4dd522465c776503087c222eec6f38b3884f9f922dca6fbee156da6bc8a78963c964c4ae8a SHA512 e9b4b60d96c17beadbec8587d52685d3a8f89056faea9a3d632de7cfdc0699548b2e04b51e98731da9a9a34e08a929c378f30c1921a2301354720e458d5dbb73
+EBUILD gruff-0.21.0.ebuild 1614 BLAKE2B bfe283de1b7a37d141848b62aa7ec917209f6c1128e278542c26ebee61d71e9455492a8c5be33aacfcdeb73ea7ef120f1fd16fe97ec2438fbce97f7d0fa26039 SHA512 4b143cea0d136ccb401a23a08c4dfe9712b394c76054e91de3b06b16106b47bcf59e4cf701b85fad85c5a1698c01feead342e65da476abb15ba8463df7d4ec2d
MISC metadata.xml 341 BLAKE2B d27e2cd08a5540fee57b4633b95cfe34569da56bca5e4638fa799aacfdfa8ccd4f3f195ebbca6782da97734bea84ba4adb8f49f08c8ec5b6757a3867ca70dd80 SHA512 ebf3fc986abccac99d46c2d66a1480ec3d9748660c314615b180e390bc5a55d7780c28ff85280390ef0e0f219aee626cae775d44f2c2ec1cfe047157055f20f9
diff --git a/dev-ruby/gruff/gruff-0.21.0.ebuild b/dev-ruby/gruff/gruff-0.21.0.ebuild
new file mode 100644
index 000000000000..8474accf9636
--- /dev/null
+++ b/dev-ruby/gruff/gruff-0.21.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_EXTRAINSTALL="assets rails_generators"
+
+RUBY_FAKEGEM_GEMSPEC="gruff.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Beautiful graphs for one or multiple datasets"
+HOMEPAGE="https://github.com/topfunky/gruff"
+SRC_URI="https://github.com/topfunky/gruff/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# imagemagick is an indirect dependency through rmagick. However, for
+# gruff to work properly imagemagick needs to be compiled with truetype
+# support and this cannot be expressed in the rmagick dependency. Tests
+# also require imagemagick to have jpeg and png support.
+DEPEND="${DEPEND} test? ( media-gfx/imagemagick[jpeg,png,truetype,webp] )"
+RDEPEND="${RDEPEND} media-gfx/imagemagick[truetype]"
+
+ruby_add_rdepend "dev-ruby/histogram >=dev-ruby/rmagick-4.2:*"
+ruby_add_bdepend "
+ test? (
+ dev-ruby/test-unit
+ )"
+
+all_ruby_prepare() {
+ sed -i -e '/\(reporters\|simplecov\)/I s:^:#:' test/gruff_test_case.rb || die
+ sed -i -e '2irequire "date"' test/test_scatter.rb || die
+
+ sed -e 's/git ls-files/find . -print/' \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+each_ruby_test() {
+ # Skip the image comparison checks since the images are not
+ # pixel-perfect identical, most likely due to the use of a slightly
+ # different font.
+ SKIP_CHECK=true ${RUBY} -Ilib:. -e "Dir['test/test_*.rb'].each{|f| require f}" || die
+}
diff --git a/dev-ruby/ruby_parser/Manifest b/dev-ruby/ruby_parser/Manifest
index 8487fc5a2639..08eeba7944be 100644
--- a/dev-ruby/ruby_parser/Manifest
+++ b/dev-ruby/ruby_parser/Manifest
@@ -1,5 +1,7 @@
DIST ruby_parser-3.19.2.gem 778240 BLAKE2B b9a136f8aa93fe915eedc5ca16a54a8c21446a48db89e86f7936dbbd4ee913f7bc61fcbaf136cd1965bbbd6601634a6832a09f0226647cf2ea802689251946c6 SHA512 c71e7e76e37ebe6e9489e9f0bb963b7b34adc8f4afa73ea4ad90356579725bd1a234f6e015a9c19b2c294c1ffe0d6b093be838ec0059a61fb5866cfe9e04f18b
DIST ruby_parser-3.20.0.gem 852992 BLAKE2B fd261c46e1fd0dbdbe13f02aa0c063334294a82a22af1491d760af2f1922a0c71355d2c002dcaa1fcf7c24fc9a157a4a640969ed946750ba90dfb87dcf8e785a SHA512 4cbd35703c35a799d8e06b78708adff378ff82d53f658908fb6cccfddbd6c200892bb2a3b4923fc17d2c4f7f611af12e3c942495a511d5470a05abb61ee1fba7
+DIST ruby_parser-3.20.1.gem 856576 BLAKE2B 8944c8c1403bb23aeb77ea19fe5ff7596879c94350609fcffc839c15b9009efe7c172369363aa99edd561cfdf4fcf081e665dea494cf87d88b105c797cea25a4 SHA512 50e77dcf4893e0b56399e10804e7c6652f57b812444edcd247d3c70f89cf4e5308a90103dd63e032588557472513bc2e6ac49988fddeea81f9f7262e14653abd
EBUILD ruby_parser-3.19.2.ebuild 1023 BLAKE2B fbda86970777f0fc3fba15123091885bd4bd28b0bafbb465b5dcedd9a711516142f1689305dd8729c52ad7e35b2ca4452f32602ff7a19483c2b85e1168ef5647 SHA512 5a97966e448b0db3afbccf65844af1627cfc25bc13e7100d3f6d0ec68ed0a19f36498d88897ff581fced173ef6f4336460805c4268d3ab5e77db3e53dcbcf0af
EBUILD ruby_parser-3.20.0.ebuild 1018 BLAKE2B 1316f0e96e8d08f2c93215e951be0b412e905c3ccca871ed306c0bb3a798f8ac123e9c299aaf9fcaa9c97c86c52066c2d9de3e206b34456bd0b9fc814b0af481 SHA512 50413ae27fbbcc76bc76abb0192d28755618276e017c19852afb067cbdd2f321ec175fda37620e64c25344c236547878f6a0d306f40818a2c7d107df7c3322b3
+EBUILD ruby_parser-3.20.1.ebuild 1018 BLAKE2B 1316f0e96e8d08f2c93215e951be0b412e905c3ccca871ed306c0bb3a798f8ac123e9c299aaf9fcaa9c97c86c52066c2d9de3e206b34456bd0b9fc814b0af481 SHA512 50413ae27fbbcc76bc76abb0192d28755618276e017c19852afb067cbdd2f321ec175fda37620e64c25344c236547878f6a0d306f40818a2c7d107df7c3322b3
MISC metadata.xml 348 BLAKE2B 10262df68f010eaed20fa390ed4feff5d619e168319f6477d9d70ef15a91219af5b4f49f89316c0350f3cedee9a47eb46a67c9837d22ce58ac190c55a747ac21 SHA512 66eb4ff6e49c3249c2a952b39d3738f3c66252203b16cd635aa04d59eed907cfe9c11197a4e104fd8cf0585b9f3d60c639e4ffbe7ddabb211266f60a9e348bdb
diff --git a/dev-ruby/ruby_parser/ruby_parser-3.20.1.ebuild b/dev-ruby/ruby_parser/ruby_parser-3.20.1.ebuild
new file mode 100644
index 000000000000..489adba616d9
--- /dev/null
+++ b/dev-ruby/ruby_parser/ruby_parser-3.20.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_EXTRADOC="README.rdoc History.rdoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A ruby parser written in pure ruby"
+HOMEPAGE="https://github.com/seattlerb/ruby_parser"
+
+LICENSE="MIT"
+SLOT="3"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/sexp_processor-4.16.0:4"
+
+ruby_add_bdepend "test? ( dev-ruby/racc >=dev-ruby/minitest-4.3 >=dev-ruby/sexp_processor-4.17.0:4 )"
+
+DEPEND+=" test? ( dev-util/unifdef )"
+
+all_ruby_prepare() {
+ # Remove reference to perforce method that is not in a released
+ # version of hoe-seattlerb.
+ #sed -i -e '/perforce/d' Rakefile || die
+ sed -i -e '/license/d' Rakefile || die
+ sed -i -e '/Hoe.plugin :isolate/ s:^:#:' Rakefile || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die
+}
diff --git a/dev-ruby/zeitwerk/Manifest b/dev-ruby/zeitwerk/Manifest
index d585ac5f9d0c..d9d5331674eb 100644
--- a/dev-ruby/zeitwerk/Manifest
+++ b/dev-ruby/zeitwerk/Manifest
@@ -1,5 +1,7 @@
DIST zeitwerk-2.6.6.tar.gz 121370 BLAKE2B af3d8d02e3547ae35e6efdda82c50676dcfbb60ddc07710116e6da8e56c63dadec4ec0526fd9e0da4ebcde91de1be6faf0308ef10fcae01b4d9362768fd1dc7c SHA512 1e3cf2961f06d9409cb9992126da298c2f183b73660357301a60dc9b3d1c649701b5d886185b38a233a94a1757d13e684e012d569af1bd5935ccca413bdbc745
DIST zeitwerk-2.6.7.tar.gz 122658 BLAKE2B 7435f8fb117be8186d56262c0aa8832132105d065cfdd470ed293e9530aa282edd824593f28199b908476a47f90507158beb216b803d39fdaa956d32ffa072ea SHA512 666f527771bc10d34b05a8f27996a9a7adf89466c54fd30a174a1e2e6df2500a2a658e08505964644d25ebd11ed13bf3f741724bfc9fd2a189c3e7b3ce24ffc0
+DIST zeitwerk-2.6.8.tar.gz 124209 BLAKE2B 7274b0e9cd55d48fa619d1e9da44074268186c119584fdc3ba18656db33884ec2e24a76ace863d18b0ec51601cde5a3cb9ed35889dcfd3f619960ddfcb1465c6 SHA512 b0609f7d38572d95bdf1a065a9051a7c39b15a7910e354981c991862692e2535477b4abd0a3c623a5d37e53622d95566ecf0d0243ca96fef59f0135693731a71
EBUILD zeitwerk-2.6.6.ebuild 908 BLAKE2B df2ad75d252cfbd3234570b9c9c6bff9fdad6e5138cf899340f96537d059a335a1c6574e2b46a85fb399201db2d010df3062257c697a614dce40f41925141523 SHA512 08c9160d7a3b74d1bab2af1adae004ada6abaefda5fdb0d6bbad8a2101f86335855f1d676bad0df3a03c7dac9ae25aa56dd906f5b022429288defa17c2a1e9b6
EBUILD zeitwerk-2.6.7.ebuild 1081 BLAKE2B d4168c85ed2db2e903105327568905ff3b3cae119604355b70d029844de48ca03d01b961cce4e5bfe32fc60a22113ae5da9a8f1a82e2376b4969a5802d0d0175 SHA512 459a0b81827bae44a2a02da8d68f51c9b2ccc8ed4f1ce233ac03f51305485bb33201d42f5144f643fcfba8cdea7ece5d96472f3139d1c3d1f4cf6677f40b1b0c
+EBUILD zeitwerk-2.6.8.ebuild 1081 BLAKE2B 909565ce0f3379671c75c41c10c41e2cd71f63888d883bffa68e59d52fff64cafbe322ccd6f727c6b1309d552a9cc02148c731de0883d9ac712bc29908939b72 SHA512 a07b6d393fbab88b0e6e2bdb2e16bf85db3f1873776a3377a3b48447c651a9fcf89a59e2a8ced926e0a607986378c7a9684bfc0020205bdd8a255778cc458c6c
MISC metadata.xml 641 BLAKE2B 27f5d9950eee9945425ab5606b78e7c745345e49dcfc201b55bf52693b3882d44206a82af09134696e694e524202d9c43f642c0854bdcf640356db8f8c84972a SHA512 b744fa895c31a93a5566151b3b3d73308ad41a7b43638ccd9aa00c9fceda495279d32f56e9c68cf44adea06f0e6842e38324c2f20b412e46f05b78c35288869c
diff --git a/dev-ruby/zeitwerk/zeitwerk-2.6.8.ebuild b/dev-ruby/zeitwerk/zeitwerk-2.6.8.ebuild
new file mode 100644
index 000000000000..bb0f7f8316f4
--- /dev/null
+++ b/dev-ruby/zeitwerk/zeitwerk-2.6.8.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby30 ruby31 ruby32"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="Efficient and thread-safe code loader for Ruby"
+HOMEPAGE="https://github.com/fxn/zeitwerk"
+SRC_URI="https://github.com/fxn/zeitwerk/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="2"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/bundler )"
+
+all_ruby_prepare() {
+ rm -f Gemfile.lock || die
+ # Dropping proveit should be fine based on https://github.com/fxn/zeitwerk/pull/253
+ # It's more of a quality check for the tests themselves rather than a test
+ sed -i -e '/\(focus\|reporters\|Reporters\|prove_\?it\)/ s:^:#:' Gemfile test/test_helper.rb || die
+
+ sed -i -e 's:require_relative "lib:require "./lib:' ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+each_ruby_test() {
+ ${RUBY} -S bundle exec rake test || die
+}