diff options
Diffstat (limited to 'dev-ruby/git')
| -rw-r--r-- | dev-ruby/git/Manifest | 10 | ||||
| -rw-r--r-- | dev-ruby/git/git-1.19.1.ebuild | 45 | ||||
| -rw-r--r-- | dev-ruby/git/git-2.3.3.ebuild | 50 | ||||
| -rw-r--r-- | dev-ruby/git/git-3.1.1.ebuild | 54 | ||||
| -rw-r--r-- | dev-ruby/git/git-4.0.6.ebuild | 49 | ||||
| -rw-r--r-- | dev-ruby/git/git-4.0.7.ebuild | 49 | ||||
| -rw-r--r-- | dev-ruby/git/git-4.1.0.ebuild | 49 | ||||
| -rw-r--r-- | dev-ruby/git/git-4.1.1.ebuild | 49 | ||||
| -rw-r--r-- | dev-ruby/git/git-4.1.2.ebuild | 49 | ||||
| -rw-r--r-- | dev-ruby/git/git-4.2.0.ebuild | 49 | ||||
| -rw-r--r-- | dev-ruby/git/git-4.3.0.ebuild | 49 | ||||
| -rw-r--r-- | dev-ruby/git/metadata.xml | 12 |
12 files changed, 514 insertions, 0 deletions
diff --git a/dev-ruby/git/Manifest b/dev-ruby/git/Manifest new file mode 100644 index 000000000000..ff90df468deb --- /dev/null +++ b/dev-ruby/git/Manifest @@ -0,0 +1,10 @@ +DIST git-1.19.1.tar.gz 177887 BLAKE2B 0da2a829679fd4e2d4b3aec5e88f421d221593729b827f2207bc3d26ce290ee2a41e8dde33b81138cf9df75fa1d1316fa5c69318a1247c627889f5c6971b8fd6 SHA512 4fb27cc2c59d15b0424ac16accc13d2310fec0710815b8deee399767b3cd9707cdf767a301cae271b4cd1ff6718cb955a6c86a9ea99076aaffbbadf595c64c0c +DIST git-2.3.3.tar.gz 199255 BLAKE2B 1e426c65088619dcf0c53829f397a990bd94b75fe2f638473c1d5ada4069d9936ae671beba5119c3fd63eb1233264a8161b1ea3e452423fa964d76bfcb7ad49c SHA512 8b4104db931fa497b7c23d12c62782dfae6b5952389abab9a96b7dc81e091e6826bd723521e9ef4009408d41d8b65eb62e19c01bb9895cb016c57c75f97ca67a +DIST git-3.1.1.tar.gz 202939 BLAKE2B f85f64c4b2bb9d49402945e05654cf107bc8be489e94f664113109071e6ed746800d98195e6547e09adc5de637b74ae118339437b0d0b21c9d4ef8a3ea882426 SHA512 8fb7704f304dd1173966a49563b64ad6ef8f20e9b2f2933ca807419e400744e705cb004f16eff5b7ea671520bbda6531f35394807eae021932d221179afdb95e +DIST git-4.0.6.tar.gz 227454 BLAKE2B 16b04420af9a261c1a26b0caba145bb615297a455aafe0329dbfba07eefcb37af20ca5142052fc0f752e7dad4145c9041485e93d10f2318d03d3f84935e98366 SHA512 2d5bc719f6eed170edb126bdbae6ed6c9f03012468da114312b9dfd6eb3579a43e06a1a5a14ee7e0a8c8f35a2004d3c8c068e79eba8f292a89a7d2567adb67ba +DIST git-4.0.7.tar.gz 238349 BLAKE2B b60219ea70f59cfa51a6196b5262ca0769caae571d5909aca52315a3f45d7ac2ec301dbaba4be6f6deea86bdded6c69b232ba6b8704e37a2015757c805c6394e SHA512 b39f37cb99d18b7108c325cc51c0159c254d2454be13d7db7cf43f087ce226ef59fae96fe919b67878550da9685cf2324a080a9deab94d367c520d6b0fc67cdc +DIST git-4.1.0.tar.gz 265894 BLAKE2B 41e7b5875134e2ac8d8cc329a46c7b0cd4e42ac9b99ce7b9dfde13c1fd9e55faea21e20522253ed57d99a41492555faa04d9c9541069a966cdc803ac2b1c65b8 SHA512 20ee10d9ba92720a6921307338f85a48c08214f6b12bd5cb70f13102148894a6892fd82a6e301f94058129c5cc72574c4baafc0e0ff8c13dacc95d1f5e69ebc7 +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-1.19.1.ebuild b/dev-ruby/git/git-1.19.1.ebuild new file mode 100644 index 000000000000..bbf958a96748 --- /dev/null +++ b/dev-ruby/git/git-1.19.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 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="0" +KEYWORDS="amd64 ~ppc ~ppc64 ~x86" +IUSE="test" + +DEPEND+="test? ( >=dev-vcs/git-1.6.0.0 app-arch/tar )" +RDEPEND+=">=dev-vcs/git-1.6.0.0" + +ruby_add_rdepend ">=dev-ruby/addressable-2.8:0 >=dev-ruby/rchardet-1.8:1" + +ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/minitar >=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 +} diff --git a/dev-ruby/git/git-2.3.3.ebuild b/dev-ruby/git/git-2.3.3.ebuild new file mode 100644 index 000000000000..8276f678f5e9 --- /dev/null +++ b/dev-ruby/git/git-2.3.3.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 ~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.1:1 + >=dev-ruby/rchardet-1.8: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 +} diff --git a/dev-ruby/git/git-3.1.1.ebuild b/dev-ruby/git/git-3.1.1.ebuild new file mode 100644 index 000000000000..304a29149ad8 --- /dev/null +++ b/dev-ruby/git/git-3.1.1.ebuild @@ -0,0 +1,54 @@ +# 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() { + sed -e '2igem "process_executer", "~> 1.0"' \ + -i tests/test_helper.rb || die + + # 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 +} diff --git a/dev-ruby/git/git-4.0.6.ebuild b/dev-ruby/git/git-4.0.6.ebuild new file mode 100644 index 000000000000..ec8a982853cb --- /dev/null +++ b/dev-ruby/git/git-4.0.6.ebuild @@ -0,0 +1,49 @@ +# 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 +} + +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 +} diff --git a/dev-ruby/git/git-4.0.7.ebuild b/dev-ruby/git/git-4.0.7.ebuild new file mode 100644 index 000000000000..ec8a982853cb --- /dev/null +++ b/dev-ruby/git/git-4.0.7.ebuild @@ -0,0 +1,49 @@ +# 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 +} + +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 +} diff --git a/dev-ruby/git/git-4.1.0.ebuild b/dev-ruby/git/git-4.1.0.ebuild new file mode 100644 index 000000000000..6845808ce999 --- /dev/null +++ b/dev-ruby/git/git-4.1.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 +} diff --git a/dev-ruby/git/git-4.1.1.ebuild b/dev-ruby/git/git-4.1.1.ebuild new file mode 100644 index 000000000000..6845808ce999 --- /dev/null +++ b/dev-ruby/git/git-4.1.1.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 +} diff --git a/dev-ruby/git/git-4.1.2.ebuild b/dev-ruby/git/git-4.1.2.ebuild new file mode 100644 index 000000000000..6845808ce999 --- /dev/null +++ b/dev-ruby/git/git-4.1.2.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 +} diff --git a/dev-ruby/git/git-4.2.0.ebuild b/dev-ruby/git/git-4.2.0.ebuild new file mode 100644 index 000000000000..6845808ce999 --- /dev/null +++ b/dev-ruby/git/git-4.2.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 +} 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 +} diff --git a/dev-ruby/git/metadata.xml b/dev-ruby/git/metadata.xml new file mode 100644 index 000000000000..cfbf739729ea --- /dev/null +++ b/dev-ruby/git/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="rubygems">git</remote-id> + </upstream> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
