diff options
Diffstat (limited to 'dev-ruby/git')
-rw-r--r-- | dev-ruby/git/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/git/git-2.1.1.ebuild | 47 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-ruby/git/Manifest b/dev-ruby/git/Manifest index 91cd06e95070..9b097346dc11 100644 --- a/dev-ruby/git/Manifest +++ b/dev-ruby/git/Manifest @@ -1,7 +1,9 @@ DIST git-1.18.0.tar.gz 175341 BLAKE2B 5a8dee1fef79c0386c59d37f37f2249c72600f2f11dbf2cc2c5bf63ff91f068c9c3164d24c2670585e8261d890f07b998255ddb80ce35ce53de09f402a4ec9e3 SHA512 520886b23758229cf25bfdd17e9d86e53d62feb6b2b3c155efe493db42d2f247a29bd629ff6c80ffa599ad429bcb6f09e44b015eeeecf9d9a5f4ee6ab3f1a265 DIST git-1.19.0.tar.gz 177079 BLAKE2B 663d6303a49315567cbac77b4acfea10e24f1c61f1e1bb6d5807681eee03633edadcac9453ea4d919d3ad8b14fc0301b03e69033427b58d46b776caabd418cd9 SHA512 1935bd6bac26b46cd8563d6545bb7e4712636469624d11089bc5a7f716ee4a0f1e217167e6d0c6023a7ea4ef1644d93431bcdbd28d2a947589c288c0280a1286 DIST git-1.19.1.tar.gz 177887 BLAKE2B 0da2a829679fd4e2d4b3aec5e88f421d221593729b827f2207bc3d26ce290ee2a41e8dde33b81138cf9df75fa1d1316fa5c69318a1247c627889f5c6971b8fd6 SHA512 4fb27cc2c59d15b0424ac16accc13d2310fec0710815b8deee399767b3cd9707cdf767a301cae271b4cd1ff6718cb955a6c86a9ea99076aaffbbadf595c64c0c +DIST git-2.1.1.tar.gz 189005 BLAKE2B 8c273d28bc0b8ccc1a1ac74242086e56941fb6827e39d358adab0e645d080eaf5e4727b0a9aa131ea068efbd77c1ff645b55ddf69d615d13b972566f964aca06 SHA512 4815dff308a32b4b1d4984ea8b96e3cf2870412771afa7b56c74031f66d1eba607506587bf7de740091c285b84c3f4fa1929523d653870679ea317e8933c6b4a EBUILD git-1.18.0.ebuild 1255 BLAKE2B 155cc93656318be5a9499f747ce8570becdebc822cb54031f48f4474c7eae5a447a3be8846b01faf34d497d33526882dc83ea25bcc6738f0d856a427954eb752 SHA512 58166a367d1ef571a29fee8fd5527107ffae592a8cd8479202cb406032d0d70e3391a172426e1a419005fd889d9b1f01cd1f20cc0fe413b319d1a68689b1b942 EBUILD git-1.19.0.ebuild 1249 BLAKE2B d9968a180831832d4ac28f0ed4c436d290ac80495a1cda85beecf94640627eef7dfca96e64534c905e1c089ba63627a7859b71ebe84775b78ca92f5f4918db71 SHA512 b096c54c229f4ac524987793d6f44f29f7b95e158990360b4012f136a5a4cbd3de439dc33760eac162a05f535ff8f07adb714d9f1e1b945b0ce385e193c41143 EBUILD git-1.19.1.ebuild 1279 BLAKE2B 3c4a0d53e3d861c54c67af61b18a0152db6faed3020e05a9d11b0fdf1c572de45d38c3a6f3af0c6364989ad2f1a9a86cf8f780e5700ffa588a74f42c4547e27e SHA512 07353917a893563d8c898ca6af03876854eba7dea439d9c8fed6987f30e4aaab1b9dc9f79e3d98904320eb94283f6454cf11dc2ef2776098b00ead45912ff64b +EBUILD git-2.1.1.ebuild 1344 BLAKE2B d6cdf0c88c3f363344b65f5a10be7833a6fb9776078709c616c0a55f6bcee3d06395d395482971318eba68ec99602c29bad9b7d23784d811b05cd3b104c6a780 SHA512 034f100003bfe663b28ffaef5726543b5d06907cb078f663b17bdcb7dfabf84a52c14fff99cc12adb4f97fa03ebc920115b295c91a3891672857294b0aa8bc23 MISC metadata.xml 391 BLAKE2B 3d03aece790440be04e0a72615824cb5aeb627e67b87b9457b7625a330c5d4736b77897a9b6655b0e45d99d134615090a95077fe2ee62131d572686f9a4bc682 SHA512 0ac01abe3193d7e8566420333c2bbf301bdc2ad3c4587ef9f48bf260322a3763eed3319c879472c0028cf8d63c73e82d24f2e2164692a06f3e14bd992e3b301c diff --git a/dev-ruby/git/git-2.1.1.ebuild b/dev-ruby/git/git-2.1.1.ebuild new file mode 100644 index 000000000000..e68f7570ad78 --- /dev/null +++ b/dev-ruby/git/git-2.1.1.ebuild @@ -0,0 +1,47 @@ +# 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="$(ver_cut 1)" +KEYWORDS="~amd64" +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/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 >=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 + ${RUBY} -Ilib:.:tests -e 'Dir["tests/**/test_*.rb"].each {|f| require f}' || die +} |