summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortaca <taca>2010-09-12 04:03:14 +0000
committertaca <taca>2010-09-12 04:03:14 +0000
commit6cf7af1b4a352932444e5bbd0313a47a60179696 (patch)
tree197b0b7ee7dbf7184b134e1e54e64022fed2bba0 /devel
parent385c88e3270b44693e03f27f693c85456c032c7f (diff)
downloadpkgsrc-6cf7af1b4a352932444e5bbd0313a47a60179696.tar.gz
Importing devel/ruby-i18n 0.4.1.
Ruby I18n Ruby Internationalization and localization solution. Features: * translation and localization * interpolation of values to translations (Ruby 1.9 compatible syntax) * pluralization (CLDR compatible) * customizable transliteration to ASCII * flexible defaults * bulk lookup * lambdas as translation data * custom key/scope separator * custom exception handlers * extensible architecture with a swappable backend Pluggable features: * Cache * Pluralization: lambda pluralizers stored as translation data * Locale fallbacks, RFC4647 compliant (optionally: RFC4646 locale validation) * Gettext support * Translation metadata Alternative backends: * Chain * ActiveRecord (optionally: ActiveRecord::Missing and ActiveRecord::StoreProcs) * KeyValue (uses active_support/json and cannot store procs)
Diffstat (limited to 'devel')
-rw-r--r--devel/ruby-i18n/DESCR30
-rw-r--r--devel/ruby-i18n/Makefile12
-rw-r--r--devel/ruby-i18n/PLIST41
-rw-r--r--devel/ruby-i18n/distinfo6
-rw-r--r--devel/ruby-i18n/patches/patch-aa15
5 files changed, 104 insertions, 0 deletions
diff --git a/devel/ruby-i18n/DESCR b/devel/ruby-i18n/DESCR
new file mode 100644
index 00000000000..1b3c59c9c1c
--- /dev/null
+++ b/devel/ruby-i18n/DESCR
@@ -0,0 +1,30 @@
+Ruby I18n
+
+Ruby Internationalization and localization solution.
+
+Features:
+
+* translation and localization
+* interpolation of values to translations (Ruby 1.9 compatible syntax)
+* pluralization (CLDR compatible)
+* customizable transliteration to ASCII
+* flexible defaults
+* bulk lookup
+* lambdas as translation data
+* custom key/scope separator
+* custom exception handlers
+* extensible architecture with a swappable backend
+
+Pluggable features:
+
+* Cache
+* Pluralization: lambda pluralizers stored as translation data
+* Locale fallbacks, RFC4647 compliant (optionally: RFC4646 locale validation)
+* Gettext support
+* Translation metadata
+
+Alternative backends:
+
+* Chain
+* ActiveRecord (optionally: ActiveRecord::Missing and ActiveRecord::StoreProcs)
+* KeyValue (uses active_support/json and cannot store procs)
diff --git a/devel/ruby-i18n/Makefile b/devel/ruby-i18n/Makefile
new file mode 100644
index 00000000000..7784c866c38
--- /dev/null
+++ b/devel/ruby-i18n/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/09/12 04:03:14 taca Exp $
+
+DISTNAME= i18n-0.4.1
+CATEGORIES= devel
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://github.com/svenfuchs/i18n
+COMMENT= New wave Internationalization support for Ruby
+LICENSE= mit
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ruby-i18n/PLIST b/devel/ruby-i18n/PLIST
new file mode 100644
index 00000000000..dfd8f29bbd5
--- /dev/null
+++ b/devel/ruby-i18n/PLIST
@@ -0,0 +1,41 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/12 04:03:14 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/CHANGELOG.textile
+${GEM_LIBDIR}/MIT-LICENSE
+${GEM_LIBDIR}/README.textile
+${GEM_LIBDIR}/lib/i18n.rb
+${GEM_LIBDIR}/lib/i18n/backend.rb
+${GEM_LIBDIR}/lib/i18n/backend/active_record.rb
+${GEM_LIBDIR}/lib/i18n/backend/active_record/missing.rb
+${GEM_LIBDIR}/lib/i18n/backend/active_record/store_procs.rb
+${GEM_LIBDIR}/lib/i18n/backend/active_record/translation.rb
+${GEM_LIBDIR}/lib/i18n/backend/base.rb
+${GEM_LIBDIR}/lib/i18n/backend/cache.rb
+${GEM_LIBDIR}/lib/i18n/backend/cascade.rb
+${GEM_LIBDIR}/lib/i18n/backend/chain.rb
+${GEM_LIBDIR}/lib/i18n/backend/cldr.rb
+${GEM_LIBDIR}/lib/i18n/backend/fallbacks.rb
+${GEM_LIBDIR}/lib/i18n/backend/flatten.rb
+${GEM_LIBDIR}/lib/i18n/backend/gettext.rb
+${GEM_LIBDIR}/lib/i18n/backend/interpolation_compiler.rb
+${GEM_LIBDIR}/lib/i18n/backend/key_value.rb
+${GEM_LIBDIR}/lib/i18n/backend/memoize.rb
+${GEM_LIBDIR}/lib/i18n/backend/metadata.rb
+${GEM_LIBDIR}/lib/i18n/backend/pluralization.rb
+${GEM_LIBDIR}/lib/i18n/backend/simple.rb
+${GEM_LIBDIR}/lib/i18n/backend/transliterator.rb
+${GEM_LIBDIR}/lib/i18n/config.rb
+${GEM_LIBDIR}/lib/i18n/core_ext/hash.rb
+${GEM_LIBDIR}/lib/i18n/core_ext/string/interpolate.rb
+${GEM_LIBDIR}/lib/i18n/exceptions.rb
+${GEM_LIBDIR}/lib/i18n/gettext.rb
+${GEM_LIBDIR}/lib/i18n/gettext/helpers.rb
+${GEM_LIBDIR}/lib/i18n/gettext/po_parser.rb
+${GEM_LIBDIR}/lib/i18n/locale.rb
+${GEM_LIBDIR}/lib/i18n/locale/fallbacks.rb
+${GEM_LIBDIR}/lib/i18n/locale/tag.rb
+${GEM_LIBDIR}/lib/i18n/locale/tag/parents.rb
+${GEM_LIBDIR}/lib/i18n/locale/tag/rfc4646.rb
+${GEM_LIBDIR}/lib/i18n/locale/tag/simple.rb
+${GEM_LIBDIR}/lib/i18n/version.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/devel/ruby-i18n/distinfo b/devel/ruby-i18n/distinfo
new file mode 100644
index 00000000000..f0ede268197
--- /dev/null
+++ b/devel/ruby-i18n/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/09/12 04:03:14 taca Exp $
+
+SHA1 (i18n-0.4.1.gem) = ff76842b88a44d20480802a743a3e8d3fe36c281
+RMD160 (i18n-0.4.1.gem) = acaffade6eabdfb6bc3078c90085323a44c33eb5
+Size (i18n-0.4.1.gem) = 36352 bytes
+SHA1 (patch-aa) = 3cd49bba28fd6f72f48b166068ee8e5f1a947237
diff --git a/devel/ruby-i18n/patches/patch-aa b/devel/ruby-i18n/patches/patch-aa
new file mode 100644
index 00000000000..b83205e7720
--- /dev/null
+++ b/devel/ruby-i18n/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2010/09/12 04:03:14 taca Exp $
+
+Allow build with rubygems 1.3.5.
+
+--- ../i18n-0.4.1.gemspec.orig 2010-09-07 08:51:42.000000000 +0000
++++ ../i18n-0.4.1.gemspec
+@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:
+ requirements:
+ - - ">="
+ - !ruby/object:Gem::Version
+- version: 1.3.6
++ version: 1.3.5
+ requirements: []
+
+ rubyforge_project: "[none]"