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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C3D1015807B for ; Tue, 12 Nov 2024 10:46:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BAD25E07EE; Tue, 12 Nov 2024 10:46:43 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 74949E07EF for ; Tue, 12 Nov 2024 10:46:43 +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 78F59335DCD for ; Tue, 12 Nov 2024 10:46:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B66E31D23 for ; Tue, 12 Nov 2024 10:46:40 +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: <1731408387.74e81e30fe38eb3af6515592e903f9ad4beee351.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/optimist/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/optimist/Manifest dev-ruby/optimist/optimist-3.2.0.ebuild X-VCS-Directories: dev-ruby/optimist/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 74e81e30fe38eb3af6515592e903f9ad4beee351 X-VCS-Branch: master Date: Tue, 12 Nov 2024 10:46:40 +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: 687765c0-e8b7-43ef-abd6-cd51caec4914 X-Archives-Hash: cb4691e4bd48cc07c3cf54ecb4865aae commit: 74e81e30fe38eb3af6515592e903f9ad4beee351 Author: Hans de Graaff gentoo org> AuthorDate: Tue Nov 12 10:42:32 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue Nov 12 10:46:27 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74e81e30 dev-ruby/optimist: add 3.2.0 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/optimist/Manifest | 1 + dev-ruby/optimist/optimist-3.2.0.ebuild | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/dev-ruby/optimist/Manifest b/dev-ruby/optimist/Manifest index 3ae11c590978..98a502268d0d 100644 --- a/dev-ruby/optimist/Manifest +++ b/dev-ruby/optimist/Manifest @@ -1 +1,2 @@ DIST optimist-3.1.0.gem 31744 BLAKE2B 0fc27447a6263e2e7acde502f4b4a23d891f08f57c70655ac1057b0e2c3e33c54c215d6d27079d09305771028347473f39e4d0f547ad002237fa8808e0a8cf63 SHA512 adadc1722d970cc4c002a0983d0ab2dbb3683777310c7085950e07fa18c94e4ab788bd10bca9e1d076cf77637d09e2d6bb969f5d5b35f0b648881e744f42c785 +DIST optimist-3.2.0.gem 41472 BLAKE2B 8053099a04989f2cb82d0d7395c610d11c3f1b12a2b44cc5556525ff308757f5f5d49d3b594dea2a106d7195b6b426092395e43569b1df2644b2a3a27abbfaeb SHA512 0b7168d46dacd7b6e4e76dd5df57bbe2cf758c20fa5103f77d94bb5d1c9ff59a83c0622e14c02556bafabffcffee168bd1feb77b62ae329077d68765055cff22 diff --git a/dev-ruby/optimist/optimist-3.2.0.ebuild b/dev-ruby/optimist/optimist-3.2.0.ebuild new file mode 100644 index 000000000000..ac188e67db57 --- /dev/null +++ b/dev-ruby/optimist/optimist-3.2.0.ebuild @@ -0,0 +1,29 @@ +# 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_EXTRADOC="FAQ.txt CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="A commandline option parser for Ruby that just gets out of your way" +HOMEPAGE="https://www.manageiq.org/optimist/" +LICENSE="MIT" + +SLOT="3" +KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/chronic )" + +all_ruby_prepare() { + sed -i -e '/bundle/ s:^:#:' Rakefile || die + sed -i -e 's/MiniTest/Minitest/' test/*_test.rb test/optimist/*_test.rb || die +} + +each_ruby_test() { + MUTANT=true ${RUBY} -S rake test || die "Tests failed." +}