diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-11-22 07:53:39 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-11-22 07:56:06 +0100 |
commit | d919cc784fb3f6375b1841c6bb14b50788271f7f (patch) | |
tree | 662d49b21c7c0c6c2e2b81259d4a664dffc22941 /dev-ruby | |
parent | dev-ruby/metaclass: all arches stable (diff) | |
download | gentoo-d919cc784fb3f6375b1841c6bb14b50788271f7f.tar.gz gentoo-d919cc784fb3f6375b1841c6bb14b50788271f7f.tar.bz2 gentoo-d919cc784fb3f6375b1841c6bb14b50788271f7f.zip |
dev-ruby/mime-types: add 2.99.3
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/mime-types/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/mime-types/mime-types-2.99.3.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/mime-types/Manifest b/dev-ruby/mime-types/Manifest index 7fc8677ce27e..7df4b2f13236 100644 --- a/dev-ruby/mime-types/Manifest +++ b/dev-ruby/mime-types/Manifest @@ -1,3 +1,4 @@ DIST mime-types-2.99.2.gem 149504 BLAKE2B d2088d606b0210a8607d351ce7b7e3b7f25c3d518eaa3cb32ccfbf56a16eea104c908614f315317cece175003261d240f43bbf203619b54da35702abb94be8ce SHA512 46b3add451c3a6879f0f5df5f1e09c41d78d5a5b3872c2fcae7c8b097008cb04a9f5606360af9cc9880d7d659fe2dad19a118e6dfca1774ec3f5a5b852e31720 +DIST mime-types-2.99.3.gem 149504 BLAKE2B f0e34e5379948e5e742f3d9db0214bcf40bcdf425866509fe40e74188673b779da11980ab68d202c5129295ecda1a19f4b177f51f1add0b413f29669717060b7 SHA512 1a71cbe2baed27fa14a914e2ad112545c42c7560e93617a41fd3a5bf61e0ee1e5b5385e0cca7488302aecfc25eb6cd071a33d57291aa4c3280cb2621989daa48 DIST mime-types-3.3.1.gem 36352 BLAKE2B 66b97cc51d157d445d05823a3059efb6684a59d6b976945df77beb6497979a83d3ada4832cc36a42b6fad2353d1b5f2d7d1271a7947a0264978f30b857c0c7c3 SHA512 48646c5d3cc1b65ad0418bd765c86102d5dd7d0196f1b2b4b92acd350d6927e0c0fec3d30d04bf8b073d342f56b38663dee791f2c87f82b5743c6508265692ec DIST mime-types-3.4.1.gem 36864 BLAKE2B 09c6c2fad3cad3535e5c357b49c84b2c1809903235f3bdbeeb766157c48bfc899f32fe95be535feab3c7835c4b535e25b49019c14f51dee1a812fdb735f0f7af SHA512 d0cec7afbe1685c008765997c3047f23bbb0bd10989cd82475805f932e61c400b3d2e60f5f95804c46919b57f0d3644c866be358b0c4c653ace43d62bbc98e4f diff --git a/dev-ruby/mime-types/mime-types-2.99.3.ebuild b/dev-ruby/mime-types/mime-types-2.99.3.ebuild new file mode 100644 index 000000000000..d9f1f84c1fbb --- /dev/null +++ b/dev-ruby/mime-types/mime-types-2.99.3.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ruby30: not compatible +USE_RUBY="ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="History.rdoc History-Types.rdoc README.rdoc" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +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 Artistic GPL-2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest:5 )" + +all_ruby_prepare() { + # Avoid unneeded dependency on minitest-focus. + sed -i -e '/focus/ s:^:#:' \ + -e 's:fivemat/::' \ + test/minitest_helper.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} |