gnu: python-pyclipper: Enable tests.

* gnu/packages/python.scm (python-pyclipper)[arguments]: Enable tests.
[native-inputs]: Add python-pytest, python-pytest-runner,
python-unittest2.
This commit is contained in:
Efraim Flashner 2018-11-11 11:12:37 +02:00
parent 8189ce6f05
commit 261e421459
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -12911,8 +12911,7 @@ (define-public python-pyclipper
(delete-file "pyclipper/pyclipper.cpp") #t)))) (delete-file "pyclipper/pyclipper.cpp") #t))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:tests? #f ; 8 Tests fail, 37 succeed `(#:phases
#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'build 'cythonize-sources (add-before 'build 'cythonize-sources
(lambda _ (lambda _
@ -12922,6 +12921,9 @@ (define-public python-pyclipper
`(("python-setuptools-scm-git-archive" ,python-setuptools-scm-git-archive))) `(("python-setuptools-scm-git-archive" ,python-setuptools-scm-git-archive)))
(native-inputs (native-inputs
`(("python-cython" ,python-cython) `(("python-cython" ,python-cython)
("python-pytest" ,python-pytest)
("python-pytest-runner" ,python-pytest-runner)
("python-unittest2" ,python-unittest2)
("unzip" ,unzip))) ("unzip" ,unzip)))
(home-page "https://github.com/greginvm/pyclipper") (home-page "https://github.com/greginvm/pyclipper")
(synopsis "Wrapper for Angus Johnson's Clipper library") (synopsis "Wrapper for Angus Johnson's Clipper library")