From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 32280158089 for ; Sun, 22 Oct 2023 06:40:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3EB932BC019; Sun, 22 Oct 2023 06:40:45 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 20CC32BC019 for ; Sun, 22 Oct 2023 06:40:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1439C335CDF for ; Sun, 22 Oct 2023 06:40:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 24E58E88 for ; Sun, 22 Oct 2023 06:40:42 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1697956809.3b4fb67099338e7cc2e823947c46c1871e88fbfd.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/ruby-gettext/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/ruby-gettext/Manifest dev-ruby/ruby-gettext/ruby-gettext-3.4.9.ebuild X-VCS-Directories: dev-ruby/ruby-gettext/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 3b4fb67099338e7cc2e823947c46c1871e88fbfd X-VCS-Branch: master Date: Sun, 22 Oct 2023 06:40:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 517c4de8-f51f-4c3c-9142-1c0dc3e5cf10 X-Archives-Hash: 3719d04ebc09b80069bf68186697b878 commit: 3b4fb67099338e7cc2e823947c46c1871e88fbfd Author: Hans de Graaff gentoo org> AuthorDate: Sun Oct 22 06:39:43 2023 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Oct 22 06:40:09 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b4fb670 dev-ruby/ruby-gettext: add 3.4.9 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ruby-gettext/Manifest | 1 + dev-ruby/ruby-gettext/ruby-gettext-3.4.9.ebuild | 71 +++++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/dev-ruby/ruby-gettext/Manifest b/dev-ruby/ruby-gettext/Manifest index 41855333ccbc..d38c23fb2722 100644 --- a/dev-ruby/ruby-gettext/Manifest +++ b/dev-ruby/ruby-gettext/Manifest @@ -2,3 +2,4 @@ DIST gettext-3.4.3.gem 233472 BLAKE2B d1edc1e4a004412b21ca4aa9e0e1df2000626ffde4 DIST gettext-3.4.4.gem 232960 BLAKE2B 7822245f1efc63c3faccae299c84f671f0eb264776288cd4d60f9981988f4942fd3b3033fdcd58e03d2129f5ece3a579dbf3bdffb567c96d9affbabe7355613f SHA512 2321e13d9789dc059518c8ae0501bc26fe74fd0a24c9336c913a9ce8d2a2d77b0a7ece883f5c36e286144256077ecdbdacc84ffc37fb7753fe8bc589d473b00b DIST gettext-3.4.6.gem 232960 BLAKE2B 108e89bd34e0a3341d4c09b7a444a2ba3a6c84e3f95ba22df4fd0ed5374bb7ad94131fc6ceb2407b16d9e7995383853b80101ab61319a87ee57147cc40ca3279 SHA512 1c98ef539509231aa7bdd7d725767576bebd7000b55599c2ac59bc915fc52aac7a4075575907893701322bd06bf7035dbcc7e262b39d93b5eeaa6f9a3511a20f DIST gettext-3.4.7.gem 233472 BLAKE2B d180bcddfb861e321cf6447a9a3868f71338984989ba9e525bd55fee6aed81ac6041f572f66133acfa054e7e680d2d5a14670775f251bc547d713c8995f4c9d4 SHA512 4f9d3a56ae9613fd4651f249dc6e0eea82366e898e963c8ca84484b32b9312bb20cf6c396bd48aedfc039db60191bf7804769c4924a9d89f1851aafd3d24ace2 +DIST gettext-3.4.9.gem 234496 BLAKE2B bc1fd26ae048a959df1291cbe6bc5ce4fe060dc66baff2e3a9030dfbbc937e6e2aef5586259cfb1ef0f6eb5e2924badd6db579f7d268ae4bb079d06248655e87 SHA512 756fc65210ccc88c06ed07da699e88aca865b0b3b2b2b92824d3e17062a1008d9d561f1572d0795478bfe7ad542e3aaf8c65ee2f80fed1ead202638bd32dc77a diff --git a/dev-ruby/ruby-gettext/ruby-gettext-3.4.9.ebuild b/dev-ruby/ruby-gettext/ruby-gettext-3.4.9.ebuild new file mode 100644 index 000000000000..3b7d7223cfca --- /dev/null +++ b/dev-ruby/ruby-gettext/ruby-gettext-3.4.9.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="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 +}