aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2021-01-09 17:11:20 +0100
committerJakub Jirutka <jakub@jirutka.cz>2021-01-09 17:21:42 +0100
commit0bd3c3dfdeccf6eb5f585f7f6d7f6ae2404bb90d (patch)
treee7a4be3650d68ad53911b8ec02cc29d1e9f7df4b
parent71cb44c0dcd85c447bbe8c355d5d0f9610b163c8 (diff)
downloadaports-0bd3c3dfdeccf6eb5f585f7f6d7f6ae2404bb90d.tar.gz
aports-0bd3c3dfdeccf6eb5f585f7f6d7f6ae2404bb90d.tar.bz2
aports-0bd3c3dfdeccf6eb5f585f7f6d7f6ae2404bb90d.tar.xz
community/ruby-mathematical: fix and enable tests
-rw-r--r--community/ruby-mathematical/APKBUILD3
1 files changed, 1 insertions, 2 deletions
diff --git a/community/ruby-mathematical/APKBUILD b/community/ruby-mathematical/APKBUILD
index c1f39c540a..998549dc5f 100644
--- a/community/ruby-mathematical/APKBUILD
+++ b/community/ruby-mathematical/APKBUILD
@@ -12,7 +12,6 @@ depends="ruby ruby-enum"
makedepends="cmake lasem-dev mtex2mml-dev ruby-dev"
checkdepends="mtex2mml-fixtures ruby-io-console ruby-irb ruby-json
ruby-minitest ruby-nokogiri ruby-rake"
-options="!check" # TODO: tests fails with ruby 2.7.
source="$pkgname-$pkgver.tar.gz::https://github.com/gjtorikian/$_gemname/archive/v$pkgver.tar.gz
use-system-mtex2mml-fixtures.patch"
builddir="$srcdir/$_gemname-$pkgver"
@@ -21,7 +20,7 @@ prepare() {
default_prepare
# Don't load bundler, it messes with GEM_PATH.
- sed -i "/^require\s*[\"']bundler\/setup/d" test/test_helper.rb
+ sed -i "/^require\s*[\"']bundler/d" Rakefile test/test_helper.rb
# Some tests in this file are unstable (randomly fails).
# https://github.com/gjtorikian/mathematical/issues/73