summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-08-12 06:40:51 +0200
committerHans de Graaff <graaff@gentoo.org>2017-08-12 07:10:06 +0200
commitaeaecd68d1c2c4f886661c268842d16549657449 (patch)
treef2961dc93f661f2862de953806ec88e7303a34bb /dev-ruby/mini_mime
parentdev-ruby/autoprefixer-rails: add 7.1.2.4 (diff)
downloadgentoo-aeaecd68d1c2c4f886661c268842d16549657449.tar.gz
gentoo-aeaecd68d1c2c4f886661c268842d16549657449.tar.bz2
gentoo-aeaecd68d1c2c4f886661c268842d16549657449.zip
dev-ruby/mini_mime: add 0.1.4
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-ruby/mini_mime')
-rw-r--r--dev-ruby/mini_mime/Manifest1
-rw-r--r--dev-ruby/mini_mime/mini_mime-0.1.4.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-ruby/mini_mime/Manifest b/dev-ruby/mini_mime/Manifest
index 6923168b476d..b0424173ce40 100644
--- a/dev-ruby/mini_mime/Manifest
+++ b/dev-ruby/mini_mime/Manifest
@@ -1 +1,2 @@
DIST mini_mime-0.1.3.tar.gz 30971 SHA256 2c936a7b1b6283a6641b9152c5e1b813dfee5ba4f5d35dea7a837d03537ab900 SHA512 3025f79b1a35d8695efd136ecc7cfea1f27f252734188a34e79b3d56780703b4bed115ce511326987bd08a76011394a6a5804355b2647add40581f2f805a923b WHIRLPOOL e37c7e5a250b2b8fee45adb36dcbe7263344257a126774519f4995d5588301e5beb4c858ca80c1111cb056f69ee40c0366f60c7f6e5d88cf0bacaf864a43f946
+DIST mini_mime-0.1.4.tar.gz 31171 SHA256 20b9b9a2ca1661e237d523fb39f37a22aaabfe4d57bce980a8ecbede8663b6e0 SHA512 7895ac02fd0cb376241cf6e769428c1587bd4b9a777a6f44cfa6496ddded34c78a253fd9146de883b108a67c02e8cdfba3af1997ba11f6775469c2ac55999157 WHIRLPOOL b7510c8dd8704d59d1043801b0a104dfb86ab0b64e1d404499a6b07f675751140a47f2954bf9c03b4296832ec72d720554e64946514f021f6d74eb0eb4340f1e
diff --git a/dev-ruby/mini_mime/mini_mime-0.1.4.ebuild b/dev-ruby/mini_mime/mini_mime-0.1.4.ebuild
new file mode 100644
index 000000000000..c4335096ed6f
--- /dev/null
+++ b/dev-ruby/mini_mime/mini_mime-0.1.4.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+RUBY_FAKEGEM_GEMSPEC="mini_mime.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A lightweight mime type lookup toy"
+HOMEPAGE="https://github.com/discourse/mini_mime"
+SRC_URI="https://github.com/discourse/mini_mime/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+all_ruby_prepare() {
+ sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
+}