aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2021-09-15 19:34:30 +0200
committerMarius Bakke <marius@gnu.org>2021-09-15 23:38:51 +0200
commitd570b32a90fdf0aa4841e0a67f494057d62e2412 (patch)
tree514bb9ae4db23d3d4e8a5a77acf0fdd1b60888b6
parent16236cda58565b122e81e1f87a80a3e942ba6a3e (diff)
downloadguix-d570b32a90fdf0aa4841e0a67f494057d62e2412.tar
guix-d570b32a90fdf0aa4841e0a67f494057d62e2412.tar.gz
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.
-rw-r--r--gnu/packages/databases.scm17
1 files 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 @@ designed to be easy and intuitive to use.")
(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