diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-12-08 08:20:32 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-12-08 08:47:23 +0100 |
commit | 9e5f8379695df26c693c954a9dce94c3182126d9 (patch) | |
tree | 0d0dd6e0d7b225370844c420e45683d02df45f5c /dev-ruby/mustache | |
parent | dev-ruby/mixlib-shellout: cleanup (diff) | |
download | gentoo-9e5f8379695df26c693c954a9dce94c3182126d9.tar.gz gentoo-9e5f8379695df26c693c954a9dce94c3182126d9.tar.bz2 gentoo-9e5f8379695df26c693c954a9dce94c3182126d9.zip |
dev-ruby/mustache: add 1.1.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/mustache')
-rw-r--r-- | dev-ruby/mustache/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/mustache/mustache-1.1.0.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/mustache/Manifest b/dev-ruby/mustache/Manifest index f502cf0a89c4..5c35f594eab7 100644 --- a/dev-ruby/mustache/Manifest +++ b/dev-ruby/mustache/Manifest @@ -1 +1,2 @@ DIST mustache-1.0.5.gem 41984 BLAKE2B c063af6c9464884114b55c30df6c6cb2685b0394aa9280f006b6c35cd0681c8776edddccd1a33de75e291a2e1992477c1d70f6cb1c603e800b08be5b989a9ca0 SHA512 d9b2c55d758bd4e317732307b513e2a079b04ec7a1203233834fd08a3a32f7b1bf8283d207af2f7082a8c4847f9c5955a557f19bad9b08a1dee2f32417eca190 +DIST mustache-1.1.0.gem 42496 BLAKE2B f2bef262238a6e335decf2295d1d55c7865d9e2181f7772d2359bde99441536c4f1b44a103f2ee9be8e6933027ea0241f7027410d9a506732ac8affe9a72ea22 SHA512 5e8daa7cfb6151e86e5d2223a026538194e03331bcd74f15704404795eb8c6c28899f29fa9fe421fe38e026b38ad734fe5574d2a6d4aa1e53ed5a566a8061c61 diff --git a/dev-ruby/mustache/mustache-1.1.0.ebuild b/dev-ruby/mustache/mustache-1.1.0.ebuild new file mode 100644 index 000000000000..a122c41cb8f0 --- /dev/null +++ b/dev-ruby/mustache/mustache-1.1.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25" + +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 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x64-macos ~x64-solaris" +IUSE="" + +ruby_add_bdepend "doc? ( app-text/ronn )" + +all_ruby_prepare() { + # Fix for renamed .ron files + sed -i -e 's:\.ronn:.ron:' Rakefile || die + + sed -i -e '/simplecov/,/^end/ 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 +} |