pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ruby-gettext-setup Add ruby-gettext-setup packag...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3f07514546bc
branches:  trunk
changeset: 363474:3f07514546bc
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Jun 10 16:02:10 2017 +0000

description:
Add ruby-gettext-setup package version 0.25.

gettext-setup gem

This is a simple gem to set up i18n for Ruby projects (including Sinatra web
apps) using gettext and fast gettext.

This project sets the default locale to English. If the user has set a
different locale in their browser preferences, and we support the user's
preferred locale, strings and data formatting will be customized for that
locale.

diffstat:

 devel/ruby-gettext-setup/DESCR    |   9 +++++++++
 devel/ruby-gettext-setup/Makefile |  18 ++++++++++++++++++
 devel/ruby-gettext-setup/PLIST    |  34 ++++++++++++++++++++++++++++++++++
 devel/ruby-gettext-setup/distinfo |   6 ++++++
 4 files changed, 67 insertions(+), 0 deletions(-)

diffs (83 lines):

diff -r 47a712e3de4e -r 3f07514546bc devel/ruby-gettext-setup/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-gettext-setup/DESCR    Sat Jun 10 16:02:10 2017 +0000
@@ -0,0 +1,9 @@
+gettext-setup gem
+
+This is a simple gem to set up i18n for Ruby projects (including Sinatra web
+apps) using gettext and fast gettext.
+
+This project sets the default locale to English. If the user has set a
+different locale in their browser preferences, and we support the user's
+preferred locale, strings and data formatting will be customized for that
+locale.
diff -r 47a712e3de4e -r 3f07514546bc devel/ruby-gettext-setup/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-gettext-setup/Makefile Sat Jun 10 16:02:10 2017 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2017/06/10 16:02:10 taca Exp $
+
+DISTNAME=      gettext-setup-0.25
+CATEGORIES=    devel
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/puppetlabs/gettext-setup-gem
+COMMENT=       Ease internationalization with fast_gettext
+LICENSE=       apache-2.0
+
+DEPENDS+=      ${RUBY_PKGPREFIX}-fast_gettext>=1.1.0:../../devel/ruby-fast_gettext
+DEPENDS+=      ${RUBY_PKGPREFIX}-gettext>=3.0.2:../../devel/ruby-gettext
+DEPENDS+=      ${RUBY_PKGPREFIX}-locale>=0:../../devel/ruby-locale
+
+OVERRIDE_GEMSPEC+=     fast_gettext>=1.1.0
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 47a712e3de4e -r 3f07514546bc devel/ruby-gettext-setup/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-gettext-setup/PLIST    Sat Jun 10 16:02:10 2017 +0000
@@ -0,0 +1,34 @@
+@comment $NetBSD: PLIST,v 1.1 2017/06/10 16:02:10 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/LICENSE
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/lib/gettext-setup.rb
+${GEM_LIBDIR}/lib/gettext-setup/gettext_setup.rb
+${GEM_LIBDIR}/lib/gettext-setup/metadata_pot.rb
+${GEM_LIBDIR}/lib/gettext-setup/pot.rb
+${GEM_LIBDIR}/lib/tasks/gettext.rake
+${GEM_LIBDIR}/lib/templates/metadata.pot.erb
+${GEM_LIBDIR}/locales/config-sample.yaml
+${GEM_LIBDIR}/spec/fixtures/fixture_locales/config.yaml
+${GEM_LIBDIR}/spec/fixtures/fixture_locales/fixture_locales.pot
+${GEM_LIBDIR}/spec/fixtures/fixture_locales/jp/fixture_locales.po
+${GEM_LIBDIR}/spec/fixtures/fixture_locales/test_strings.rb
+${GEM_LIBDIR}/spec/fixtures/locales/config.yaml
+${GEM_LIBDIR}/spec/fixtures/locales/de/sinatra-i18n.po
+${GEM_LIBDIR}/spec/fixtures/locales/sinatra-i18n.pot
+${GEM_LIBDIR}/spec/fixtures/spec_locales/config.yaml
+${GEM_LIBDIR}/spec/fixtures/spec_locales/sinatra-i18n.pot
+${GEM_LIBDIR}/spec/fixtures/string_changes/add.pot
+${GEM_LIBDIR}/spec/fixtures/string_changes/change.pot
+${GEM_LIBDIR}/spec/fixtures/string_changes/non_string_changes.pot
+${GEM_LIBDIR}/spec/fixtures/string_changes/old.pot
+${GEM_LIBDIR}/spec/fixtures/string_changes/remove.pot
+${GEM_LIBDIR}/spec/fixtures/tmp_locales/config.yaml
+${GEM_LIBDIR}/spec/fixtures/tmp_locales/de/sinatra-i18n.po
+${GEM_LIBDIR}/spec/fixtures/tmp_locales/sinatra-i18n.pot
+${GEM_LIBDIR}/spec/lib/gettext-setup/gettext_setup_spec.rb
+${GEM_LIBDIR}/spec/lib/gettext-setup/metadata_pot_spec.rb
+${GEM_LIBDIR}/spec/lib/gettext-setup/pot_spec.rb
+${GEM_LIBDIR}/spec/lib/tasks/gettext_rake_spec.rb
+${GEM_LIBDIR}/spec/spec_helper.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r 47a712e3de4e -r 3f07514546bc devel/ruby-gettext-setup/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-gettext-setup/distinfo Sat Jun 10 16:02:10 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/06/10 16:02:10 taca Exp $
+
+SHA1 (gettext-setup-0.25.gem) = e08cf6e7d976526b7f67734d6bd6fcb4427037ab
+RMD160 (gettext-setup-0.25.gem) = 17649210d1a5f525cc6cf4399c1df7a9755728ad
+SHA512 (gettext-setup-0.25.gem) = 09f0aadc739a130d5c11c6094487b788e67d4889687d56379ce11478e45cde18dc4fc173415f3bf57cb22341669e51a99a330052f4477d7fbbb448e184596110
+Size (gettext-setup-0.25.gem) = 15872 bytes



Home | Main Index | Thread Index | Old Index