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:
		
							parent
							
								
									bfba083684
								
							
						
					
					
						commit
						35d56b7b60
					
				
					 1 changed files with 12 additions and 1 deletions
				
			
		| 
						 | 
					@ -3988,11 +3988,22 @@ both of which are installed automatically if you install this library.")
 | 
				
			||||||
         (base32
 | 
					         (base32
 | 
				
			||||||
          "1wghyvk73cmq3iqyg3fczw128fv2pan2v76m0xg1bw05h8fhvnk3"))))
 | 
					          "1wghyvk73cmq3iqyg3fczw128fv2pan2v76m0xg1bw05h8fhvnk3"))))
 | 
				
			||||||
    (build-system python-build-system)
 | 
					    (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
 | 
					    (propagated-inputs
 | 
				
			||||||
     `(("python-six" ,python-six)
 | 
					     `(("python-six" ,python-six)
 | 
				
			||||||
       ("python-sqlalchemy" ,python-sqlalchemy)))
 | 
					       ("python-sqlalchemy" ,python-sqlalchemy)))
 | 
				
			||||||
    (native-inputs
 | 
					    (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")
 | 
					    (home-page "https://github.com/kvesteri/sqlalchemy-utils")
 | 
				
			||||||
    (synopsis "Various utility functions for SQLAlchemy")
 | 
					    (synopsis "Various utility functions for SQLAlchemy")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue