Date: Monday, October 24, 2022 @ 13:08:15
  Author: felixonmars
Revision: 1334538

upgpkg: ruby-maxitest 4.2.0-1

Modified:
  ruby-maxitest/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-24 12:47:14 UTC (rev 1334537)
+++ PKGBUILD    2022-10-24 13:08:15 UTC (rev 1334538)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan <[email protected]>
 
 pkgname=ruby-maxitest
-pkgver=4.1.0
+pkgver=4.2.0
 pkgrel=1
 pkgdesc='Minitest + all the features you always wanted'
 arch=(any)
@@ -12,11 +12,11 @@
 checkdepends=(procps-ng ruby-byebug)
 options=(!emptydirs)
 
source=(https://github.com/grosser/maxitest/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('da22d913b3ea2a80b508736c8828421dc2476aebc29c5245089eeef435a15828')
+sha256sums=('87e763aedcf19d513f58c262dc6f12e5a579c79d8aeb880e1d5c3cea9eafaf13')
 
 prepare() {
   cd maxitest-$pkgver
-  sed -e 's/, "< 5.15.0"//' -e 's|git ls-files lib/ bin/ MIT-LICENSE 
Readme.md|find lib/ bin/ MIT-LICENSE Readme.md -type f|' -i maxitest.gemspec
+  sed -e 's/, "< 5.17.0"//' -e 's|git ls-files lib/ bin/ MIT-LICENSE 
Readme.md|find lib/ bin/ MIT-LICENSE Readme.md -type f|' -i maxitest.gemspec
   sed -i '/bump/d' Gemfile
   rm Gemfile.lock
 }
@@ -50,8 +50,7 @@
 check() {
   local _gemdir="$(gem env gemdir)"
   cd maxitest-$pkgver
-  # https://github.com/grosser/maxitest/issues/38
-  PATH="tmp_install/usr/bin:$PATH" GEM_HOME="tmp_install/$_gemdir" rake || 
echo "Tests failed"
+  PATH="tmp_install/usr/bin:$PATH" GEM_HOME="tmp_install/$_gemdir" rake
 }
 
 package() {

Reply via email to