gnu: python-sqlalchemy-utils: Disable tests.

* gnu/packages/python.scm (python-sqlalchemy-utils,
  python2-sqlalchemy-utils)[arguments]: Set #:tests? #f.
  [native-inputs]: Add python-dateutil-2, python-flexmock, python-pcycopg2 and
  python-pytz.
This commit is contained in:
Marius Bakke 2016-12-15 17:26:42 +01:00
parent bfba083684
commit 35d56b7b60
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 12 additions and 1 deletions

View File

@ -3988,11 +3988,22 @@ both of which are installed automatically if you install this library.")
(base32
"1wghyvk73cmq3iqyg3fczw128fv2pan2v76m0xg1bw05h8fhvnk3"))))
(build-system python-build-system)
(arguments
'(#:tests? #f)) ; FIXME: Many tests require a running database server.
;; #:phases
;; (modify-phases %standard-phases
;; (replace 'check
;; (lambda _
;; (zero? (system* "py.test" "sqlalchemy_utils" "tests")))))
(propagated-inputs
`(("python-six" ,python-six)
("python-sqlalchemy" ,python-sqlalchemy)))
(native-inputs
`(("python-pytest" ,python-pytest)))
`(("python-dateutil" ,python-dateutil-2)
("python-flexmock" ,python-flexmock)
("python-psycopg2" ,python-psycopg2)
("python-pytest" ,python-pytest)
("python-pytz" ,python-pytz)))
(home-page "https://github.com/kvesteri/sqlalchemy-utils")
(synopsis "Various utility functions for SQLAlchemy")
(description