Mail archive
alpine-aports

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

From: alpine-mips-patches <info_at_mobile-stream.com>
Date: Wed, 19 Dec 2018 07:44:44 +0000

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
_at_@ -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_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Wed Dec 19 2018 - 07:44:44 UTC