mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-ruby/locale: add 2.1.4
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
51
dev-ruby/locale/locale-2.1.4.ebuild
Normal file
51
dev-ruby/locale/locale-2.1.4.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user