diff options
author | Hans de Graaff <graaff@gentoo.org> | 2015-11-22 09:29:15 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2015-11-22 09:29:45 +0100 |
commit | 7183ce4bc4c41d3c404ed18bc4635d4d177c8f3c (patch) | |
tree | c2899f0de4613e6121dcd1a10db73f05ce529459 /dev-ruby/mime-types | |
parent | dev-ruby/minitest-bonus-assertions: add missing test dependency (diff) | |
download | gentoo-7183ce4bc4c41d3c404ed18bc4635d4d177c8f3c.tar.gz gentoo-7183ce4bc4c41d3c404ed18bc4635d4d177c8f3c.tar.bz2 gentoo-7183ce4bc4c41d3c404ed18bc4635d4d177c8f3c.zip |
dev-ruby/mime-types: add 3.0
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-ruby/mime-types')
-rw-r--r-- | dev-ruby/mime-types/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/mime-types/mime-types-3.0.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/mime-types/Manifest b/dev-ruby/mime-types/Manifest index 2a7cffdfa5c5..d65c363be8b6 100644 --- a/dev-ruby/mime-types/Manifest +++ b/dev-ruby/mime-types/Manifest @@ -2,3 +2,4 @@ DIST mime-types-1.23.gem 55296 SHA256 fa29671c5f80a5dbafe3111814f1bf289af91f422c DIST mime-types-1.25.1.gem 61440 SHA256 88ef3c596481678710ffd4018fa40f1999b02d97babea39682ba7d5badd21f56 SHA512 50a79bc0378bb9bf694656b15ac69446447fc863a5a6556e68ad736768627c9f43e59c68b0ed141cee5dbd81a8ccca1a33a61aa01af7d0a5949b00d6edb6525e WHIRLPOOL 65da6addc3f1f4b6c730eadbeabf285a0a85452d90ff036820d3cb1940311248cdcf12a21e836c4b3d03af8ea73f33f642d071f2bb8fdf9556b05cdf974b16d4 DIST mime-types-2.4.3.gem 118272 SHA256 38f29a89a273d15bfb99e839c6fe5cf7c463f223dd7ac5ee3c9287b1acd6d19a SHA512 7b04ad54819cb813480d90e2f831f3613f5e8d07581f23c632899c7b511c2579c54f402e7b216ca9baea6eff62ad5ddd7602b21f13e1c51aab5416eb629d1bdd WHIRLPOOL 1c28b4fc52460d03f85b7fb86bbe7840775d5f0d3d50f33b04b660879460f12478a08db29aa3c4cadedf2f2bee2332b65687d491cc2b2928f0198950da1ee28c DIST mime-types-2.6.2.gem 190976 SHA256 b595583540f1228dd24978c0f87cf1918e4f2c709fe5d517fb6706cbb35ede8c SHA512 a083d865ba39e1b0e468c26823e82472d6bcb501e7dda047f1206b538e2f018d51d8bb31fd6734ba706a8352ade42bb40c52df1837402c3cb4fa01778772485c WHIRLPOOL 63fd4a3a2ed82a479be3bc6883c3a14b7592269609d8f6a97292eb8435f449189c1b7961ab477ca66ae1048b453e1e8edcb2f5c235e319c7af3f80704d7e8cf9 +DIST mime-types-3.0.gem 44032 SHA256 2a7f8a73648ee1de0e97eb9692e8ca3761bf420c8df64024f21befa4d060d2ea SHA512 762ad862714f31cf68c9f872f23efc9c85ab0ab4f451553dd4a7ec30ac5bfce804037a413ae05bad253f4a4f82ba6578e3f3e87aa11b5e525d3f237fdf547850 WHIRLPOOL d195d9bdbfbdc786875cedf5ee7d1b08fb4fc3efd33dce11a4dc3329b40ba969ad9ecfeb600ac843096b55ed72f302ae4c12cffe8b61d968259fd1e90261b587 diff --git a/dev-ruby/mime-types/mime-types-3.0.ebuild b/dev-ruby/mime-types/mime-types-3.0.ebuild new file mode 100644 index 000000000000..859eade4eb26 --- /dev/null +++ b/dev-ruby/mime-types/mime-types-3.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +USE_RUBY="ruby20 ruby21 ruby22" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="History.rdoc 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 ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest:5 )" + +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() { + ${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} |