aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-12-26 11:12:35 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-12-26 11:13:12 +0100
commitdd9b9ebbef3d52ba1626f8c19dad0fc4724a5705 (patch)
tree6001716cfc1c8ea068d0904cf75d1e0e2bd141ee
parent4162743c9cbbba4e447b0d2753801424ea917a85 (diff)
downloadaports-dd9b9ebbef3d52ba1626f8c19dad0fc4724a5705.tar.bz2
aports-dd9b9ebbef3d52ba1626f8c19dad0fc4724a5705.tar.xz
community/ruby-rmagick: use rspec from aports
-rw-r--r--community/ruby-rmagick/APKBUILD13
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() {