mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-ruby/git: add 4.0.4
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
52
dev-ruby/git/git-4.0.4.ebuild
Normal file
52
dev-ruby/git/git-4.0.4.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user