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.
This commit is contained in:
parent
4730cba76c
commit
231b59dae0
4 changed files with 67 additions and 0 deletions
9
devel/ruby-gettext-setup/DESCR
Normal file
9
devel/ruby-gettext-setup/DESCR
Normal file
|
@ -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.
|
18
devel/ruby-gettext-setup/Makefile
Normal file
18
devel/ruby-gettext-setup/Makefile
Normal file
|
@ -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
|
||||
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"
|
34
devel/ruby-gettext-setup/PLIST
Normal file
34
devel/ruby-gettext-setup/PLIST
Normal file
|
@ -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
|
6
devel/ruby-gettext-setup/distinfo
Normal file
6
devel/ruby-gettext-setup/distinfo
Normal file
|
@ -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
|
Loading…
Reference in a new issue