From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id D48251581EE for ; Fri, 04 Apr 2025 13:36:26 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 9E0F7343133 for ; Fri, 04 Apr 2025 13:36:26 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id E22EB1104B6; Fri, 04 Apr 2025 13:36:22 +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 bobolink.gentoo.org (Postfix) with ESMTPS id DC25F1104B6 for ; Fri, 04 Apr 2025 13:36:22 +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 6789E3430AE for ; Fri, 04 Apr 2025 13:36:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9DC5119B9 for ; Fri, 04 Apr 2025 13:36:20 +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: <1743773770.26e847107cc51a9ce80847d5128040b84c9947d4.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/git/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/git/Manifest dev-ruby/git/git-3.0.0.ebuild X-VCS-Directories: dev-ruby/git/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 26e847107cc51a9ce80847d5128040b84c9947d4 X-VCS-Branch: master Date: Fri, 04 Apr 2025 13:36:20 +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: da18bd0a-9b5e-40af-bc52-42fbd4073213 X-Archives-Hash: d803bc8cca488384bcb18ce72f5fcc17 commit: 26e847107cc51a9ce80847d5128040b84c9947d4 Author: Hans de Graaff gentoo org> AuthorDate: Fri Apr 4 13:31:23 2025 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Fri Apr 4 13:36:10 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26e84710 dev-ruby/git: add 3.0.0 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/git/Manifest | 1 + dev-ruby/git/git-3.0.0.ebuild | 50 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/dev-ruby/git/Manifest b/dev-ruby/git/Manifest index 7ad5cbe4e693..9d952e51b3fb 100644 --- a/dev-ruby/git/Manifest +++ b/dev-ruby/git/Manifest @@ -1,3 +1,4 @@ DIST git-1.19.1.tar.gz 177887 BLAKE2B 0da2a829679fd4e2d4b3aec5e88f421d221593729b827f2207bc3d26ce290ee2a41e8dde33b81138cf9df75fa1d1316fa5c69318a1247c627889f5c6971b8fd6 SHA512 4fb27cc2c59d15b0424ac16accc13d2310fec0710815b8deee399767b3cd9707cdf767a301cae271b4cd1ff6718cb955a6c86a9ea99076aaffbbadf595c64c0c DIST git-2.3.0.tar.gz 194653 BLAKE2B a82ea8c7b8cd239de2cb4dd08f013412efcc7dfcd4c85839ff145b2998df4cf4da6cbf7b5942592b086741ed1fca0a3678bfb4ce5ab45c7c4a3259ce9c3c8d94 SHA512 6ca0a9f33fe4cb24b69035d80f689664558d3ebe868604e8592da225e14102fc572b472e7fd8db697c4338569a560ba012694a637d1dd9622fd33d06e9f55780 DIST git-2.3.3.tar.gz 199255 BLAKE2B 1e426c65088619dcf0c53829f397a990bd94b75fe2f638473c1d5ada4069d9936ae671beba5119c3fd63eb1233264a8161b1ea3e452423fa964d76bfcb7ad49c SHA512 8b4104db931fa497b7c23d12c62782dfae6b5952389abab9a96b7dc81e091e6826bd723521e9ef4009408d41d8b65eb62e19c01bb9895cb016c57c75f97ca67a +DIST git-3.0.0.tar.gz 198966 BLAKE2B 79a9e95b6b460eb0be17f7eefc2c6330a3297569d5ce3bf9e951d55f97506efa35e7590630c000b3ebc580eb76a4579b65faa2ba68465eaf182f134be49a0856 SHA512 6290a5b7ed7de225ea3c793fc31a4f11cf79efaf73dc6191259d958378fd77aa6079c90befa209fce69d16665f2c13ea4f508445952971337f1593cc59bee596 diff --git a/dev-ruby/git/git-3.0.0.ebuild b/dev-ruby/git/git-3.0.0.ebuild new file mode 100644 index 000000000000..b828f767b769 --- /dev/null +++ b/dev-ruby/git/git-3.0.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="git.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Library for using Git in Ruby" +HOMEPAGE="https://github.com/ruby-git/ruby-git" +SRC_URI="https://github.com/ruby-git/ruby-git/archive/v${PV}.tar.gz -> ${P}.tar.gz" +RUBY_S="ruby-git-${PV}" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~ppc ~ppc64" +IUSE="test" + +DEPEND="test? ( >=dev-vcs/git-1.6.0.0 net-misc/openssh app-arch/tar )" +RDEPEND=">=dev-vcs/git-1.6.0.0" + +ruby_add_rdepend " + >=dev-ruby/activesupport-5.0:* + >=dev-ruby/addressable-2.8:0 + >=dev-ruby/process_executer-1.3:1 + >=dev-ruby/rchardet-1.9:1 +" + +ruby_add_bdepend "test? ( dev-ruby/bundler >=dev-ruby/minitar-0.9 >=dev-ruby/mocha-2.1:2 dev-ruby/test-unit:2 )" + +all_ruby_prepare() { + # Don't use hardcoded /tmp directory. + sed -i -e "s:/tmp:${TMPDIR}:" tests/units/test_archive.rb tests/test_helper.rb || die + + sed -i -e 's/__dir__/"."/' -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Don't use deprecated key type that is removed from openssh + sed -i -e 's/-t dsa/-t rsa/' tests/units/test_signed_commits.rb || die +} + +each_ruby_test() { + git config --global user.email "git@example.com" || die + git config --global user.name "GitExample" || die + ${RUBY} -Ilib:.:tests -e 'Dir["tests/**/test_*.rb"].each {|f| require f}' || die +}