diff options
author | Hans de Graaff <graaff@gentoo.org> | 2019-12-04 07:05:29 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2019-12-04 07:05:29 +0100 |
commit | fe296e91d140ad129fe7e375136e84bbb48b9591 (patch) | |
tree | 3d2f425e43843033c13cb8c2d5470e415b0d85c7 /dev-ruby/mustache | |
parent | dev-ruby/google-protobuf: add 3.11.1 (diff) | |
download | gentoo-fe296e91d140ad129fe7e375136e84bbb48b9591.tar.gz gentoo-fe296e91d140ad129fe7e375136e84bbb48b9591.tar.bz2 gentoo-fe296e91d140ad129fe7e375136e84bbb48b9591.zip |
dev-ruby/mustache: add 1.1.1
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/mustache')
-rw-r--r-- | dev-ruby/mustache/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/mustache/mustache-1.1.1.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/mustache/Manifest b/dev-ruby/mustache/Manifest index 5c35f594eab7..1f4562f1e3b2 100644 --- a/dev-ruby/mustache/Manifest +++ b/dev-ruby/mustache/Manifest @@ -1,2 +1,3 @@ DIST mustache-1.0.5.gem 41984 BLAKE2B c063af6c9464884114b55c30df6c6cb2685b0394aa9280f006b6c35cd0681c8776edddccd1a33de75e291a2e1992477c1d70f6cb1c603e800b08be5b989a9ca0 SHA512 d9b2c55d758bd4e317732307b513e2a079b04ec7a1203233834fd08a3a32f7b1bf8283d207af2f7082a8c4847f9c5955a557f19bad9b08a1dee2f32417eca190 DIST mustache-1.1.0.gem 42496 BLAKE2B f2bef262238a6e335decf2295d1d55c7865d9e2181f7772d2359bde99441536c4f1b44a103f2ee9be8e6933027ea0241f7027410d9a506732ac8affe9a72ea22 SHA512 5e8daa7cfb6151e86e5d2223a026538194e03331bcd74f15704404795eb8c6c28899f29fa9fe421fe38e026b38ad734fe5574d2a6d4aa1e53ed5a566a8061c61 +DIST mustache-1.1.1.gem 42496 BLAKE2B bd1becb1c296abf03cdd6c7d5a6f29b71dc6328c126dbb27420872088b3b6988ac56d91c13f669cca94932f23f4290277d9ca6597ff842ff226e092c2532dccb SHA512 91a18a374a0348317d0801d6784fedd0782d7a08f128d3ab7050e631b34e45cecd49c4b1e2a9e17204f70bf169c107a92a1e210532bd3faa98edf8b1b5e8e43c diff --git a/dev-ruby/mustache/mustache-1.1.1.ebuild b/dev-ruby/mustache/mustache-1.1.1.ebuild new file mode 100644 index 000000000000..c0ec81e53847 --- /dev/null +++ b/dev-ruby/mustache/mustache-1.1.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +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 ~amd64-linux ~x86-linux ~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 +} |