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 75476158041 for ; Wed, 20 Mar 2024 12:05:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A2140E29AD; Wed, 20 Mar 2024 12:04:59 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 7FE71E29AD for ; Wed, 20 Mar 2024 12:04:59 +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 6E2F733BF3B for ; Wed, 20 Mar 2024 12:04:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C21E7FC2 for ; Wed, 20 Mar 2024 12:04:56 +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: <1710936287.f981a2efef024818ffa4ec0bc8575dd7afa017c4.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/locale/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/locale/Manifest dev-ruby/locale/locale-2.1.4.ebuild X-VCS-Directories: dev-ruby/locale/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: f981a2efef024818ffa4ec0bc8575dd7afa017c4 X-VCS-Branch: master Date: Wed, 20 Mar 2024 12:04:56 +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: ea9f362a-b188-4953-82f3-398fe3b296f1 X-Archives-Hash: b705cbbf905ee87f73d3d5fcb9ed7ec4 commit: f981a2efef024818ffa4ec0bc8575dd7afa017c4 Author: Hans de Graaff gentoo org> AuthorDate: Wed Mar 20 06:22:26 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Wed Mar 20 12:04:47 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f981a2ef dev-ruby/locale: add 2.1.4 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/locale/Manifest | 1 + dev-ruby/locale/locale-2.1.4.ebuild | 51 +++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) 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 +}