From 777acb4c034ae7da2828a0c9283d1269578f8e20 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Mon, 20 Mar 2017 18:08:45 -0500 Subject: [PATCH] Fix: setuptools is a runtime dependency for pudb (#3502) --- var/spack/repos/builtin/packages/py-pudb/package.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/var/spack/repos/builtin/packages/py-pudb/package.py b/var/spack/repos/builtin/packages/py-pudb/package.py index 66896bd83f..ea06dc0c93 100644 --- a/var/spack/repos/builtin/packages/py-pudb/package.py +++ b/var/spack/repos/builtin/packages/py-pudb/package.py @@ -30,10 +30,13 @@ class PyPudb(PythonPackage): """Full-screen console debugger for Python""" homepage = "http://mathema.tician.de/software/pudb" - url = "https://pypi.io/packages/source/p/pudb/pudb-2016.2.tar.gz" + url = "https://pypi.io/packages/source/p/pudb/pudb-2017.1.1.tar.gz" - version('2016.2', '4573b70163329c1cb59836a357bfdf7c') + version('2017.1.1', '4ec3302ef90f22b13c60db16b3557c56') + version('2016.2', '4573b70163329c1cb59836a357bfdf7c') - depends_on('py-setuptools', type='build') - depends_on('py-urwid@1.1.1:', type=('build', 'run')) + # Most Python packages only require setuptools as a build dependency. + # However, pudb requires setuptools during runtime as well. + depends_on('py-setuptools', type=('build', 'run')) + depends_on('py-urwid@1.1.1:', type=('build', 'run')) depends_on('py-pygments@1.0:', type=('build', 'run'))