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 876C71580F6 for ; Mon, 19 May 2025 05:01:30 +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) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 707713430BE for ; Mon, 19 May 2025 05:01:30 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 605741103DD; Mon, 19 May 2025 05:01:29 +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 bobolink.gentoo.org (Postfix) with ESMTPS id 50C731103DD for ; Mon, 19 May 2025 05:01:29 +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 057A5343093 for ; Mon, 19 May 2025 05:01:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 677ABFB9 for ; Mon, 19 May 2025 05:01:27 +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: <1747630878.e12adcd4c1e395b720ab0c736e51ec7de07bb5f6.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.1.0.ebuild X-VCS-Directories: dev-ruby/git/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: e12adcd4c1e395b720ab0c736e51ec7de07bb5f6 X-VCS-Branch: master Date: Mon, 19 May 2025 05:01:27 +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: bca03424-52be-4e5d-9b07-a635208f7619 X-Archives-Hash: 0f542937953ab0dc314f5570a5a57b45 commit: e12adcd4c1e395b720ab0c736e51ec7de07bb5f6 Author: Hans de Graaff gentoo org> AuthorDate: Mon May 19 05:01:00 2025 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon May 19 05:01:18 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e12adcd4 dev-ruby/git: add 3.1.0 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/git/Manifest | 1 + dev-ruby/git/git-3.1.0.ebuild | 50 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/dev-ruby/git/Manifest b/dev-ruby/git/Manifest index a6755f438971..71f64b3378c3 100644 --- a/dev-ruby/git/Manifest +++ b/dev-ruby/git/Manifest @@ -3,3 +3,4 @@ DIST git-2.3.3.tar.gz 199255 BLAKE2B 1e426c65088619dcf0c53829f397a990bd94b75fe2f DIST git-3.0.0.tar.gz 198966 BLAKE2B 79a9e95b6b460eb0be17f7eefc2c6330a3297569d5ce3bf9e951d55f97506efa35e7590630c000b3ebc580eb76a4579b65faa2ba68465eaf182f134be49a0856 SHA512 6290a5b7ed7de225ea3c793fc31a4f11cf79efaf73dc6191259d958378fd77aa6079c90befa209fce69d16665f2c13ea4f508445952971337f1593cc59bee596 DIST git-3.0.1.tar.gz 199554 BLAKE2B d854d4a40452f6923d0d02ae1b24feb5180e874d16332eac951b2d2c038d5181d99fb4c19942230940bbafb53fdd2fcbd0c09e3e6322122fbdc3b98a028d8974 SHA512 0dcd97f311c3ab330025136d880f3d1ffbdf6e8ec4e61f92169b1306d591bd7d2ec38668a00baa6bab12cbad41b54f42ead62739adb33d03e5e34a5e752c211d DIST git-3.0.2.tar.gz 201011 BLAKE2B ae8441dfcc9c989db9551c8b48977968d1ba96a6fa7be95336fa6bfdb439621860e17768d44eb9da85d26b0e196b3739d469fcc2105762a41346c730b6033029 SHA512 bf30dae5c917df02843ffd79c22f47797feefbdc7030197ba00af025bc139948ebec9616a60039117601e77cdc78a04171da3bf4a37dca16e75f3f96fb2bccfe +DIST git-3.1.0.tar.gz 202246 BLAKE2B c532e3be832490c7ceef1a95f06fd638441bb7aca451e06dde664f8cf93b81bdabfc94d4fb1bfa872bcd0428129ebcb65e6055b99cbca583e84809c7b6690104 SHA512 e05fa4aee454502b8c6a49f9b3ae5deede8861f9d9ae4b3881e359fb061a7fff34e4dcf8a491ed7459ee5ac66da5cbb276101fe225aa4927ddde53b41ae155e0 diff --git a/dev-ruby/git/git-3.1.0.ebuild b/dev-ruby/git/git-3.1.0.ebuild new file mode 100644 index 000000000000..ba7548dab940 --- /dev/null +++ b/dev-ruby/git/git-3.1.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="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 ~ppc64 ~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-1.3:1 + >=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 + ${RUBY} -Ilib:.:tests -e 'Dir["tests/**/test_*.rb"].each {|f| require f}' || die +}