summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2014-07-24 06:30:59 +0000
committerHans de Graaff <graaff@gentoo.org>2014-07-24 06:30:59 +0000
commite58180a12011f385c0b56199ba9306e8f1ce6549 (patch)
tree0a3120a721bd6f175cb596e310aa436186a621ff /dev-ruby/fast_gettext
parentRequire media-libs/fontconfig during build. Bug #514416 (diff)
downloadhistorical-e58180a12011f385c0b56199ba9306e8f1ce6549.tar.gz
historical-e58180a12011f385c0b56199ba9306e8f1ce6549.tar.bz2
historical-e58180a12011f385c0b56199ba9306e8f1ce6549.zip
Version bump.
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0x8883FA56A308A8D7!
Diffstat (limited to 'dev-ruby/fast_gettext')
-rw-r--r--dev-ruby/fast_gettext/ChangeLog7
-rw-r--r--dev-ruby/fast_gettext/Manifest12
-rw-r--r--dev-ruby/fast_gettext/fast_gettext-0.9.0.ebuild56
3 files changed, 69 insertions, 6 deletions
diff --git a/dev-ruby/fast_gettext/ChangeLog b/dev-ruby/fast_gettext/ChangeLog
index 825c1df53a6b..940f319065c4 100644
--- a/dev-ruby/fast_gettext/ChangeLog
+++ b/dev-ruby/fast_gettext/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/fast_gettext
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fast_gettext/ChangeLog,v 1.27 2014/06/26 09:00:00 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fast_gettext/ChangeLog,v 1.28 2014/07/24 06:30:13 graaff Exp $
+
+*fast_gettext-0.9.0 (24 Jul 2014)
+
+ 24 Jul 2014; Hans de Graaff <graaff@gentoo.org> +fast_gettext-0.9.0.ebuild:
+ Version bump.
26 Jun 2014; Hans de Graaff <graaff@gentoo.org> fast_gettext-0.8.1.ebuild:
Add ruby20, ruby21.
diff --git a/dev-ruby/fast_gettext/Manifest b/dev-ruby/fast_gettext/Manifest
index 2a652bce10ca..5cdcb3a699be 100644
--- a/dev-ruby/fast_gettext/Manifest
+++ b/dev-ruby/fast_gettext/Manifest
@@ -3,14 +3,16 @@ Hash: SHA256
DIST fast_gettext-0.7.1.gem 86528 SHA256 82a181827a8dc28af45cc02304644dc6ca7d3141f402baf576411fdb1d7fa42c SHA512 b2b63bb0021844652400e3db36deaf66fb50beefd4908c7f6701431a7f0f1ab1c8298e6759f0eab82a302272f7de875b8454034a0b2adff574b88adecc8ad05a WHIRLPOOL af92ffa5a9854bbd4f09554ffb29a4d88c76eead873e06bd32ab4563635b9f6cffe3b680c03cd74a2aec6879814174393b2978921fc35db78c5b63f789a22723
DIST fast_gettext-0.8.1.gem 89600 SHA256 85b78738c05af23cdfc75c64e3dcf2a1a6966536723aad5c8619f05cd8ba15e5 SHA512 b918d1c27943cf2aaaf3d12a7708f737859d8268ccadb37807712bc63a9963a0c029750a8c359d2708fd5ce53d1c782518af038b78229eb2bb79678960eb186a WHIRLPOOL 231e3cf256d7e6afe91721bdb66ab6c774c8621d9e8215d4235f808fcd7e630ef06561f88e3e1c333c754c4e1edd6eb53c69ad967a9f4c22d28301600e9c2d86
+DIST fast_gettext-0.9.0.tar.gz 86616 SHA256 773f1112524f1777f4f46ce80c5e1341dd270d232d86808d5ecc27d5b4d83e29 SHA512 901e9725ae537300be078febf4c5c94f466da48b0e4d3611037bfc98b914436a23828708177d6874c7b2ae60245631cd414ee52bd1b9de90c6ff8d1a6dbe37a4 WHIRLPOOL 06f858d501d66cfc609ff2a75010e73b33f706d388286a64ce923a6a87f96ddcc98a6623644b8bac9e57dbe86b7345ddd7aaf601d69ca600e6f8a7c9c8e95114
EBUILD fast_gettext-0.7.1.ebuild 1521 SHA256 ac15557a45ffbab8c7e45f1a19cacc37cbfdbc14da79b3b91cc6b9e050765f4c SHA512 3e1a1f6a8e508c879845b57f24e66df10f8801855365ecc68ca99afef468d71d7f08c74032871a785c3d39badeff5f492fcf871f007f3b3ef4937b0ccf6593d2 WHIRLPOOL ff3c058ccd479e6b6df9b14784f0ca608190057208a02cdef5353affdc6411d839389f476087c82e81cfee5488c0483c84ea383fc273c869cb665495be4e37be
EBUILD fast_gettext-0.8.1.ebuild 1713 SHA256 c43305a9d664bb7bfce49413ad5c2d449cd362ad9f6c25d88c0bb60ef11ce058 SHA512 655611747305880d4f0e071b72af50d7072cb8c7d6cbc75988fcab57dcb61c76abf834e39b336443145d34f5d712a754cf07cfd7b91e649af6f83adfbfd7445f WHIRLPOOL 28989ad2a3cc749c595e14b897e3f5a327c7a8b363374287121eedef85fbc6e2fffb24f6a8d7fd2abfb6d6d5cf3c0b351a5035a706cbec8b093c79b708699719
-MISC ChangeLog 3921 SHA256 df4eb4282986295e5abed8ee7fea0e40087c8e2e703c3931595cb59634d4a4f0 SHA512 4154dd9bf7139d73de72fb4a234070e4497b0f97e2f78b5e50e2bfb0c7941cf63a37678e547aa59242f04fabb8b87b3f7eda0c208d12c69a690b935b6fce4072 WHIRLPOOL feb58d17fbece1140f074fc578806036fd0e82491585c310a07a3f6cb37714031d6d38458beb1d6077f4bdd4194ebf8f3df752aa6580da94055cb1b0689f7bf6
+EBUILD fast_gettext-0.9.0.ebuild 1977 SHA256 f66112646130eaed73760d401fd0da48fd2949269daff00f3f0e87249fab68fd SHA512 97ef16fcce17063f0f4785ea109e73531939f06c84b7858d0c7e7526227d1530249fc5d4906c19df3245550363d64c200d15228bec86b7fa28aa4fe5467c137a WHIRLPOOL 2437ead046c3b04e1351bb56952b4dc74050516e1615ee9abf8244cb3a8b9ca5008e166e3c51e54bb7d9f31576768cc9274363bf120cf4a040c2f28d702b7eea
+MISC ChangeLog 4051 SHA256 a96ef27ab4ddaf321cf9a06899be6a909856ba32bba69bd4336d58955f5242e2 SHA512 84893ad0582102b45ee26d47bf1f7accd0b5253366254542c1ffdb68962f12e035f59e79fdf70ff2ab139e2e9726b1c56455bc6b5718c41b3e99763ce2622151 WHIRLPOOL a7c84d100a64f068226e53e4e6c84abc4dd282a9f7be6215e572d4498da3b41a4c6ac42fa711404ff986c71857d476e8f612b1e720ccd5ab688d29b5b7708234
MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.22 (GNU/Linux)
+Version: GnuPG v2
-iF4EAREIAAYFAlOr4RIACgkQiIP6VqMIqNc+IgD9FDqUxFGz2pPBZc2eJtVKdMoS
-eWWulPxr9pEt/P7nhNYA/RYxlEPBJAYV6l1Q26lzrDA2RzhlOn3CW4sho3HcG+k/
-=FSZ2
+iF4EAREIAAYFAlPQqCMACgkQiIP6VqMIqNeNXgD9HaLmVSo3jNTpwBIROH+/Iqaa
+Ntu8JqYaJcKqJOP8pqkA/iGNODMkSiln5kaNA5OI/YOSvZcm8SOMdNwuQ6Fa2LrF
+=3cB0
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/fast_gettext/fast_gettext-0.9.0.ebuild b/dev-ruby/fast_gettext/fast_gettext-0.9.0.ebuild
new file mode 100644
index 000000000000..a732f4188d06
--- /dev/null
+++ b/dev-ruby/fast_gettext/fast_gettext-0.9.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fast_gettext/fast_gettext-0.9.0.ebuild,v 1.1 2014/07/24 06:30:13 graaff Exp $
+
+EAPI=5
+
+# jruby support requires sqlite3 support for jruby.
+USE_RUBY="ruby19 ruby20 ruby21"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG Readme.md"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="GetText but 3.5 x faster, 560 x less memory, simple, clean namespace (7 vs 34) and threadsave!"
+HOMEPAGE="https://github.com/grosser/fast_gettext"
+SRC_URI="https://github.com/grosser/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/activerecord dev-ruby/protected_attributes dev-ruby/bundler )"
+
+all_ruby_prepare() {
+ rm Gemfile.lock || die
+
+ # Remove jeweler and bump from Gemfile since they are not needed for tests.
+ sed -i -e '/jeweler/d' -e '/bump/d' -e '/appraisal/d' Gemfile || die
+
+ # Avoid unneeded dependency on git and development dependencies.
+ sed -e '/git ls-files/ s:^:#:' \
+ -e '/\(wwtd\|bump\)/ s:^:#:' \
+ -i fast_gettext.gemspec || die
+
+ # Don't run a test that requires safe mode which we can't provide
+ # due to insecure directory settings for the portage dir. This spec
+ # also calls out to ruby which won't work with different ruby
+ # implementations.
+ sed -i -e '/can work in SAFE mode/,/^ end/ s:^:#:' spec/fast_gettext/translation_repository/mo_spec.rb || die
+
+ # Avoid not failing pending specs related to ree18.
+ sed -i -e '/with i18n loaded/,/^ end/ s:^:#:' spec/fast_gettext/vendor/string_spec.rb || die
+
+ # Avoid RSpec 3 specific syntax
+ sed -e '/failure_message/ s:^:#:' -i spec/support/be_accessible_matcher.rb || die
+
+}
+
+each_ruby_prepare() {
+ # Make sure the right ruby interpreter is used
+ sed -i -e "s:bundle exec ruby:bundle exec ${RUBY}:" spec/fast_gettext/vendor/*spec.rb || die
+}