[arch-commits] Commit in ruby-sinatra/trunk (PKGBUILD)

Andreas Schleifer segaja at gemini.archlinux.org
Sun Aug 14 16:57:46 UTC 2022


    Date: Sunday, August 14, 2022 @ 16:57:45
  Author: segaja
Revision: 1266073

upgpkg: ruby-sinatra 2.2.2-2; enable tests

Modified:
  ruby-sinatra/trunk/PKGBUILD

----------+
 PKGBUILD |  128 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 64 insertions(+), 64 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-14 16:56:26 UTC (rev 1266072)
+++ PKGBUILD	2022-08-14 16:57:45 UTC (rev 1266073)
@@ -3,34 +3,34 @@
 
 pkgname=(ruby-sinatra ruby-sinatra-contrib ruby-rack-protection)
 pkgver=2.2.2
-pkgrel=1
+pkgrel=2
 arch=('any')
 url='https://sinatrarb.com/'
 license=('MIT')
 makedepends=('ruby')
-#checkdepends=(
-#    'asciidoctor'
-#    'ruby-activesupport'
-#    'ruby-builder'
-#    'ruby-erubi'
-#    'ruby-kramdown'
-#    'ruby-maruku'
-#    'ruby-mustermann'
-#    'ruby-nokogiri'
-#    'ruby-rack'
-#    'ruby-rack-protection'
-#    'ruby-rack-test'
-#    'ruby-rake'
-#    'ruby-rdiscount'
-#    'ruby-rspec'
-#    'ruby-sass'
-#    'ruby-sinatra-contrib'
-#    'ruby-tilt'
-#    # ruby-sinatra - integration tests
-#    #'ruby-puma'
-#    #'ruby-thin'
-#    #'ruby-webrick'
-#)
+checkdepends=(
+    'asciidoctor'
+    'ruby-activesupport'
+    'ruby-builder'
+    'ruby-erubi'
+    'ruby-kramdown'
+    'ruby-maruku'
+    'ruby-mustermann'
+    'ruby-nokogiri'
+    'ruby-rack'
+    'ruby-rack-protection'
+    'ruby-rack-test'
+    'ruby-rake'
+    'ruby-rdiscount'
+    'ruby-rspec'
+    'ruby-sass'
+    'ruby-sinatra-contrib'
+    'ruby-tilt'
+    # ruby-sinatra - integration tests
+    #'ruby-puma'
+    #'ruby-thin'
+    #'ruby-webrick'
+)
 options=('!emptydirs')
 source=("https://github.com/sinatra/sinatra/archive/v${pkgver}/sinatra-v${pkgver}.tar.gz")
 sha512sums=('e69a36738a7c1095968a343113ddba414ff685e941a8b55575e4b2ffa5a8e7394d874966d5532643cdfec997ac4c825c293185f6688c715006e37159eedd2be8')
@@ -56,47 +56,47 @@
   )
 }
 
-#check() {
-#  cd "sinatra-${pkgver}"
-#
-#  # cannot load such file -- coffee-script: skipping coffee tests
-#  # cannot load such file -- creole: skipping creole tests
-#  # cannot load such file -- erubis: skipping erubis tests
-#  # cannot load such file -- haml: skipping haml tests
-#  # rainbows is not installed, skipping integration tests
-#  # rainbows is not installed, skipping integration tests
-#  # reel is not installed, skipping integration tests
-#  # HTTP is not installed, skipping integration tests
-#  # cannot load such file -- less: skipping less tests
-#  # cannot load such file -- liquid: skipping liquid tests
-#  # cannot load such file -- markaby: skipping markaby tests
-#  # cannot load such file -- pandoc-ruby: skipping markdown tests with Tilt::PandocTemplate
-#  # cannot load such file -- commonmarker: skipping markdown tests with Tilt::CommonMarkerTemplate
-#  # cannot load such file -- redcarpet: skipping markdown tests with Tilt::RedcarpetTemplate
-#  # cannot load such file -- bluecloth: skipping markdown tests with Tilt::BlueClothTemplate
-#  # cannot load such file -- wikicloth: skipping mediawiki tests
-#  # cannot load such file -- rabl: skipping rabl tests
-#  # cannot load such file -- radius: skipping radius tests
-#  # cannot load such file -- slim: skipping slim tests
-#  # cannot load such file -- stylus: skipping stylus tests
-#  # cannot load such file -- redcloth: skipping textile tests
-#  # cannot load such file -- wlang: skipping wlang tests
-#  # cannot load such file -- yajl: skipping yajl tests
-#  echo "sinatra"
-#  rake spec
-#
-#  # disabled as it requires hamlit
-#  #(cd sinatra-contrib
-#  #  echo "sinatra"
-#  #  rake spec
-#  #)
-#
-#  (cd rack-protection
-#    echo "rack-protection"
-#    rake spec
-#  )
-#}
+check() {
+  cd "sinatra-${pkgver}"
 
+  # cannot load such file -- coffee-script: skipping coffee tests
+  # cannot load such file -- creole: skipping creole tests
+  # cannot load such file -- erubis: skipping erubis tests
+  # cannot load such file -- haml: skipping haml tests
+  # rainbows is not installed, skipping integration tests
+  # rainbows is not installed, skipping integration tests
+  # reel is not installed, skipping integration tests
+  # HTTP is not installed, skipping integration tests
+  # cannot load such file -- less: skipping less tests
+  # cannot load such file -- liquid: skipping liquid tests
+  # cannot load such file -- markaby: skipping markaby tests
+  # cannot load such file -- pandoc-ruby: skipping markdown tests with Tilt::PandocTemplate
+  # cannot load such file -- commonmarker: skipping markdown tests with Tilt::CommonMarkerTemplate
+  # cannot load such file -- redcarpet: skipping markdown tests with Tilt::RedcarpetTemplate
+  # cannot load such file -- bluecloth: skipping markdown tests with Tilt::BlueClothTemplate
+  # cannot load such file -- wikicloth: skipping mediawiki tests
+  # cannot load such file -- rabl: skipping rabl tests
+  # cannot load such file -- radius: skipping radius tests
+  # cannot load such file -- slim: skipping slim tests
+  # cannot load such file -- stylus: skipping stylus tests
+  # cannot load such file -- redcloth: skipping textile tests
+  # cannot load such file -- wlang: skipping wlang tests
+  # cannot load such file -- yajl: skipping yajl tests
+  echo "sinatra"
+  rake spec
+
+  # disabled as it requires hamlit
+  #(cd sinatra-contrib
+  #  echo "sinatra"
+  #  rake spec
+  #)
+
+  (cd rack-protection
+    echo "rack-protection"
+    rake spec
+  )
+}
+
 package_ruby-sinatra() {
   pkgdesc='Classy web-development dressed in a DSL'
   depends=('ruby' 'ruby-mustermann' 'ruby-rack' 'ruby-rack-protection' 'ruby-tilt')



More information about the arch-commits mailing list