dev-ruby/ruby-gettext: drop 3.4.6

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2024-11-03 08:16:39 +01:00
parent 5babce2394
commit eb436ddbcd
2 changed files with 0 additions and 72 deletions

View File

@@ -1,2 +1 @@
DIST gettext-3.4.6.gem 232960 BLAKE2B 108e89bd34e0a3341d4c09b7a444a2ba3a6c84e3f95ba22df4fd0ed5374bb7ad94131fc6ceb2407b16d9e7995383853b80101ab61319a87ee57147cc40ca3279 SHA512 1c98ef539509231aa7bdd7d725767576bebd7000b55599c2ac59bc915fc52aac7a4075575907893701322bd06bf7035dbcc7e262b39d93b5eeaa6f9a3511a20f
DIST gettext-3.4.9.gem 234496 BLAKE2B bc1fd26ae048a959df1291cbe6bc5ce4fe060dc66baff2e3a9030dfbbc937e6e2aef5586259cfb1ef0f6eb5e2924badd6db579f7d268ae4bb079d06248655e87 SHA512 756fc65210ccc88c06ed07da699e88aca865b0b3b2b2b92824d3e17062a1008d9d561f1572d0795478bfe7ad542e3aaf8c65ee2f80fed1ead202638bd32dc77a

View File

@@ -1,71 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby30 ruby31 ruby32"
RUBY_FAKEGEM_NAME="${PN/ruby-/}"
RUBY_FAKEGEM_VERSION="${PV%_*}"
RUBY_FAKEGEM_RECIPE_DOC="yard"
RUBY_FAKEGEM_EXTRADOC="README.md doc/text/news.md"
RUBY_FAKEGEM_TASK_TEST="none"
RUBY_FAKEGEM_EXTRAINSTALL="locale po"
inherit ruby-fakegem
DESCRIPTION="Native Language Support Library and Tools modeled after GNU gettext package"
HOMEPAGE="https://ruby-gettext.github.io/"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86"
IUSE="doc test"
SLOT="0"
LICENSE="|| ( GPL-2 Ruby-BSD LGPL-3+ )"
ruby_add_rdepend "
dev-ruby/erubi
>=dev-ruby/locale-2.0.5
dev-ruby/prime
dev-ruby/racc
>=dev-ruby/text-1.3.0
"
ruby_add_bdepend "doc? ( dev-ruby/yard )
dev-ruby/racc"
ruby_add_bdepend "test? (
dev-ruby/test-unit:2
dev-ruby/test-unit-rr )"
RDEPEND+=" sys-devel/gettext"
DEPEND+=" sys-devel/gettext"
all_ruby_prepare() {
# Fix broken racc invocation
sed -i -e '/command_line/ s/#{racc}/-S racc/' Rakefile || die
# Avoid bundler dependency
sed -i -e '/bundler/,/helper.install/ s:^:#:' \
-e 's/helper.gemspec/Gem::Specification.new/' Rakefile || die
# Avoid dependency on developer-specific tools.
sed -i -e '/notify/ s:^:#:' test/run-test.rb || die
}
each_ruby_test() {
# Borrowed from Fedora
local -x LANG=C.UTF-8
local -x LANGUAGE=ja_JP.utf8
# Upstream tries to daisy-chain rake calls but they fail badly
# with our setup, so run it manually.
${RUBY} test/run-test.rb || die "tests failed"
}
all_ruby_install() {
all_fakegem_install
dodoc -r samples
}