From d570b32a90fdf0aa4841e0a67f494057d62e2412 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 15 Sep 2021 19:34:30 +0200 Subject: gnu: python-sadisplay: Update to 0.4.9. * gnu/packages/databases.scm (python-sadisplay): Update to 0.4.9. [arguments]: New field. Override check phase. [native-inputs]: Remove PYTHON-NOSE. Add PYTHON-PYTEST. --- gnu/packages/databases.scm | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index dbb9b2fabf..9dd4d92d6f 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -3317,20 +3317,31 @@ (define-public python2-psycopg2 (define-public python-sadisplay (package (name "python-sadisplay") - (version "0.4.8") + (version "0.4.9") (source (origin (method url-fetch) (uri (pypi-uri "sadisplay" version)) (sha256 (base32 - "01d9lxhmgpb68gy8rd6zj6fcwp84n2qq210n1qsk3qbsir79bzh4")))) + "15jxwgla3q4xsp6rw8inqaiy1kdzc8l2cixj8amqcf0ji47icrxg")))) (build-system python-build-system) + (arguments + '(#:phases (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (if tests? + (begin + (setenv "PYTHONPATH" + (string-append ".:" (or (getenv "PYTHONPATH") + ""))) + (invoke "pytest" "-vv")) + (format #t "test suite not run~%"))))))) (propagated-inputs `(("python-sqlalchemy" ,python-sqlalchemy))) (native-inputs ;; For tests. - `(("python-nose" ,python-nose))) + `(("python-pytest" ,python-pytest))) (home-page "https://bitbucket.org/estin/sadisplay") (synopsis "SQLAlchemy schema displayer") (description "This package provides a program to build Entity -- cgit v1.2.3