From f4d91cc3ec0bdd94c0a8bc59581ad98f63e69b2d Mon Sep 17 00:00:00 2001 From: iarspider Date: Wed, 19 Feb 2020 20:37:36 +0100 Subject: [PATCH] Add extra version of py-pickleshare (#15059) * Add extra version of py-pickleshare * Fix dependencies * Flake-8 --- var/spack/repos/builtin/packages/py-pickleshare/package.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/py-pickleshare/package.py b/var/spack/repos/builtin/packages/py-pickleshare/package.py index f48b5cc200..3e1b7b6f01 100644 --- a/var/spack/repos/builtin/packages/py-pickleshare/package.py +++ b/var/spack/repos/builtin/packages/py-pickleshare/package.py @@ -12,6 +12,9 @@ class PyPickleshare(PythonPackage): homepage = "https://pypi.python.org/pypi/pickleshare" url = "https://pypi.io/packages/source/p/pickleshare/pickleshare-0.7.4.tar.gz" + version('0.7.5', sha256='87683d47965c1da65cdacaf31c8441d12b8044cdec9aca500cd78fc2c683afca') version('0.7.4', sha256='84a9257227dfdd6fe1b4be1319096c20eb85ff1e82c7932f36efccfe1b09737b') - depends_on('py-setuptools', type='build') + depends_on('python@2.7:2.8,3:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-pathlib2', type=('build', 'run'), when='^python@2.6:2.8,3.2:3.3')