diff options
Diffstat (limited to 'community/ruby-rmagick')
-rw-r--r-- | community/ruby-rmagick/APKBUILD | 13 |
1 files changed, 2 insertions, 11 deletions
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() { |