Date: Mon, 2 Jan 2017 10:13:34 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r430333 - in head/devel: . rubygem-gettext-setup rubygem-gettext-setup/files Message-ID: <201701021013.v02ADYSQ024205@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Mon Jan 2 10:13:33 2017 New Revision: 430333 URL: https://svnweb.freebsd.org/changeset/ports/430333 Log: Add rubygem-gettext-setup 0.10 gettext-setup 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. WWW: https://github.com/puppetlabs/gettext-setup-gem Added: head/devel/rubygem-gettext-setup/ head/devel/rubygem-gettext-setup/Makefile (contents, props changed) head/devel/rubygem-gettext-setup/distinfo (contents, props changed) head/devel/rubygem-gettext-setup/files/ head/devel/rubygem-gettext-setup/files/patch-gemspec (contents, props changed) head/devel/rubygem-gettext-setup/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Mon Jan 2 10:06:17 2017 (r430332) +++ head/devel/Makefile Mon Jan 2 10:13:33 2017 (r430333) @@ -5164,6 +5164,7 @@ SUBDIR += rubygem-get_process_mem SUBDIR += rubygem-getopt SUBDIR += rubygem-gettext + SUBDIR += rubygem-gettext-setup SUBDIR += rubygem-gh SUBDIR += rubygem-gibbler SUBDIR += rubygem-gio2 Added: head/devel/rubygem-gettext-setup/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-gettext-setup/Makefile Mon Jan 2 10:13:33 2017 (r430333) @@ -0,0 +1,21 @@ +# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= gettext-setup +PORTVERSION= 0.10 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Set up i18n for Ruby projects + +LICENSE= APACHE20 + +RUN_DEPENDS= rubygem-fast_gettext>=1.1.0:devel/rubygem-fast_gettext \ + rubygem-gettext>=3.0.2:devel/rubygem-gettext + +NO_ARCH= yes +USE_RUBY= yes +USES= gem + +.include <bsd.port.mk> Added: head/devel/rubygem-gettext-setup/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-gettext-setup/distinfo Mon Jan 2 10:13:33 2017 (r430333) @@ -0,0 +1,3 @@ +TIMESTAMP = 1483345071 +SHA256 (rubygem/gettext-setup-0.10.gem) = ec5be33297c6891268f25a2ec4f1d8fedb315de5dc3260a7bfacc260f6ef7d95 +SIZE (rubygem/gettext-setup-0.10.gem) = 10240 Added: head/devel/rubygem-gettext-setup/files/patch-gemspec ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-gettext-setup/files/patch-gemspec Mon Jan 2 10:13:33 2017 (r430333) @@ -0,0 +1,11 @@ +--- gettext-setup.gemspec.orig 2017-01-02 08:20:25 UTC ++++ gettext-setup.gemspec +@@ -23,7 +23,7 @@ Gem::Specification.new do |s| + + if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then + s.add_runtime_dependency(%q<gettext>.freeze, [">= 3.0.2"]) +- s.add_runtime_dependency(%q<fast_gettext>.freeze, ["~> 1.1.0"]) ++ s.add_runtime_dependency(%q<fast_gettext>.freeze, [">= 1.1.0"]) + s.add_development_dependency(%q<bundler>.freeze, ["~> 1.3"]) + s.add_development_dependency(%q<rake>.freeze, [">= 0"]) + s.add_development_dependency(%q<rack-test>.freeze, [">= 0"]) Added: head/devel/rubygem-gettext-setup/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-gettext-setup/pkg-descr Mon Jan 2 10:13:33 2017 (r430333) @@ -0,0 +1,8 @@ +gettext-setup 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. + +WWW: https://github.com/puppetlabs/gettext-setup-gem
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701021013.v02ADYSQ024205>