diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-10 00:01:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-10 00:01:14 +0100 |
commit | 17e5f1ea4a2e1c5664f96480ca46348d008e8711 (patch) | |
tree | 7166d1b58a582290a4ad23ff5882cca911b8035c /dev-ruby/gruff | |
parent | a0ce545d52f231499bf9f3644493113d8af58ec9 (diff) |
gentoo auto-resync : 10:05:2024 - 00:01:13
Diffstat (limited to 'dev-ruby/gruff')
-rw-r--r-- | dev-ruby/gruff/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/gruff/gruff-0.25.0.ebuild | 58 |
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-ruby/gruff/Manifest b/dev-ruby/gruff/Manifest index aa70db1f7605..54b228953fc5 100644 --- a/dev-ruby/gruff/Manifest +++ b/dev-ruby/gruff/Manifest @@ -1,7 +1,9 @@ DIST gruff-0.22.0.tar.gz 25772970 BLAKE2B 3a56d03f0e9a53decfa7df3b6b5cc867cfe584548fe7b1435babde1486414bc97c4a46ad574692848df6483d01592e88d22ef64eb045f271df9c1e2f7c821fa0 SHA512 6d16f8a308289453eb4a51110946aca702c725e59a3ffb8c128610cbca7f521ae5cdea64ceaa0a3382b86fe2f1de74b2d33d2a49fa033728f2f5cbc474222758 DIST gruff-0.23.0.tar.gz 25772848 BLAKE2B 5c0f6131ec52270e6a88c469d1ddf28701ca8e6f40277f094172e14f39faeed98af19d9e85c28a38b7ade5a6e35f21ba70bd9c8cb49a90edf434d9a9fb8c4371 SHA512 47e121b56cffb941063d127ba2b6e6de0dd0e8d5544263ca0234f7fcd782294fe972921a67407956674a97b9767651d7a2c33448d38887c05a40715a06cc1c54 DIST gruff-0.24.0.tar.gz 25940874 BLAKE2B 071cfc8283c03f1a5fb2c73e084f717de4da25e076b9a71c6ee08df86c1aa41d06916006f35591ebad4ba6e4dec75edb1d7c0d0bbe5a81e7fc828e2bb0a83589 SHA512 51d174ab2c74b67d62916259e86bebeb3cb114099b7e05299cd1f7a3609ad863b82f5f1d4e8b8181ba80ca0b891fbdabc5cca0426b6dba5e0cf8c35b6e0d2582 +DIST gruff-0.25.0.tar.gz 25941069 BLAKE2B 593eecb7d0e97907c2c0fa98b7ff709b4e7357e4d5b6c37fbb334909396b7ef318f0c1d2540a7e57efae4d5f1e2314bdd85bda5027b0f38d12c1854351852ce9 SHA512 d65592c600350596e1996aff32afb8984e254a3af0bd388e47f1c18a8226d009840677032c1c69898efb555924b4c9699c85496712aa4dfcc7029f95a89aebaf EBUILD gruff-0.22.0.ebuild 1612 BLAKE2B 6c984394dbc40b0323e75e7cb107501f3638e649e196ca6bc8a147f01e74023c01b509682df174b54796b91d127b6de0e15049c44e68c3f3f8a8aa746362fbb4 SHA512 8c3700b8888a9fbcb050732aec440c1944f4bd222ac6eb0618063bde66457efb8835d5debdc009c45900907e2d4c6632f891fa8e6991939915c83d53cb78d065 EBUILD gruff-0.23.0.ebuild 1614 BLAKE2B 3c5d7e1340772b4d0ff0f98565abd09d9451604ca986ece25bf83d1466735c47d7d043a6fab6804ea58c5e5d2e76ef35d431cae6ff4033c095e13a013696d657 SHA512 2a93f500ba92e9e32fe26ecc666aaabda9655f05e00909b6e3ff56faa529c2cd5c4993abc3b3241cb4d95235a1cefdf1f9c57ae7b14ae81265ec7d9271ae3437 EBUILD gruff-0.24.0.ebuild 1614 BLAKE2B 3c5d7e1340772b4d0ff0f98565abd09d9451604ca986ece25bf83d1466735c47d7d043a6fab6804ea58c5e5d2e76ef35d431cae6ff4033c095e13a013696d657 SHA512 2a93f500ba92e9e32fe26ecc666aaabda9655f05e00909b6e3ff56faa529c2cd5c4993abc3b3241cb4d95235a1cefdf1f9c57ae7b14ae81265ec7d9271ae3437 +EBUILD gruff-0.25.0.ebuild 1650 BLAKE2B d9d74f22632c4a2f808c8419826cca4b5aaa305c01030427df3e9486b60bca4680796dea55714faa9e8205a36131a65d540fad5580dd963d4fc278d810be9c9c SHA512 ff90a0cf0dfee901990d1ef16008d82aeb7e411665e1c9e8227ab5dee2e35c13dcb984190707d744f84107545e611ae35560442b7b8e74b93882efa25b2c987e MISC metadata.xml 341 BLAKE2B d27e2cd08a5540fee57b4633b95cfe34569da56bca5e4638fa799aacfdfa8ccd4f3f195ebbca6782da97734bea84ba4adb8f49f08c8ec5b6757a3867ca70dd80 SHA512 ebf3fc986abccac99d46c2d66a1480ec3d9748660c314615b180e390bc5a55d7780c28ff85280390ef0e0f219aee626cae775d44f2c2ec1cfe047157055f20f9 diff --git a/dev-ruby/gruff/gruff-0.25.0.ebuild b/dev-ruby/gruff/gruff-0.25.0.ebuild new file mode 100644 index 000000000000..9aa65e4d5532 --- /dev/null +++ b/dev-ruby/gruff/gruff-0.25.0.ebuild @@ -0,0 +1,58 @@ +# 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_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="test" + +# 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/bigdecimal-3.0 + dev-ruby/histogram + >=dev-ruby/rmagick-5.5:* +" + +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 +} |