pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ruby-mustache Initial import of ruby-mustache, v...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f04fb423a300
branches:  trunk
changeset: 366981:f04fb423a300
user:      nils <nils%pkgsrc.org@localhost>
date:      Mon Aug 21 11:49:31 2017 +0000

description:
Initial import of ruby-mustache, version 1.0.5, into pkgsrc.

Inspired by ctemplate and et, Mustache is a framework-agnostic way
to render logic-free views.
As ctemplates says, "It emphasizes separating logic from presentation:
it is impossible to embed application logic in this template language."
For a list of implementations (other than Ruby) and tips, see
http://mustache.github.io/.

diffstat:

 devel/ruby-mustache/DESCR    |   6 +++
 devel/ruby-mustache/Makefile |  21 +++++++++++
 devel/ruby-mustache/PLIST    |  78 ++++++++++++++++++++++++++++++++++++++++++++
 devel/ruby-mustache/distinfo |   6 +++
 4 files changed, 111 insertions(+), 0 deletions(-)

diffs (127 lines):

diff -r e8980eb8a54b -r f04fb423a300 devel/ruby-mustache/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-mustache/DESCR Mon Aug 21 11:49:31 2017 +0000
@@ -0,0 +1,6 @@
+Inspired by ctemplate and et, Mustache is a framework-agnostic way
+to render logic-free views.
+As ctemplates says, "It emphasizes separating logic from presentation:
+it is impossible to embed application logic in this template language."
+For a list of implementations (other than Ruby) and tips, see
+http://mustache.github.io/.
diff -r e8980eb8a54b -r f04fb423a300 devel/ruby-mustache/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-mustache/Makefile      Mon Aug 21 11:49:31 2017 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2017/08/21 11:49:31 nils Exp $
+
+DISTNAME=              mustache-1.0.5
+PKGNAME=               ${RUBY_PKGPREFIX}-${DISTNAME}
+CATEGORIES=            devel
+
+MAINTAINER=            nils%NetBSD.org@localhost
+HOMEPAGE=              https://mustache.github.io/
+COMMENT=               Logic-less Ruby templates
+LICENSE=               mit
+
+RUBYGEM_OPTIONS+=      --format-executable
+
+INSTALLATION_DIRS+=    ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
+
+post-install:
+       ${LN} -sf ${PREFIX}/${GEM_LIBDIR}/man/mustache.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${RUBY_PKGPREFIX}-mustache.1
+       ${LN} -sf ${PREFIX}/${GEM_LIBDIR}/man/mustache.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/${RUBY_PKGPREFIX}-mustache.5
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r e8980eb8a54b -r f04fb423a300 devel/ruby-mustache/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-mustache/PLIST Mon Aug 21 11:49:31 2017 +0000
@@ -0,0 +1,78 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/21 11:49:31 nils Exp $
+bin/mustache${RUBY_SUFFIX}
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/LICENSE
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/bin/mustache
+${GEM_LIBDIR}/lib/mustache.rb
+${GEM_LIBDIR}/lib/mustache/context.rb
+${GEM_LIBDIR}/lib/mustache/context_miss.rb
+${GEM_LIBDIR}/lib/mustache/enumerable.rb
+${GEM_LIBDIR}/lib/mustache/generator.rb
+${GEM_LIBDIR}/lib/mustache/parser.rb
+${GEM_LIBDIR}/lib/mustache/settings.rb
+${GEM_LIBDIR}/lib/mustache/template.rb
+${GEM_LIBDIR}/lib/mustache/utils.rb
+${GEM_LIBDIR}/lib/mustache/version.rb
+${GEM_LIBDIR}/man/mustache.1
+${GEM_LIBDIR}/man/mustache.1.html
+${GEM_LIBDIR}/man/mustache.1.ron
+${GEM_LIBDIR}/man/mustache.5
+${GEM_LIBDIR}/man/mustache.5.html
+${GEM_LIBDIR}/man/mustache.5.ron
+${GEM_LIBDIR}/test/autoloading_test.rb
+${GEM_LIBDIR}/test/fixtures/comments.mustache
+${GEM_LIBDIR}/test/fixtures/comments.rb
+${GEM_LIBDIR}/test/fixtures/complex_view.mustache
+${GEM_LIBDIR}/test/fixtures/complex_view.rb
+${GEM_LIBDIR}/test/fixtures/crazy_recursive.mustache
+${GEM_LIBDIR}/test/fixtures/crazy_recursive.rb
+${GEM_LIBDIR}/test/fixtures/delimiters.mustache
+${GEM_LIBDIR}/test/fixtures/delimiters.rb
+${GEM_LIBDIR}/test/fixtures/dot_notation.mustache
+${GEM_LIBDIR}/test/fixtures/dot_notation.rb
+${GEM_LIBDIR}/test/fixtures/double_section.mustache
+${GEM_LIBDIR}/test/fixtures/double_section.rb
+${GEM_LIBDIR}/test/fixtures/escaped.mustache
+${GEM_LIBDIR}/test/fixtures/escaped.rb
+${GEM_LIBDIR}/test/fixtures/inner_partial.mustache
+${GEM_LIBDIR}/test/fixtures/inner_partial.txt
+${GEM_LIBDIR}/test/fixtures/inverted_section.mustache
+${GEM_LIBDIR}/test/fixtures/inverted_section.rb
+${GEM_LIBDIR}/test/fixtures/lambda.mustache
+${GEM_LIBDIR}/test/fixtures/lambda.rb
+${GEM_LIBDIR}/test/fixtures/liberal.mustache
+${GEM_LIBDIR}/test/fixtures/liberal.rb
+${GEM_LIBDIR}/test/fixtures/method_missing.rb
+${GEM_LIBDIR}/test/fixtures/namespaced.mustache
+${GEM_LIBDIR}/test/fixtures/namespaced.rb
+${GEM_LIBDIR}/test/fixtures/nested_objects.mustache
+${GEM_LIBDIR}/test/fixtures/nested_objects.rb
+${GEM_LIBDIR}/test/fixtures/node.mustache
+${GEM_LIBDIR}/test/fixtures/partial_with_module.mustache
+${GEM_LIBDIR}/test/fixtures/partial_with_module.rb
+${GEM_LIBDIR}/test/fixtures/passenger.conf
+${GEM_LIBDIR}/test/fixtures/passenger.rb
+${GEM_LIBDIR}/test/fixtures/recursive.mustache
+${GEM_LIBDIR}/test/fixtures/recursive.rb
+${GEM_LIBDIR}/test/fixtures/simple.mustache
+${GEM_LIBDIR}/test/fixtures/simple.rb
+${GEM_LIBDIR}/test/fixtures/simply_complicated.mustache
+${GEM_LIBDIR}/test/fixtures/template_partial.mustache
+${GEM_LIBDIR}/test/fixtures/template_partial.rb
+${GEM_LIBDIR}/test/fixtures/template_partial.txt
+${GEM_LIBDIR}/test/fixtures/unescaped.mustache
+${GEM_LIBDIR}/test/fixtures/unescaped.rb
+${GEM_LIBDIR}/test/fixtures/utf8.mustache
+${GEM_LIBDIR}/test/fixtures/utf8_partial.mustache
+${GEM_LIBDIR}/test/helper.rb
+${GEM_LIBDIR}/test/mustache_test.rb
+${GEM_LIBDIR}/test/parser_test.rb
+${GEM_LIBDIR}/test/partial_test.rb
+${GEM_LIBDIR}/test/spec_test.rb
+${GEM_LIBDIR}/test/template_test.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
+man/man1/${RUBY_PKGPREFIX}-mustache.1
+man/man5/${RUBY_PKGPREFIX}-mustache.5
+@pkgdir lib/ruby/gems/2.0.0/build_info
diff -r e8980eb8a54b -r f04fb423a300 devel/ruby-mustache/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-mustache/distinfo      Mon Aug 21 11:49:31 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/08/21 11:49:31 nils Exp $
+
+SHA1 (mustache-1.0.5.gem) = ea169a2b7d3be2cf5e9ed210e3ffcb557f355303
+RMD160 (mustache-1.0.5.gem) = ee84d2d0349176915c71aca56ad460a41371c9a2
+SHA512 (mustache-1.0.5.gem) = d9b2c55d758bd4e317732307b513e2a079b04ec7a1203233834fd08a3a32f7b1bf8283d207af2f7082a8c4847f9c5955a557f19bad9b08a1dee2f32417eca190
+Size (mustache-1.0.5.gem) = 41984 bytes



Home | Main Index | Thread Index | Old Index