summaryrefslogtreecommitdiff
path: root/dev-ruby/git
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/git')
-rw-r--r--dev-ruby/git/Manifest1
-rw-r--r--dev-ruby/git/git-4.3.0.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-ruby/git/Manifest b/dev-ruby/git/Manifest
index 380898d7639c..ff90df468deb 100644
--- a/dev-ruby/git/Manifest
+++ b/dev-ruby/git/Manifest
@@ -7,3 +7,4 @@ DIST git-4.1.0.tar.gz 265894 BLAKE2B 41e7b5875134e2ac8d8cc329a46c7b0cd4e42ac9b99
DIST git-4.1.1.tar.gz 268853 BLAKE2B 2df2bf76a23c7818161dfac9ddc0f3492135c19bf898c6155aa8ee7766ece25d09f689816e208115ff633bcb40766faee8da5f42c196a1ccd18f67bc367c3ba0 SHA512 b2aba9dfaec1e9d48b42de35e80d9a1217410ab7fd82c22e170826d2bca4621991b38a09ee23acae364bf96a47aad91c654254affff3329ce3918fb3283fffaf
DIST git-4.1.2.tar.gz 270712 BLAKE2B 5ba5bb9cf19ea8feecf7489cae1e14134cc3c018d49ff863851388612d8c024f2968f8718e2b6aed822c84ac18bbfbc39961486dcd09807ddfdf0a5f5372f1aa SHA512 c26e7e9f48a7cfd9d951a3e4fb6ddda1b9227068c0d5b583cca5feb8f5961e74b707a7a149ba60dad49dd4b44657408c5f07be1920723aa24bcd0bce915be2b4
DIST git-4.2.0.tar.gz 270996 BLAKE2B bfd182e5175afdd7a1872938920b4945f5518cb32f72387263cc7fb14f6943eb029d5e64b730487c823dbe3615dcbc6164a8470dad90a57a7ead42f1e31bc828 SHA512 4550ece3984c6f20293fb237a632fced2c72be0517eae6da0dcd02f8c9a0a67746c5057131b3606d10e77b2c7025e19e91ed9ba050ef1ad8b1b6c5694a24f49b
+DIST git-4.3.0.tar.gz 277827 BLAKE2B 7ca78c070067d44ce7577bab5a48994f3855cca6cd572430bc66d9c5df5e061fb5ec186155d64b14d4d28a8b9777521152ff3808d35342d63ca40b7681cec343 SHA512 b508873c44aea4664a5507bf395cf687849fa28dfc79d36cdd223b352e2395b43df99986b9b2a554cd3d30072caad413a3b3a15e6f0d86e40c90e708e3a85539
diff --git a/dev-ruby/git/git-4.3.0.ebuild b/dev-ruby/git/git-4.3.0.ebuild
new file mode 100644
index 000000000000..6845808ce999
--- /dev/null
+++ b/dev-ruby/git/git-4.3.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2026 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
+}
+
+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
+}