Date: Monday, December 26, 2022 @ 09:02:57
  Author: alerque
Revision: 1367539

upgpkg: calibre 6.10.0-2; switch testing to python unittest module

Modified:
  calibre/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-12-26 09:00:20 UTC (rev 1367538)
+++ PKGBUILD    2022-12-26 09:02:57 UTC (rev 1367539)
@@ -9,7 +9,7 @@
 
 pkgname=calibre
 pkgver=6.10.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Ebook management application'
 arch=(x86_64)
 url=https://calibre-ebook.com
@@ -109,17 +109,7 @@
 
 check() {
        cd "$_archive"
-
-       _test_excludes=(
-               # merely testing if a runtime-optional feature optdepend is 
importable
-               'speech_dispatcher'
-               # tests if a completely unused module is bundled
-               'pycryptodome'
-               # only fails on local builds, and that intermittently
-               'test_searching'
-       )
-
-       LANG='en_US.UTF-8' python setup.py test 
"${_test_excludes[@]/#/--exclude-test-name=}"
+       LANG='en_US.UTF-8' python -m unittest discover
 }
 
 package() {

Reply via email to