diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-02 12:28:17 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-02 12:28:17 +0100 |
commit | 20b6ab983b55b022c6e4af317154089e18ad41cb (patch) | |
tree | 07060dcd7f71fd5f02ecf6463cb8bf3665b65bcc /dev-ruby/git | |
parent | 12a4866975c254ac127821e7562eda5ac119fba3 (diff) |
gentoo auto-resync : 02:09:2024 - 12:28:17
Diffstat (limited to 'dev-ruby/git')
-rw-r--r-- | dev-ruby/git/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/git/git-2.3.0.ebuild | 50 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-ruby/git/Manifest b/dev-ruby/git/Manifest index bc0a452853cf..6c41089e5df6 100644 --- a/dev-ruby/git/Manifest +++ b/dev-ruby/git/Manifest @@ -1,7 +1,9 @@ DIST git-1.19.1.tar.gz 177887 BLAKE2B 0da2a829679fd4e2d4b3aec5e88f421d221593729b827f2207bc3d26ce290ee2a41e8dde33b81138cf9df75fa1d1316fa5c69318a1247c627889f5c6971b8fd6 SHA512 4fb27cc2c59d15b0424ac16accc13d2310fec0710815b8deee399767b3cd9707cdf767a301cae271b4cd1ff6718cb955a6c86a9ea99076aaffbbadf595c64c0c DIST git-2.1.1.tar.gz 189005 BLAKE2B 8c273d28bc0b8ccc1a1ac74242086e56941fb6827e39d358adab0e645d080eaf5e4727b0a9aa131ea068efbd77c1ff645b55ddf69d615d13b972566f964aca06 SHA512 4815dff308a32b4b1d4984ea8b96e3cf2870412771afa7b56c74031f66d1eba607506587bf7de740091c285b84c3f4fa1929523d653870679ea317e8933c6b4a DIST git-2.2.0.tar.gz 192227 BLAKE2B 9c3ff354c0484863991a83d4ccba68181e64311bcde7699ac4c211ab1fe92fba7ad108f179b88e61c73681bd1e0b3e7b67f53ab33224a0fc4a00b10201beb608 SHA512 f8da84b8ba0bc9adb2b20eb33ef92f3050941297bf0fe0983d387a150c4cfd1b3342b61417bb1ee732e310c203de2acdca4cc3dad5b1a5f2a08556e19c905905 +DIST git-2.3.0.tar.gz 194653 BLAKE2B a82ea8c7b8cd239de2cb4dd08f013412efcc7dfcd4c85839ff145b2998df4cf4da6cbf7b5942592b086741ed1fca0a3678bfb4ce5ab45c7c4a3259ce9c3c8d94 SHA512 6ca0a9f33fe4cb24b69035d80f689664558d3ebe868604e8592da225e14102fc572b472e7fd8db697c4338569a560ba012694a637d1dd9622fd33d06e9f55780 EBUILD git-1.19.1.ebuild 1413 BLAKE2B 04cbd3817b4a3967372ec354fdd44ef7f9b065d6cd52f7d4058c7da14b09457eac098db194abfc8dec53ae7d1c880186b5ac0603e74257067f78ed15915da79f SHA512 4e41f916509bb7e3748708772c9db21c417f781433821ca4011c68cf44d763c17507b25299bde928fb66a7d976924e78551fbf3d0157fdb8b051b7b6a44de029 EBUILD git-2.1.1.ebuild 1508 BLAKE2B d607c06abb614a9a11338cfe58bec4f355263397c0a837bc1b16b6b9d7737534a58aaf087c99a6f8b9adaad0d1bf7fa73e428a6d1d660678c2f1e32c4b694dd7 SHA512 c09f5cd9670335ec33ae3a62b873e6a7e3041e14d613299f181a4bdea9a1106d880a6b0b604c871172ea61c7b48e08fa5f9e6e7b7d424084e4cb3f8975dba46e EBUILD git-2.2.0.ebuild 1507 BLAKE2B 9b286b0c1e28ae3970c00b7ba65541a818cec1b137ad9e0f256595a1d03bf6298ba67b6e7f8dff6acca59cf754540b46805a672c5fbbc6eebb1d363901bc1687 SHA512 df5bcb7ca96f86ef7581fbb88a39c8fb3786a2cc73cbb398d0bf482e86ac433793408b1873b9a6c39037e326e9afdbd6267765026d996d001b7eb0a1e0d4ae33 +EBUILD git-2.3.0.ebuild 1512 BLAKE2B 16e5cd037160a8817248e21d65a9bb905cf87931dc399c8f02d6b099e9e19079eefe0ef46ee414f914b672d8831bde2dcef02dcf742282da47bf406eccf6c472 SHA512 6a8bfcbe83a18402ce6b1915fcc7cdede2647b0cf92224a2db2ca61d2c8037d5f90da1582d95dffe5075c36be7341d6f94d2f536ed2c0901bcc8adae1726ff93 MISC metadata.xml 391 BLAKE2B 3d03aece790440be04e0a72615824cb5aeb627e67b87b9457b7625a330c5d4736b77897a9b6655b0e45d99d134615090a95077fe2ee62131d572686f9a4bc682 SHA512 0ac01abe3193d7e8566420333c2bbf301bdc2ad3c4587ef9f48bf260322a3763eed3319c879472c0028cf8d63c73e82d24f2e2164692a06f3e14bd992e3b301c diff --git a/dev-ruby/git/git-2.3.0.ebuild b/dev-ruby/git/git-2.3.0.ebuild new file mode 100644 index 000000000000..ddb8abb8b33d --- /dev/null +++ b/dev-ruby/git/git-2.3.0.ebuild @@ -0,0 +1,50 @@ +# 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 ~ppc ~ppc64" +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 +} |