pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
ruby-mustache0: Import ruby-mustache-0.99.8 as wip/ruby-mustache0
Module Name: pkgsrc-wip
Committed By: Atsushi Toyokura <asteria.at%gmail.com@localhost>
Pushed By: steleto
Date: Mon Dec 23 23:46:02 2019 +0900
Changeset: 3eaed10c01c6c4d81c75f28582e305199393f68a
Modified Files:
Makefile
Added Files:
ruby-mustache0/ALTERNATIVES
ruby-mustache0/DESCR
ruby-mustache0/Makefile
ruby-mustache0/PLIST
ruby-mustache0/distinfo
Log Message:
ruby-mustache0: Import ruby-mustache-0.99.8 as wip/ruby-mustache0
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/.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3eaed10c01c6c4d81c75f28582e305199393f68a
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
ruby-mustache0/ALTERNATIVES | 1 +
ruby-mustache0/DESCR | 6 ++++
ruby-mustache0/Makefile | 27 +++++++++++++++
ruby-mustache0/PLIST | 81 +++++++++++++++++++++++++++++++++++++++++++++
ruby-mustache0/distinfo | 6 ++++
6 files changed, 122 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 305b6e07d9..9831bb59de 100644
--- a/Makefile
+++ b/Makefile
@@ -4345,6 +4345,7 @@ SUBDIR+= ruby-kakasi
SUBDIR+= ruby-kramdown1
SUBDIR+= ruby-libv8
SUBDIR+= ruby-multi_xml
+SUBDIR+= ruby-mustache0
SUBDIR+= ruby-neovim
SUBDIR+= ruby-net-http-pipeline
SUBDIR+= ruby-passenger
diff --git a/ruby-mustache0/ALTERNATIVES b/ruby-mustache0/ALTERNATIVES
new file mode 100644
index 0000000000..5ef16e1179
--- /dev/null
+++ b/ruby-mustache0/ALTERNATIVES
@@ -0,0 +1 @@
+bin/mustache @PREFIX@/bin/mustache0@RUBY_SUFFIX@
diff --git a/ruby-mustache0/DESCR b/ruby-mustache0/DESCR
new file mode 100644
index 0000000000..c21464e75a
--- /dev/null
+++ b/ruby-mustache0/DESCR
@@ -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 --git a/ruby-mustache0/Makefile b/ruby-mustache0/Makefile
new file mode 100644
index 0000000000..c0f23fd0ff
--- /dev/null
+++ b/ruby-mustache0/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.2 2019/02/25 14:53:05 taca Exp $
+
+DISTNAME= mustache-0.99.8
+PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/mustache/mustache0/}
+CATEGORIES= devel
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://mustache.github.io/
+COMMENT= Logic-less Ruby templates
+LICENSE= mit
+
+RUBYGEM_OPTIONS+= --format-executable
+COMMANDS= mustache
+
+INSTALLATION_DIRS+= ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
+
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && \
+ for f in ${COMMANDS}; do \
+ ${TEST} -f $${f}0${RUBY_SUFFIX} || \
+ ${MV} $${f}${RUBY_SUFFIX} $${f}0${RUBY_SUFFIX}; \
+ done
+ ${LN} -sf ${PREFIX}/${GEM_LIBDIR}/man/mustache.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${RUBY_PKGPREFIX}-mustache0.1
+ ${LN} -sf ${PREFIX}/${GEM_LIBDIR}/man/mustache.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/${RUBY_PKGPREFIX}-mustache0.5
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/ruby-mustache0/PLIST b/ruby-mustache0/PLIST
new file mode 100644
index 0000000000..c6d3dc07c5
--- /dev/null
+++ b/ruby-mustache0/PLIST
@@ -0,0 +1,81 @@
+@comment $NetBSD$
+bin/mustache0${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/enumerable.rb
+${GEM_LIBDIR}/lib/mustache/generator.rb
+${GEM_LIBDIR}/lib/mustache/parser.rb
+${GEM_LIBDIR}/lib/mustache/settings.rb
+${GEM_LIBDIR}/lib/mustache/sinatra.rb
+${GEM_LIBDIR}/lib/mustache/template.rb
+${GEM_LIBDIR}/lib/mustache/version.rb
+${GEM_LIBDIR}/lib/rack/bug/panels/mustache_panel.rb
+${GEM_LIBDIR}/lib/rack/bug/panels/mustache_panel/mustache_extension.rb
+${GEM_LIBDIR}/lib/rack/bug/panels/mustache_panel/view.mustache
+${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_NAME}-mustache0.1
+man/man5/${RUBY_NAME}-mustache0.5
+@pkgdir lib/ruby/gems/2.6.0/extensions
+@pkgdir lib/ruby/gems/2.6.0/build_info
diff --git a/ruby-mustache0/distinfo b/ruby-mustache0/distinfo
new file mode 100644
index 0000000000..d4603e4726
--- /dev/null
+++ b/ruby-mustache0/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.2 2019/02/25 14:53:05 taca Exp $
+
+SHA1 (mustache-0.99.8.gem) = 0baaada539b2dcb5175bcdac186f407228acce7c
+RMD160 (mustache-0.99.8.gem) = 2a8af1051705ec66140feb44137f77f674cf657f
+SHA512 (mustache-0.99.8.gem) = c0df31005968580bf82d03aad40d9373f703a116cd3de2b0a61572e3e9808cb0c221d126cbffb7478e297814f131981122bcfa7045eca7b0d97396b190251868
+Size (mustache-0.99.8.gem) = 43520 bytes
Home |
Main Index |
Thread Index |
Old Index