summaryrefslogtreecommitdiff
path: root/gnu/packages/python.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2016-07-04 20:45:30 +0300
committerEfraim Flashner <efraim@flashner.co.il>2016-07-04 22:47:15 +0300
commit0adc21c2933fbe47ee37d90acdb4ad8cbc60ed69 (patch)
tree7d411a230260196592945b45cc5c255c7912553b /gnu/packages/python.scm
parentfa8af53e99afd932b2e534a428ea6ac62581c89d (diff)
gnu: Add python2-pytest-cache.
* gnu/packages/python.scm (python2-pytest-cache): New variable. (python-pytest-cache)[properties]: New field.
Diffstat (limited to 'gnu/packages/python.scm')
-rw-r--r--gnu/packages/python.scm12
1 files changed, 11 insertions, 1 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 49f0b880203..3505f36b4cf 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -7091,7 +7091,17 @@ minimal and fast API targetting the following uses:
7091 (description "The pytest-cache plugin provides tools to rerun failures from 7091 (description "The pytest-cache plugin provides tools to rerun failures from
7092the last py.test invocation.") 7092the last py.test invocation.")
7093 (home-page "https://bitbucket.org/hpk42/pytest-cache/") 7093 (home-page "https://bitbucket.org/hpk42/pytest-cache/")
7094 (license license:expat))) 7094 (license license:expat)
7095 (properties `((python2-variant . ,(delay python2-pytest-cache))))))
7096
7097(define-public python2-pytest-cache
7098 (let ((pytest-cache (package-with-python2
7099 (strip-python2-variant python-pytest-cache))))
7100 (package
7101 (inherit pytest-cache)
7102 (native-inputs
7103 `(("python2-setuptools" ,python2-setuptools)
7104 ,@(package-native-inputs pytest-cache))))))
7095 7105
7096(define-public python-pytest-localserver 7106(define-public python-pytest-localserver
7097 (package 7107 (package