summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-08-11 07:00:03 +0200
committerHans de Graaff <graaff@gentoo.org>2018-08-11 07:00:03 +0200
commit38226a1fb93753a29f4bc2442e80fede03457a6f (patch)
tree227fba2bb7e38b30925dac83fa24a14bada99216 /dev-ruby/git
parentdev-libs/libfilezilla: drop old (diff)
downloadgentoo-38226a1fb93753a29f4bc2442e80fede03457a6f.tar.gz
gentoo-38226a1fb93753a29f4bc2442e80fede03457a6f.tar.bz2
gentoo-38226a1fb93753a29f4bc2442e80fede03457a6f.zip
dev-ruby/git: add 1.5.0
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-ruby/git')
-rw-r--r--dev-ruby/git/Manifest1
-rw-r--r--dev-ruby/git/git-1.5.0.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/git/Manifest b/dev-ruby/git/Manifest
index c257e85c14c4..0a954c2ed645 100644
--- a/dev-ruby/git/Manifest
+++ b/dev-ruby/git/Manifest
@@ -1,2 +1,3 @@
DIST git-1.3.0.tar.gz 124800 BLAKE2B 7dbdfe19d3398a2ca7df4383c619acca3e9d05875a629dd580286f3e2241e19183b5713daa5c5357f0644ca1570d4ee5a9d81b204ad0546656faa45cf0c99bbc SHA512 a5c86030f20580886b92b0a258cfc5d281d9fb093069c6350d0afb69a9dccb372a257cbbabd415132b35ccd26620bbc3589a5dc6ac1a418f35f42f7d225c9307
DIST git-1.4.0.tar.gz 125691 BLAKE2B 313cbf5bb6b33d96237fccb01aa691e54ab0e94708ffa582d18c7457196f0438de97a2d03518da219ccde85cae627babdffe1f075d16f113f4b8e98cc00fc9a8 SHA512 270c7cd7485f1fc41bda5e8c11556707b7e807720bce9bfac7f172a9c640d0fb31404ce7d1fa0de8fc743a95adecfb34efae01fbfccb83ccd8a8f0169443a073
+DIST git-1.5.0.tar.gz 128607 BLAKE2B e2bf19af6c0dd95917b7f599ce2e9b0b4237da78020a86cab5c5985b6944f0921a8f245ef860b9e1faf31761296c4cb6a685ca8d6033e3a8ca7086eef8a9e75b SHA512 001b2e93c1a1f5010026e4b6ea280cc6d7649903cc6faec277b2389bd74fd274c6b2daa465bb66ad7e15f7bdc4b09e20e8c1cc1a55ccfd4ab80ec12bf8562af2
diff --git a/dev-ruby/git/git-1.5.0.ebuild b/dev-ruby/git/git-1.5.0.ebuild
new file mode 100644
index 000000000000..1db96ff807e2
--- /dev/null
+++ b/dev-ruby/git/git-1.5.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24 ruby25"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+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/schacon/ruby-git"
+SRC_URI="https://github.com/schacon/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_bdepend "test? ( 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
+}