mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-expecttest: Update to 0.3.0.
* gnu/packages/python-check.scm (python-expecttest): Update to 0.3.0. [native-inputs]: Remove poetry; add python-poetry-core. Change-Id: If0e4a51fe0acfcca06aec952f9c24be09823b5be
This commit is contained in:
parent
cad01598b6
commit
ad11d68fe1
1 changed files with 10 additions and 19 deletions
|
@ -695,39 +695,30 @@ syntax that are likely to be commented out code.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public python-expecttest
|
(define-public python-expecttest
|
||||||
(let ((commit "683b09a352cc426851adc2e3a9f46e0ab25e4dee")
|
|
||||||
(revision "0"))
|
|
||||||
(package
|
(package
|
||||||
(name "python-expecttest")
|
(name "python-expecttest")
|
||||||
(version (git-version "0.2.1" revision commit))
|
(version "0.3.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://github.com/ezyang/expecttest")
|
(url "https://github.com/pytorch/expecttest")
|
||||||
(commit commit)))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1djwxp9x1hczzxbimv1b1bmd083am88v27l82nmlkhvzyg2cmpvv"))))
|
"1diz07lbbdlypbmcikj646vr5fav4prgs68nmnlqi0fr7m01l4zw"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(native-inputs
|
||||||
(list
|
(list python-hypothesis
|
||||||
#:phases
|
python-poetry-core
|
||||||
#~(modify-phases %standard-phases
|
))
|
||||||
(replace 'check
|
(home-page "https://github.com/pytorch/expecttest")
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
|
||||||
(when tests?
|
|
||||||
;; The test runs tests expected to fail, so the output is
|
|
||||||
;; confusing
|
|
||||||
(invoke "python3" "test_expecttest.py")))))))
|
|
||||||
(native-inputs (list python-hypothesis poetry))
|
|
||||||
(home-page "https://github.com/ezyang/expecttest")
|
|
||||||
(synopsis "Python module for expect tests")
|
(synopsis "Python module for expect tests")
|
||||||
(description "@code{expecttest} is a Python module for expect tests, where
|
(description "@code{expecttest} is a Python module for expect tests, where
|
||||||
the initial expected value of a test can be automatically set by running the
|
the initial expected value of a test can be automatically set by running the
|
||||||
test itself.")
|
test itself.")
|
||||||
(license license:expat))))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public python-flake8-builtins
|
(define-public python-flake8-builtins
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue