diff options
author | Hans de Graaff <graaff@gentoo.org> | 2015-09-16 07:24:15 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2015-09-16 07:26:29 +0200 |
commit | 4c120dad95ddb1f90ffefee031045adf9b73f7c8 (patch) | |
tree | 204b0561018309fff09bf707620656600bab6008 /dev-ruby/locale | |
parent | sys-kernel/hardened-sources: version bump to 4.1.7 (diff) | |
download | gentoo-4c120dad95ddb1f90ffefee031045adf9b73f7c8.tar.gz gentoo-4c120dad95ddb1f90ffefee031045adf9b73f7c8.tar.bz2 gentoo-4c120dad95ddb1f90ffefee031045adf9b73f7c8.zip |
dev-ruby/locale: version bump
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-ruby/locale')
-rw-r--r-- | dev-ruby/locale/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/locale/locale-2.1.2.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-ruby/locale/Manifest b/dev-ruby/locale/Manifest index a6be3302101a..fdbc9e1f6d7c 100644 --- a/dev-ruby/locale/Manifest +++ b/dev-ruby/locale/Manifest @@ -1,2 +1,3 @@ DIST locale-2.1.0-git.tgz 99139 SHA256 0773283ff0db2a6574ba5ea05132598ea0bad1f88cd0bb037be7e461ed6aa565 SHA512 6f87730f8e6b128a6647bc0c7d223d5e90e85d5bcec884c0680963b09a221882a6dcadb088a27aeb8cc96652582278a5ce24302125902b2c97ca8b00c701abeb WHIRLPOOL 1cf895045c9fd5e273289082e7a1c357a0bf43e2c01a4b8e1567e27fcc71c5a01dbfdd0c7ccb2b08980b01abf00863c59bdd883820466ab36a776a1263245d70 DIST locale-2.1.1-git.tgz 99185 SHA256 b61d1f55bae161a539b269788a03d2068df66a905206e4eccde9af1a0a591691 SHA512 c983ac1c5b3819ecc4c7516578fb65b2b62f29e14956728f3c657777aeb3719e08d70cd90e8c718b9675acd537fa4865de15a445d6e6c59a06602305504b81bd WHIRLPOOL b5216eb0a954db2852e8fd8955aa281f3e03037a9b36c93bb55de8a2a23d2c54abd1f613e809a90cfe6ca424d65811061138cd1855b5ad9dc021521be35687b8 +DIST locale-2.1.2-git.tgz 99433 SHA256 d881ed2a4e9c929ab060163ace2415c969324b0f600981637181ed9b6b99d9bd SHA512 62a0c60f2102cd2d144126985748f4ab186b8f582c9597f7f4080e782196a39d72b9947b90aaecf5b208ccad0175064ac90e816472fb374d19cb5209da0f7ff4 WHIRLPOOL f19bfaadcc46115f69e78c33b924170dde3f2dac04af24bbd196cbd5722d3c1abc7ccd0e18bb915adede09439619abfbaca2785475e4ce1dd2acab7e981c1ca8 diff --git a/dev-ruby/locale/locale-2.1.2.ebuild b/dev-ruby/locale/locale-2.1.2.ebuild new file mode 100644 index 000000000000..df122743dbdc --- /dev/null +++ b/dev-ruby/locale/locale-2.1.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +USE_RUBY="ruby19 ruby20 ruby21 ruby22" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_DOCDIR="doc/reference" +RUBY_FAKEGEM_EXTRADOC="ChangeLog README.rdoc doc/text/news.md" + +RUBY_FAKEGEM_TASK_TEST="test" + +inherit ruby-fakegem + +DESCRIPTION="A pure ruby library which provides basic APIs for localization" +HOMEPAGE="https://github.com/ruby-gettext/locale" +LICENSE="|| ( Ruby GPL-2 )" +SRC_URI="https://github.com/ruby-gettext/locale/archive/${PV}.tar.gz -> ${P}-git.tgz" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-macos" +SLOT="0" +IUSE="" + +ruby_add_bdepend "doc? ( dev-ruby/yard )" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 dev-ruby/test-unit-rr )" + +all_ruby_prepare() { + sed -i -e '/notify/ s:^:#:' test/run-test.rb || die +} + +all_ruby_compile() { + all_fakegem_compile + + if use doc ; then + yard || die + fi +} + +each_ruby_test() { + ${RUBY} test/run-test.rb || die +} + +all_ruby_install() { + all_fakegem_install + + insinto /usr/share/doc/${PF} + doins -r samples || die +} |