summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-11-08 07:26:04 +0100
committerHans de Graaff <graaff@gentoo.org>2017-11-08 07:36:41 +0100
commit0259fd5121ec0c035183f1737e8ea5415bbb0fff (patch)
tree9e5e3b1f322ecb71877ff26910a54eee1de13138 /dev-ruby/mini_mime
parentnet-nds/gss-proxy: Add dep for selinux policy (diff)
downloadgentoo-0259fd5121ec0c035183f1737e8ea5415bbb0fff.tar.gz
gentoo-0259fd5121ec0c035183f1737e8ea5415bbb0fff.tar.bz2
gentoo-0259fd5121ec0c035183f1737e8ea5415bbb0fff.zip
dev-ruby/mini_mime: add 1.0.0
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'dev-ruby/mini_mime')
-rw-r--r--dev-ruby/mini_mime/Manifest1
-rw-r--r--dev-ruby/mini_mime/mini_mime-1.0.0.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-ruby/mini_mime/Manifest b/dev-ruby/mini_mime/Manifest
index 46ce11c485d9..2cf23fce099a 100644
--- a/dev-ruby/mini_mime/Manifest
+++ b/dev-ruby/mini_mime/Manifest
@@ -1 +1,2 @@
DIST mini_mime-0.1.4.tar.gz 31171 SHA256 20b9b9a2ca1661e237d523fb39f37a22aaabfe4d57bce980a8ecbede8663b6e0 SHA512 7895ac02fd0cb376241cf6e769428c1587bd4b9a777a6f44cfa6496ddded34c78a253fd9146de883b108a67c02e8cdfba3af1997ba11f6775469c2ac55999157 WHIRLPOOL b7510c8dd8704d59d1043801b0a104dfb86ab0b64e1d404499a6b07f675751140a47f2954bf9c03b4296832ec72d720554e64946514f021f6d74eb0eb4340f1e
+DIST mini_mime-1.0.0.tar.gz 31205 SHA256 3f1f0f1203ee13914ad3306816ded277525427b89a93f3cccfd866256c091fe3 SHA512 dbb976fa23679a42a2e28b06eb33f61ec991e7115e9bbadca7d09cb4b247a2345b14a2cb4fd4897aab5ffb40c710e931302d07ea3dff4ee64e935a70c9e88fff WHIRLPOOL a6cf6a5f292a66868d2629f8b2bfa892827b7737a120cdb6ab23e4699ead4acdf7461e8d13e12556ac7b55be615894fff2b02d0123517e0154520d4dcbf58f3a
diff --git a/dev-ruby/mini_mime/mini_mime-1.0.0.ebuild b/dev-ruby/mini_mime/mini_mime-1.0.0.ebuild
new file mode 100644
index 000000000000..0b5b3fd28ce0
--- /dev/null
+++ b/dev-ruby/mini_mime/mini_mime-1.0.0.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="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 ~ppc"
+IUSE="test"
+
+all_ruby_prepare() {
+ sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
+}