summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-03-24 06:47:56 +0100
committerHans de Graaff <graaff@gentoo.org>2017-03-24 06:47:56 +0100
commit6c1d67f700943d9efcc31ed8d017ec80324fc7dc (patch)
tree06d8d33f928c8b9cf62e8b7ed77c8ff250fd427a /dev-ruby/mustache
parentdev-ruby/facter: fixing bug 611018 (diff)
downloadgentoo-6c1d67f700943d9efcc31ed8d017ec80324fc7dc.tar.gz
gentoo-6c1d67f700943d9efcc31ed8d017ec80324fc7dc.tar.bz2
gentoo-6c1d67f700943d9efcc31ed8d017ec80324fc7dc.zip
dev-ruby/mustache: add 1.0.4
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-ruby/mustache')
-rw-r--r--dev-ruby/mustache/Manifest1
-rw-r--r--dev-ruby/mustache/mustache-1.0.4.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/mustache/Manifest b/dev-ruby/mustache/Manifest
index b50b5d63210b..2fb620e6e999 100644
--- a/dev-ruby/mustache/Manifest
+++ b/dev-ruby/mustache/Manifest
@@ -1,2 +1,3 @@
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
+DIST mustache-1.0.4.gem 41984 SHA256 2cb937ef01d3302b4dffb885b0bb738ce260998e0c421a7e7e67e1d409e11e1b SHA512 20c4a9cf5cacd62d4741c884e873095eeffc58afffb935b8f78907bc22de75a2dc591c55b378b8e3635abea625b6e630b6e68cd2a3145736fdd5eeb256168d39 WHIRLPOOL b4aee246f23aab4e70cc24abef7ff580cc2262b1f270fff76026d11dc7b8cb5cb4961fe41afcbdf0d9ea877cd03ed1cf7c23af2fe5431cbabb327cb77d6cdd1d
diff --git a/dev-ruby/mustache/mustache-1.0.4.ebuild b/dev-ruby/mustache/mustache-1.0.4.ebuild
new file mode 100644
index 000000000000..88c1491f0702
--- /dev/null
+++ b/dev-ruby/mustache/mustache-1.0.4.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+
+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 ~x64-macos ~x64-solaris"
+IUSE=""
+
+ruby_add_bdepend "doc? ( app-text/ronn )"
+
+all_ruby_prepare() {
+ # Fix rake deprecation
+ sed -i -e 's:rake/rdoctask:rdoc/task:' Rakefile || die
+
+ sed -i -e '/simplecov/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
+}