[alpine-aports] [PATCH] community/ruby-rugged: fix checkdepends (git)

alpine-mips-patches
Details
Message ID
<20181219085622.1EABF5B328@mx12.valuehost.ru>
Sender timestamp
1545205484
DKIM signature
missing
Download raw message
Patch: +2 -2
Without git installed check() fails with a bunch of errors like this:

  1) Error:
IndexRepositoryTest#test_read_tree_with_not_a_tree:
Errno::ENOENT: No such file or directory - git
    /home/user/aports/community/ruby-rugged/src/rugged-0.27.4/test/test_helper.rb:56:in ``'
    /home/user/aports/community/ruby-rugged/src/rugged-0.27.4/test/test_helper.rb:56:in `clone'
    /home/user/aports/community/ruby-rugged/src/rugged-0.27.4/test/index_test.rb:322:in `setup'
---
 community/ruby-rugged/APKBUILD | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/community/ruby-rugged/APKBUILD b/community/ruby-rugged/APKBUILD
index 433c6b8ac2..d9ae664906 100644
--- a/community/ruby-rugged/APKBUILD
+++ b/community/ruby-rugged/APKBUILD
@@ -3,12 +3,12 @@
 pkgname=ruby-rugged
 _gemname=rugged
 pkgver=0.27.4
-pkgrel=0
+pkgrel=1
 pkgdesc="Ruby bindings to libgit2"
 url="https://github.com/libgit2/rugged"
 arch="all"
 license="MIT"
-checkdepends="libgit2-tests ruby-minitest ruby-rake-compiler ruby-rake"
+checkdepends="libgit2-tests ruby-minitest ruby-rake-compiler ruby-rake git"
 makedepends="libgit2-dev>=${pkgver%.*} ruby ruby-dev"
 source="$_gemname-$pkgver.tar.gz::https://github.com/libgit2/$_gemname/archive/v$pkgver.tar.gz
 	fix-extconf-version-check.patch
-- 
2.19.2




---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---