[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 01/10] gnu: Add python2-pytest-cache.
From: |
Ben Woodcroft |
Subject: |
[PATCH v2 01/10] gnu: Add python2-pytest-cache. |
Date: |
Sun, 24 Apr 2016 23:06:15 +1000 |
* gnu/packages/python.scm (python-pytest-cache)[properties]: New field.
(python2-pytest-cache): New variable.
---
gnu/packages/python.scm | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 0379352..ecd16c5 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -12,7 +12,7 @@
;;; Copyright © 2015 Eric Dvorsak <address@hidden>
;;; Copyright © 2015, 2016 David Thompson <address@hidden>
;;; Copyright © 2015, 2016 Leo Famulari <address@hidden>
-;;; Copyright © 2015 Ben Woodcroft <address@hidden>
+;;; Copyright © 2015, 2016 Ben Woodcroft <address@hidden>
;;; Copyright © 2015, 2016 Erik Edrosa <address@hidden>
;;; Copyright © 2015, 2016 Efraim Flashner <address@hidden>
;;; Copyright © 2015 Kyle Meyer <address@hidden>
@@ -6965,7 +6965,17 @@ minimal and fast API targetting the following uses:
(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 ((base (package-with-python2
+ (strip-python2-variant python-pytest-cache))))
+ (package
+ (inherit base)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs base))))))
(define-public python-pytest-localserver
(package
--
2.5.0
- Re: [PATCH 09/10] gnu: Add python-natsort., (continued)
- [PATCH 10/10] gnu: Add python-scikit-bio., Ben Woodcroft, 2016/04/21
- [PATCH 04/10] gnu: Add python-pytest-flakes., Ben Woodcroft, 2016/04/21
- [PATCH 06/10] gnu: Add python-cachecontrol., Ben Woodcroft, 2016/04/21
- [PATCH 2/2] gnu: Add python-scikit-bio., Ben Woodcroft, 2016/04/24
- [PATCH v2] Add python-scikit-bio., Ben Woodcroft, 2016/04/24
- [PATCH v2 01/10] gnu: Add python2-pytest-cache.,
Ben Woodcroft <=
- [PATCH v2 02/10] gnu: Add python-bz2file., Ben Woodcroft, 2016/04/24
- [PATCH v2 03/10] gnu: Add python-pytest-pep8., Ben Woodcroft, 2016/04/24
- Re: [PATCH v2 03/10] gnu: Add python-pytest-pep8., Efraim Flashner, 2016/04/24
- Re: [PATCH v2 03/10] gnu: Add python-pytest-pep8., Ben Woodcroft, 2016/04/24
- Re: [PATCH v2 03/10] gnu: Add python-pytest-pep8., Ben Woodcroft, 2016/04/24
- Re: [PATCH v2 03/10] gnu: Add python-pytest-pep8., Ricardo Wurmus, 2016/04/25
- Re: [PATCH v2 03/10] gnu: Add python-pytest-pep8., Ben Woodcroft, 2016/04/25
- Re: [PATCH v2 03/10] gnu: Add python-pytest-pep8., Leo Famulari, 2016/04/25