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 AEC2715808A for ; Sun, 03 Aug 2025 12:23:42 +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) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 95A41340D69 for ; Sun, 03 Aug 2025 12:23:42 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id B0DBA11055F; Sun, 03 Aug 2025 12:23:39 +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) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id A799D11055F for ; Sun, 03 Aug 2025 12:23:39 +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 5FBB2340B46 for ; Sun, 03 Aug 2025 12:23:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9A3EF3183 for ; Sun, 03 Aug 2025 12:23:37 +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: <1754223712.f01343b88384deee809d3ce8085a08eaee02e66e.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-4.0.4.ebuild X-VCS-Directories: dev-ruby/git/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: f01343b88384deee809d3ce8085a08eaee02e66e X-VCS-Branch: master Date: Sun, 03 Aug 2025 12:23:37 +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: 3185a422-a89c-411a-81d4-417fe5068495 X-Archives-Hash: 5efd01e028d949cfef587c4685391c16 commit: f01343b88384deee809d3ce8085a08eaee02e66e Author: Hans de Graaff gentoo org> AuthorDate: Sun Aug 3 08:47:11 2025 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Aug 3 12:21:52 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f01343b8 dev-ruby/git: add 4.0.4 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/git/Manifest | 1 + dev-ruby/git/git-4.0.4.ebuild | 52 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/dev-ruby/git/Manifest b/dev-ruby/git/Manifest index 32880608271a..8370185d9357 100644 --- a/dev-ruby/git/Manifest +++ b/dev-ruby/git/Manifest @@ -4,3 +4,4 @@ DIST git-3.0.2.tar.gz 201011 BLAKE2B ae8441dfcc9c989db9551c8b48977968d1ba96a6fa7 DIST git-3.1.0.tar.gz 202246 BLAKE2B c532e3be832490c7ceef1a95f06fd638441bb7aca451e06dde664f8cf93b81bdabfc94d4fb1bfa872bcd0428129ebcb65e6055b99cbca583e84809c7b6690104 SHA512 e05fa4aee454502b8c6a49f9b3ae5deede8861f9d9ae4b3881e359fb061a7fff34e4dcf8a491ed7459ee5ac66da5cbb276101fe225aa4927ddde53b41ae155e0 DIST git-3.1.1.tar.gz 202939 BLAKE2B f85f64c4b2bb9d49402945e05654cf107bc8be489e94f664113109071e6ed746800d98195e6547e09adc5de637b74ae118339437b0d0b21c9d4ef8a3ea882426 SHA512 8fb7704f304dd1173966a49563b64ad6ef8f20e9b2f2933ca807419e400744e705cb004f16eff5b7ea671520bbda6531f35394807eae021932d221179afdb95e DIST git-4.0.1.tar.gz 213031 BLAKE2B d0d1bec6dadb1bb6f954f58d576752ba3938bd09e76ff7ff54f0c32eb00f28125e866d51c0d6f70ef65053cbbf695b113459d0cca072448128b85e46a3545ab2 SHA512 5d8375757ba6d0118f7155c91f360c150823f97c18ef3e1ac76640e878622862d92527cdb181d28d25d877c13637f56c32f547371123c381489ca91f1c57a7ba +DIST git-4.0.4.tar.gz 217512 BLAKE2B 155b5ea1a2315ba09b0948a3ddcc1a67f0204ae628f11d26deb2ac38e816ff6ee4f1a70e2a3bb11de74823d3101fb1ea63fd68fd1e003ff8eed2cf564dcad7ca SHA512 77bf6d88ce200c1abaf291a1cc82f5a62552529c4043f4f2fad384b5bdc83fa9ae067b64ec10e7a1d694d16ca9c5cd5e0c33d22adb1b07e4a90f06e7609c7a25 diff --git a/dev-ruby/git/git-4.0.4.ebuild b/dev-ruby/git/git-4.0.4.ebuild new file mode 100644 index 000000000000..f33711e7601d --- /dev/null +++ b/dev-ruby/git/git-4.0.4.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby32 ruby33 ruby34" + +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 ~x86" +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:4 + >=dev-ruby/rchardet-1.9:1 +" + +ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/minitar:1 >=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 + git config --global init.defaultBranch main || die + ${RUBY} -Ilib:.:tests -e 'Dir["tests/**/test_*.rb"].each {|f| require f}' || die +}