mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ruby/ruby-gettext: drop 3.3.7, 3.4.1
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST gettext-3.3.7.gem 292352 BLAKE2B 76232148ec89720553e7f260c7222b8c5f9eccf0dd0b0b3afa776d9fe6dc6205b21f7853fd1a1edb6e28208ebbd56e327d160af179a4b7c7aaab12965243b806 SHA512 6e7906d68b3e834e1a9d69cea26a61ffed07abd035c9a8ffc3456bc2fdcb9495700c2aaa4d099cf75f88dc6916899510208012e02d1d4f15de3d5148251b4233
|
||||
DIST gettext-3.4.1.gem 231936 BLAKE2B c225a3b0239f01fade9406d4e7704905971369bb37cfc29a5aa3c1bdd60e3b71057b2f7f736cfc3dde60709efcd935a609917384a324178badd760f8e40dfa01 SHA512 c4c88aa9b1d81772dce533bcb6a24c2bcde81f15e2f3947e491c7e391099f23c1ac27b6a25fa012f9f7b01c16711446adaf0c014f46d55acc73bc4a7a3317af9
|
||||
DIST gettext-3.4.3.gem 233472 BLAKE2B d1edc1e4a004412b21ca4aa9e0e1df2000626ffde42e81f092f3a19c3ce080ee4660e5cbcce6d3f9a77e30cccf5f942ef1fa7d12e8680f0a50d67f69ad3ac41a SHA512 144c7d0964660ef671494272138a29abc3b51de1a7d6f8ee920a73cefe05657eda77024c59009179f4880003bd45eeaae7a82ac57b387fb0b924bc0f6eb553ea
|
||||
|
||||
@@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
USE_RUBY="ruby27 ruby30"
|
||||
|
||||
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/locale-2.0.5 >=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
|
||||
|
||||
# Avoid tests failing due to a missing test file.
|
||||
#sed -i -e '/test_invalid_charset/,/end/ s:^:#:' test/test_mo.rb || die
|
||||
|
||||
# Avoid SAFE mode test that fails on ruby 2.6
|
||||
sed -i -e '/test_safe_mode/aomit' test/test_gettext.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
# 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
|
||||
}
|
||||
@@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby26 ruby27 ruby30"
|
||||
|
||||
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/locale-2.0.5 >=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() {
|
||||
# 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
|
||||
}
|
||||
Reference in New Issue
Block a user