diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-03-20 07:22:26 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-03-20 13:04:47 +0100 |
commit | f981a2efef024818ffa4ec0bc8575dd7afa017c4 (patch) | |
tree | d7ec84c1e2e9a65ea3de79725c364e112c2c3f32 | |
parent | www-client/firefox: add 115.9.0 (diff) | |
download | gentoo-f981a2efef024818ffa4ec0bc8575dd7afa017c4.tar.gz gentoo-f981a2efef024818ffa4ec0bc8575dd7afa017c4.tar.bz2 gentoo-f981a2efef024818ffa4ec0bc8575dd7afa017c4.zip |
dev-ruby/locale: add 2.1.4
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r-- | dev-ruby/locale/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/locale/locale-2.1.4.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-ruby/locale/Manifest b/dev-ruby/locale/Manifest index ae314a6f7b5d..5ab8984f0b2d 100644 --- a/dev-ruby/locale/Manifest +++ b/dev-ruby/locale/Manifest @@ -1 +1,2 @@ DIST locale-2.1.3-git.tgz 99648 BLAKE2B e395a442f674c73ed03d0d4d55d875c796add076132964ce2abb457d5d6e2ed8643395f283728735bbbf1ffee8b03549e882e5c66f6a589106a0a36f5b9e4ff1 SHA512 77877f15914dbee5ca83155f8cb84815296b4e2e4205218c9926e0265b40940cbdbe68fb048870ce4f53a6caeeb593813a2e16e8c130a19e44a28cb67c82fe25 +DIST locale-2.1.4-git.tgz 100263 BLAKE2B 3ae8db5e940c850a10adbbafdbceab0c0e956e19be3b4442851983da44857adb8752fe1251a99c53fe6c6cf14ae4f3eb741afed2923f5d2b1503e968fdd8e156 SHA512 65f5fde22c4ab4dc404204aea8d87b53d5a2bca01fa860ac7953de3806d4ca69b36bc4fce28d57a6a9d04be5a10c2fdeadbbe10fc48fa0a495b0da4ccfc71626 diff --git a/dev-ruby/locale/locale-2.1.4.ebuild b/dev-ruby/locale/locale-2.1.4.ebuild new file mode 100644 index 000000000000..3a5bbbf5a83c --- /dev/null +++ b/dev-ruby/locale/locale-2.1.4.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_DOCDIR="doc/reference" +RUBY_FAKEGEM_EXTRADOC="ChangeLog README.rdoc doc/text/news.md" + +RUBY_FAKEGEM_TASK_TEST="test" + +RUBY_FAKEGEM_GEMSPEC="locale.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A pure ruby library which provides basic APIs for localization" +HOMEPAGE="https://github.com/ruby-gettext/locale" +LICENSE="|| ( Ruby-BSD GPL-2 )" +SRC_URI="https://github.com/ruby-gettext/locale/archive/${PV}.tar.gz -> ${P}-git.tgz" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +SLOT="0" +IUSE="test" + +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 + + dodoc -r samples +} |