mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
gnu: Add python2-pytest-cache.
* gnu/packages/python.scm (python2-pytest-cache): New variable. (python-pytest-cache)[properties]: New field.
This commit is contained in:
parent
fa8af53e99
commit
0adc21c293
1 changed files with 11 additions and 1 deletions
|
@ -7091,7 +7091,17 @@ (define-public python-pytest-cache
|
|||
(description "The pytest-cache plugin provides tools to rerun failures from
|
||||
the last py.test invocation.")
|
||||
(home-page "https://bitbucket.org/hpk42/pytest-cache/")
|
||||
(license license:expat)))
|
||||
(license license:expat)
|
||||
(properties `((python2-variant . ,(delay python2-pytest-cache))))))
|
||||
|
||||
(define-public python2-pytest-cache
|
||||
(let ((pytest-cache (package-with-python2
|
||||
(strip-python2-variant python-pytest-cache))))
|
||||
(package
|
||||
(inherit pytest-cache)
|
||||
(native-inputs
|
||||
`(("python2-setuptools" ,python2-setuptools)
|
||||
,@(package-native-inputs pytest-cache))))))
|
||||
|
||||
(define-public python-pytest-localserver
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue