summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-03-28 07:48:57 +0200
committerHans de Graaff <graaff@gentoo.org>2016-03-28 07:48:57 +0200
commit3c2b970768c5edc07d29303cc00964e5d38dd201 (patch)
tree5c65be8287f6ceac458812cc4df652a48b451b4d /dev-ruby/mustache
parentapp-portage/portage-utils: version bump to 0.63 (diff)
downloadgentoo-3c2b970768c5edc07d29303cc00964e5d38dd201.tar.gz
gentoo-3c2b970768c5edc07d29303cc00964e5d38dd201.tar.bz2
gentoo-3c2b970768c5edc07d29303cc00964e5d38dd201.zip
dev-ruby/mustache: add 1.0.3
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-ruby/mustache')
-rw-r--r--dev-ruby/mustache/Manifest1
-rw-r--r--dev-ruby/mustache/mustache-1.0.3.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-ruby/mustache/Manifest b/dev-ruby/mustache/Manifest
index f716c64afacb..de07f7ecb3e9 100644
--- a/dev-ruby/mustache/Manifest
+++ b/dev-ruby/mustache/Manifest
@@ -1,2 +1,3 @@
DIST mustache-0.99.5.gem 41472 SHA256 c84be205017ada80aa4d4ad16b7af4bd89f840b26125a0e8eead5a914d279005 SHA512 fa85db8a2d0beea5bac93bf4214db0b65d275b7a01b4a16dbfcab0084d6a7701060d7b7cf090901830fbae2db5caa1973af427396407040053af9966782b55ef WHIRLPOOL 2c8562417ecaf1abe3073ba6a47053692f844e4e66bee7c1ea0893f908dd9f2db304a5d0de5ebe25f6866e312a1a8b6c0dfe1d9cfa5654513cb9578060af1bab
DIST mustache-1.0.2.gem 40960 SHA256 e79dbc8bae087011ace17bfbc4ee1e652b1d5efa5d56316b09b7c2256f447d34 SHA512 4bc50bf67317e9815b125c25cd94b6c6943b4c7cdeeae3118d29b002279386f00f73a38bfcba9072253cd389634c44a8da9aba775989ab235a444796e4634450 WHIRLPOOL 310359b29b8e9a948c92e9e82045ca7b2f8f01e52c63c13d345bc01c4b3ea5949d3f765d301e9cc209facb59748f459fadb98ac91bc6edfe50f1ba9026ab5f32
+DIST mustache-1.0.3.gem 40960 SHA256 4ed9d389e41c54f000ad33bba6d1939a5685c0a0c3eb02d707fc21bddf6e97ec SHA512 2329a8f63fd025cbf2dee7c8034b0914d5348874775a4df9067a8af9aa566c639dfa7a5fabf63c3f48d520d4b5b901ae47e880e5a85213c253780036e1650255 WHIRLPOOL f52f321004de712ee9a768b64d781cea9180277e1fbbd4a2303b5fa5930027be091a31b4c0d5d1f6cc34c469a499e983e60762f8b51d04a97e94397b7324bd53
diff --git a/dev-ruby/mustache/mustache-1.0.3.ebuild b/dev-ruby/mustache/mustache-1.0.3.ebuild
new file mode 100644
index 000000000000..1cc806de0b45
--- /dev/null
+++ b/dev-ruby/mustache/mustache-1.0.3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_TASK_TEST=""
+
+RUBY_FAKEGEM_TASK_DOC="man:build"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="Mustache is a framework-agnostic way to render logic-free views"
+HOMEPAGE="https://mustache.github.com/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+ruby_add_bdepend "doc? ( app-text/ronn )"
+
+all_ruby_prepare() {
+ # Fix rake deprecation
+ sed -i -e 's:rake/rdoctask:rdoc/task:' Rakefile || die
+
+ # Avoid code climate dependency.
+ sed -i -e '/codeclimate/I s:^:#:' test/helper.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:. -e "Dir['test/*.rb'].each{|f| require f}" || die
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ doman man/mustache.1 man/mustache.5
+}