diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-08-22 07:04:30 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-08-22 07:07:21 +0200 |
commit | f6b6d97291499a452e40e1ff16e5b71233203892 (patch) | |
tree | c13b9f838a0fd332727dbea258f986c1175d4c6c | |
parent | dev-python/numpy: Backport segfault fix to 1.26.0_beta1 (diff) | |
download | gentoo-f6b6d97291499a452e40e1ff16e5b71233203892.tar.gz gentoo-f6b6d97291499a452e40e1ff16e5b71233203892.tar.bz2 gentoo-f6b6d97291499a452e40e1ff16e5b71233203892.zip |
dev-ruby/mime-types: add 3.5.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r-- | dev-ruby/mime-types/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/mime-types/mime-types-3.5.1.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/mime-types/Manifest b/dev-ruby/mime-types/Manifest index 460ae0848d87..ec0d78a32358 100644 --- a/dev-ruby/mime-types/Manifest +++ b/dev-ruby/mime-types/Manifest @@ -1,2 +1,3 @@ DIST mime-types-3.4.1.gem 36864 BLAKE2B 09c6c2fad3cad3535e5c357b49c84b2c1809903235f3bdbeeb766157c48bfc899f32fe95be535feab3c7835c4b535e25b49019c14f51dee1a812fdb735f0f7af SHA512 d0cec7afbe1685c008765997c3047f23bbb0bd10989cd82475805f932e61c400b3d2e60f5f95804c46919b57f0d3644c866be358b0c4c653ace43d62bbc98e4f DIST mime-types-3.5.0.gem 37888 BLAKE2B 1638dbe9dcb5cabf64a05d39d5069b10aad4c9749865a57e089e0e7a9ab6f4073833e6f86008506c634245755e2e66b44e204e68f0c4da4a0052d500e58bbf9e SHA512 c7177a2a54aaa8af88f14222c48011905379586ac160cab420dd7c49bfaa92159dd034398200908f5e18440ff69dbff767390948cbdb92fc325d552ca5087ea8 +DIST mime-types-3.5.1.gem 37888 BLAKE2B 51ae93cf8b3838c5b1353d7dc251ca34ff9519e4df36b4e05b34d9f981d441f7c8ad6952133d6706791a98946e3b3a67a083457fe7919c80ef6c64964ae92f3e SHA512 3bba16ed3ad8050fb4b62b65c3f087885178a2514c7375d949956df81a9ebdeaa7698dba9671ee8bfc958117b1d18dda9679ebf5253300a7ffafde53e8fdeeda diff --git a/dev-ruby/mime-types/mime-types-3.5.1.ebuild b/dev-ruby/mime-types/mime-types-3.5.1.ebuild new file mode 100644 index 000000000000..bcab1e489937 --- /dev/null +++ b/dev-ruby/mime-types/mime-types-3.5.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_EXTRADOC="History.md README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Provides a mailcap-like MIME Content-Type lookup for Ruby" +HOMEPAGE="https://github.com/mime-types/ruby-mime-types" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest:5 dev-ruby/minitest-bonus-assertions:2 dev-ruby/minitest-hooks:1 )" + +ruby_add_rdepend ">=dev-ruby/mime-types-data-3.2015:3" + +all_ruby_prepare() { + # Avoid unneeded developer-only dependencies. + sed -i -e '/\(focus\|rg\)/ s:^:#:' \ + -e 's:fivemat/::' test/minitest_helper.rb || die +} + +each_ruby_test() { + MT_NO_PLUGINS=1 ${RUBY} -Ilib:test:. -e 'require "minitest/autorun"; Dir["test/test_*.rb"].each{|f| require f}' || die +} |