From dd9b9ebbef3d52ba1626f8c19dad0fc4724a5705 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Tue, 26 Dec 2017 11:12:35 +0100 Subject: community/ruby-rmagick: use rspec from aports --- community/ruby-rmagick/APKBUILD | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'community') diff --git a/community/ruby-rmagick/APKBUILD b/community/ruby-rmagick/APKBUILD index 587505bceb..2341d47ace 100644 --- a/community/ruby-rmagick/APKBUILD +++ b/community/ruby-rmagick/APKBUILD @@ -10,7 +10,7 @@ url="https://rmagick.github.io/" arch="all" license="MIT" depends="ghostscript-fonts" -checkdepends="ruby-rake" +checkdepends="ruby-rake ruby-rspec" makedepends="imagemagick6-dev ruby ruby-dev" source="https://github.com/rmagick/rmagick/archive/RMagick_$_pkgver.tar.gz gemspec.patch" @@ -31,16 +31,7 @@ build() { check() { cd "$builddir" - # Install missing development dependencies needed and used only for running - # tests. We can't install them easily with bundler, because there's - # no way how to force it to NOT update already satisifed dependencies. - # We can't install them directly with gem either, because there's no - # way how to force it to instally only dependencies, not the gem itself. - local dev_deps=$(gem install --explain --development --minimal-deps $_gemname-$pkgver.gem \ - | head -n -1 | sed -En 's/-([^-]+)$/:\1/p') - gem install --instal-dir=.gem --conservative $dev_deps - - GEM_PATH='dist:.gem' .gem/bin/rspec + GEM_PATH='dist:.gem' rspec } package() { -- cgit v1.2.3