summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-08-09 09:12:41 +0200
committerHans de Graaff <graaff@gentoo.org>2020-08-09 11:47:28 +0200
commite4cc4c7e57982ee444c5896bf2009fdd42be8042 (patch)
tree087d8c602f181249f611a5ca0aa867877ffa0c38
parentdev-ruby/mime-types: amd64 stable (diff)
downloadgentoo-e4cc4c7e57982ee444c5896bf2009fdd42be8042.tar.gz
gentoo-e4cc4c7e57982ee444c5896bf2009fdd42be8042.tar.bz2
gentoo-e4cc4c7e57982ee444c5896bf2009fdd42be8042.zip
dev-ruby/mimemagic: add 0.3.5
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r--dev-ruby/mimemagic/Manifest1
-rw-r--r--dev-ruby/mimemagic/mimemagic-0.3.5.ebuild24
2 files changed, 25 insertions, 0 deletions
diff --git a/dev-ruby/mimemagic/Manifest b/dev-ruby/mimemagic/Manifest
index cb7ee4af715..6055a9810ca 100644
--- a/dev-ruby/mimemagic/Manifest
+++ b/dev-ruby/mimemagic/Manifest
@@ -1,2 +1,3 @@
DIST mimemagic-0.3.3.gem 402944 BLAKE2B 422dd8bcadb2f04fcad2956339cf66a9b5c256462775be9c222b1be968ebde185e15c1fc0107d495dcad6dde59b7a35910d0139740d96a474ec037ccf181f2cc SHA512 ea62cf519af76324ed62863142422a4b5546927b243a9ac45c37ae0b8bfc97813b2276a1fd898bce470b091b1818190a0dc1637d167233a2e187d78e27bb8b77
DIST mimemagic-0.3.4.gem 410112 BLAKE2B 42838f488bce370f3ea4bf7519f94b64b4e444f04a8758ac19ea1688e003158b000de22274c53451fd471c22de9773b9024f7823ea842e59fe0321301570f0dc SHA512 40b97e523fe96bba28bcc80da02d824c5a3d3be55b0bb1ae1e4eed0337ae8d8e625325adcbfcacd19a2b1ccefbd77b6c3a20af1cf00e03722959ba98659d4281
+DIST mimemagic-0.3.5.gem 410112 BLAKE2B 19b68c246a3a5eb06a56e44c128f8321488c2d81a2d678bce5a31adb4389aca36844f16e8ff842dce9f8552a164c2e2e4547c34d8dd4835d57edd3a9afcff090 SHA512 3140946b3bc3dc33fcd15836c8ee69ca5471e02a063a473ea32993f633883969fec4be4382711aad950cc7e7c5031e9bfb5e0f5fda61c4cd7b4b94546490004e
diff --git a/dev-ruby/mimemagic/mimemagic-0.3.5.ebuild b/dev-ruby/mimemagic/mimemagic-0.3.5.ebuild
new file mode 100644
index 00000000000..013a57de414
--- /dev/null
+++ b/dev-ruby/mimemagic/mimemagic-0.3.5.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Fast mime detection by extension or content"
+HOMEPAGE="https://github.com/minad/mimemagic"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/minitest )"
+
+all_ruby_prepare() {
+ # Fix broken test, already fixed upstream
+ sed -i -e 's/htm html/html htm/' test/mimemagic_test.rb || die
+}