[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/20: gnu: python-pytest: Add a minimal variant for bootstrapping.
From: |
Marius Bakke |
Subject: |
07/20: gnu: python-pytest: Add a minimal variant for bootstrapping. |
Date: |
Wed, 18 Oct 2017 18:19:40 -0400 (EDT) |
mbakke pushed a commit to branch python-updates
in repository guix.
commit 92b2101a56c422f58ee1870466449609cc0e1ee2
Author: Marius Bakke <address@hidden>
Date: Sun Jul 30 19:59:12 2017 +0200
gnu: python-pytest: Add a minimal variant for bootstrapping.
* gnu/packages/python.scm (python-pytest-bootstrap,
python2-pytest-bootstrap):
New variables.
(python-six, python-hypothesis, python-pytest-runner,
python-mccabe)[native-inputs]: Use PYTHON-PYTEST-BOOTSTRAP instead of
PYTHON-PYTEST.
---
gnu/packages/python.scm | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 5ed2f91..30b23c4 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1186,7 +1186,7 @@ password storage.")
(zero? (system* "py.test" "-v")))))))
(native-inputs
`(("python-py" ,python-py)
- ("python-pytest" ,python-pytest)))
+ ("python-pytest" ,python-pytest-bootstrap)))
(home-page "http://pypi.python.org/pypi/six/")
(synopsis "Python 2 and 3 compatibility utilities")
(description
@@ -1969,6 +1969,16 @@ and many external plugins.")
`(("python2-enum34" ,python2-enum34)
,@(package-native-inputs base))))))
+(define-public python-pytest-bootstrap
+ (package
+ (inherit python-pytest)
+ (name "python-pytest-bootstrap")
+ (native-inputs '())
+ (arguments `(#:tests? #f))))
+
+(define-public python2-pytest-bootstrap
+ (package-with-python2 python-pytest-bootstrap))
+
(define-public python-pytest-cov
(package
(name "python-pytest-cov")
@@ -2029,7 +2039,7 @@ supports coverage of subprocesses.")
(string-append "version = \"" ,version "\"")))
#t)))))
(native-inputs
- `(("python-pytest" ,python-pytest)
+ `(("python-pytest" ,python-pytest-bootstrap)
("python-setuptools-scm" ,python-setuptools-scm)))
(home-page "https://github.com/pytest-dev/pytest-runner")
(synopsis "Invoke py.test as a distutils command")
@@ -7005,7 +7015,7 @@ PEP 8.")
"0yr08a36h8lqlif10l4xcikbbig7q8f41gqywir7rrvnv3mi4aws"))))
(build-system python-build-system)
(native-inputs
- `(("python-pytest" ,python-pytest)
+ `(("python-pytest" ,python-pytest-bootstrap)
("python-pytest-runner" ,python-pytest-runner)))
(home-page "https://github.com/flintwork/mccabe")
(synopsis "McCabe checker, plugin for flake8")
@@ -10120,7 +10130,7 @@ Amazon Web Services (AWS) API.")
(build-system python-build-system)
(native-inputs
`(("python-flake8" ,python-flake8)
- ("python-pytest" ,python-pytest)))
+ ("python-pytest" ,python-pytest-bootstrap)))
(synopsis "Library for property based testing")
(description "Hypothesis is a library for testing your Python code against
a
much larger range of examples than you would ever want to write by hand. It’s
- branch python-updates created (now 71d9f56), Marius Bakke, 2017/10/18
- 04/20: gnu: python-six: Really enable tests., Marius Bakke, 2017/10/18
- 03/20: gnu: python-py: Update to 1.4.34., Marius Bakke, 2017/10/18
- 05/20: gnu: python-six: Update to 1.11.0., Marius Bakke, 2017/10/18
- 07/20: gnu: python-pytest: Add a minimal variant for bootstrapping.,
Marius Bakke <=
- 10/20: gnu: python-pyflakes: Update to 1.5.0., Marius Bakke, 2017/10/18
- 09/20: gnu: python-pytest: Update to 3.2.3., Marius Bakke, 2017/10/18
- 17/20: gnu: Remove address@hidden, Marius Bakke, 2017/10/18
- 08/20: gnu: python-setuptools-scm: Update to 1.15.6., Marius Bakke, 2017/10/18
- 18/20: gnu: python-jinja2: Remove workaround for < Python 3.6., Marius Bakke, 2017/10/18
- 15/20: gnu: python-flake8: Update to 3.4.1., Marius Bakke, 2017/10/18
- 06/20: gnu: Remove address@hidden, Marius Bakke, 2017/10/18
- 12/20: gnu: address@hidden: Add dependency on python-six., Marius Bakke, 2017/10/18
- 11/20: gnu: python-mccabe: Update to 0.6.1., Marius Bakke, 2017/10/18
- 01/20: gnu: address@hidden: Update to 2.7.14., Marius Bakke, 2017/10/18