[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/16: gnu: Add python-pytest-shutil.
From: |
guix-commits |
Subject: |
12/16: gnu: Add python-pytest-shutil. |
Date: |
Wed, 26 Jun 2019 10:33:52 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 21e2c559450ba2076b50a6a8158db22a6322f57c
Author: Ricardo Wurmus <address@hidden>
Date: Tue Jun 25 12:03:12 2019 +0200
gnu: Add python-pytest-shutil.
* gnu/packages/python-check.scm (python-pytest-shutil): New variable.
---
gnu/packages/python-check.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 95e10e6..d3f8520 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -151,3 +151,43 @@ of the project to ensure it renders properly.")
"This package provides a pytest plugin for efficiently checking PEP8
compliance.")
(license license:bsd-3)))
+
+(define-public python-pytest-shutil
+ (package
+ (name "python-pytest-shutil")
+ (version "1.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-shutil" version))
+ (sha256
+ (base32
+ "0q8j0ayzmnvlraml6i977ybdq4xi096djhf30n2m1rvnvrhm45nq"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-tests
+ (lambda _
+ (mkdir "/tmp/bin")
+ (substitute* "tests/integration/test_cmdline_integration.py"
+ (("dirname = '/bin'")
+ "dirname = '/tmp/bin'")
+ (("bindir = os.path.realpath\\('/bin'\\)")
+ "bindir = os.path.realpath('/tmp/bin')"))
+ #t)))))
+ (propagated-inputs
+ `(("python-contextlib2" ,python-contextlib2)
+ ("python-execnet" ,python-execnet)
+ ("python-pathpy" ,python-pathpy)
+ ("python-termcolor" ,python-termcolor)))
+ (native-inputs
+ `(("python-mock" ,python-mock)
+ ("python-pytest" ,python-pytest)
+ ("python-setuptools-git" ,python-setuptools-git)))
+ (home-page "https://github.com/manahl/pytest-plugins")
+ (synopsis "Assorted shell and environment tools for py.test")
+ (description
+ "This package provides assorted shell and environment tools for the
+py.test testing framework.")
+ (license license:expat)))
- branch master updated (072e986 -> 49ad11e), guix-commits, 2019/06/26
- 04/16: gnu: Add mesa-opencl-icd., guix-commits, 2019/06/26
- 03/16: gnu: Add mesa-opencl., guix-commits, 2019/06/26
- 10/16: gnu: Add python-pytest-checkdocs., guix-commits, 2019/06/26
- 12/16: gnu: Add python-pytest-shutil.,
guix-commits <=
- 11/16: gnu: Add python-pytest-flake8., guix-commits, 2019/06/26
- 06/16: gnu: Add python-contextlib2., guix-commits, 2019/06/26
- 08/16: gnu: Add python-zipp., guix-commits, 2019/06/26
- 07/16: gnu: Add python-setuptools-git., guix-commits, 2019/06/26
- 09/16: gnu: Add python-importlib-metadata., guix-commits, 2019/06/26
- 14/16: gnu: Add python-pytest-virtualenv., guix-commits, 2019/06/26
- 02/16: gnu: Add libclc., guix-commits, 2019/06/26
- 13/16: gnu: Add python-pytest-fixture-config., guix-commits, 2019/06/26
- 16/16: gnu: python-pathpy: Update to 11.5.0., guix-commits, 2019/06/26
- 15/16: gnu: Add python-jaraco-packaging., guix-commits, 2019/06/26