[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/19: gnu: python-pytest-runner: Define python2-pytest-runner.
From: |
Efraim Flashner |
Subject: |
13/19: gnu: python-pytest-runner: Define python2-pytest-runner. |
Date: |
Sun, 10 Apr 2016 20:49:20 +0000 |
efraim pushed a commit to branch master
in repository guix.
commit 54cd239b358f7d3fb15a0d17a96713c68c5142ec
Author: Efraim Flashner <address@hidden>
Date: Sun Apr 10 21:17:10 2016 +0300
gnu: python-pytest-runner: Define python2-pytest-runner.
* gnu/packages/python.scm (python-pytest-runner)[properties]: Define
python2-pytest-runner.
[native-inputs]: Remove python-setuptools.
[home-page]: Project has moved to Github.
(python2-pytest-runner)[native-inputs]: Add python2-setuptools.
---
gnu/packages/python.scm | 18 ++++++++++++------
1 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 2cde276..c3daf31 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1597,9 +1597,7 @@ supports coverage of subprocesses.")
(source
(origin
(method url-fetch)
- (uri (string-append "https://pypi.python.org/packages/source/p/"
- "pytest-runner/pytest-runner-"
- version ".tar.gz"))
+ (uri (pypi-uri "pytest-runner" version))
(sha256
(base32
"1nwcqx0l3fv52kv8526wy8ypzghbq96c96di318d98d3wh7a8xg7"))))
@@ -1617,14 +1615,22 @@ supports coverage of subprocesses.")
#t)))))
(native-inputs
`(("python-pytest" ,python-pytest)
- ("python-setuptools" ,python-setuptools)
("python-setuptools-scm" ,python-setuptools-scm)))
- (home-page "https://bitbucket.org/pytest-dev/pytest-runner")
+ (home-page "https://github.com/pytest-dev/pytest-runner")
(synopsis "Invoke py.test as a distutils command")
(description
"This package provides a @command{pytest-runner} command that
@file{setup.py} files can use to run tests.")
- (license license:expat)))
+ (license license:expat)
+ (properties `((python2-variant . ,(delay python2-pytest-runner))))))
+
+(define-public python2-pytest-runner
+ (let ((base (package-with-python2
+ (strip-python2-variant python-pytest-runner))))
+ (package
+ (inherit base)
+ (native-inputs `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs base))))))
(define-public python2-pytest-runner
(package-with-python2 python-pytest-runner))
- 04/19: gnu: python-babel: Update to 2.3.2., (continued)
- 04/19: gnu: python-babel: Update to 2.3.2., Efraim Flashner, 2016/04/10
- 05/19: gnu: python-pytz: Update to 2016.3., Efraim Flashner, 2016/04/10
- 16/19: gnu: python-execnet: Change inputs., Efraim Flashner, 2016/04/10
- 14/19: gnu: python-pytest-xdist: Change inputs., Efraim Flashner, 2016/04/10
- 18/19: gnu: python-pytest-localserver: Change inputs., Efraim Flashner, 2016/04/10
- 19/19: gnu: python-werkzeug: Update to 0.11.5., Efraim Flashner, 2016/04/10
- 15/19: gnu: python-apipkg: Change inputs., Efraim Flashner, 2016/04/10
- 12/19: gnu: python-pytest-cov: Update to 2.2.1., Efraim Flashner, 2016/04/10
- 07/19: gnu: python-keyring: Update to 8.7., Efraim Flashner, 2016/04/10
- 09/19: gnu: python-parsedatetime: Update to 2.1., Efraim Flashner, 2016/04/10
- 13/19: gnu: python-pytest-runner: Define python2-pytest-runner.,
Efraim Flashner <=
- 08/19: gnu: python-dateutil-2: Update to 2.5.2., Efraim Flashner, 2016/04/10
- 17/19: gnu: python-pytest-cache: Change inputs., Efraim Flashner, 2016/04/10