From f5fde735b68531dcf1f86e51b7641a0048705d2e Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Sun, 5 Apr 2020 15:44:23 -0500 Subject: [PATCH] py-python-utils: add new version, fix url and deps (#15876) --- var/spack/repos/builtin/packages/py-python-utils/package.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/py-python-utils/package.py b/var/spack/repos/builtin/packages/py-python-utils/package.py index bc6057a078..6c8e3aa732 100644 --- a/var/spack/repos/builtin/packages/py-python-utils/package.py +++ b/var/spack/repos/builtin/packages/py-python-utils/package.py @@ -12,8 +12,12 @@ class PyPythonUtils(PythonPackage): which make common patterns shorter and easier.""" homepage = "https://github.com/WoLpH/python-utils" - url = "https://files.pythonhosted.org/packages/source/p/python-utils/python-utils-2.3.0.tar.gz" + url = "https://pypi.io/packages/source/p/python-utils/python-utils-2.4.0.tar.gz" + version('2.4.0', sha256='f21fc09ff58ea5ebd1fd2e8ef7f63e39d456336900f26bdc9334a03a3f7d8089') version('2.3.0', sha256='34aaf26b39b0b86628008f2ae0ac001b30e7986a8d303b61e1357dfcdad4f6d3') depends_on('py-setuptools', type='build') + depends_on('py-six', type=('build', 'run')) + depends_on('py-pytest', type='test') + depends_on('py-pytest-runner', type='test')