From 8b949376092e66d415bad473331dbc08eaa2e021 Mon Sep 17 00:00:00 2001 From: "Gregory L. Lee" Date: Thu, 28 Jul 2016 13:49:35 -0700 Subject: flake 8 fixes for stat and dependents flake 8 fixes for dyninst flake 8 fixes for dyninst flake 8 fixes for dyninst --- var/spack/repos/builtin/packages/dyninst/package.py | 4 ++-- var/spack/repos/builtin/packages/py-py2cairo/package.py | 2 -- var/spack/repos/builtin/packages/py-pygobject/package.py | 1 - var/spack/repos/builtin/packages/py-pygtk/package.py | 1 - var/spack/repos/builtin/packages/stat/package.py | 3 ++- 5 files changed, 4 insertions(+), 7 deletions(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/dyninst/package.py b/var/spack/repos/builtin/packages/dyninst/package.py index 856bd26d66..997f012992 100644 --- a/var/spack/repos/builtin/packages/dyninst/package.py +++ b/var/spack/repos/builtin/packages/dyninst/package.py @@ -30,7 +30,7 @@ class Dyninst(Package): are executing without recompiling, re-linking, or re-executing.""" homepage = "https://paradyn.org" - url = "http://www.dyninst.org/sites/default/files/downloads/dyninst/8.1.2/DyninstAPI-8.1.2.tgz" + url = "https://github.com/dyninst/dyninst/archive/v9.2.0.tar.gz" list_url = "http://www.dyninst.org/downloads/dyninst-8.x" version('9.2.0', 'ad023f85e8e57837ed9de073b59d6bab', @@ -50,7 +50,7 @@ class Dyninst(Package): depends_on('cmake', type='build') # new version uses cmake - def install(self, spec, prefix): + def install(self, spec, prefix): # NOQA: ignore=F811 libelf = spec['libelf'].prefix libdwarf = spec['libdwarf'].prefix diff --git a/var/spack/repos/builtin/packages/py-py2cairo/package.py b/var/spack/repos/builtin/packages/py-py2cairo/package.py index 131e8986f2..efc3645745 100644 --- a/var/spack/repos/builtin/packages/py-py2cairo/package.py +++ b/var/spack/repos/builtin/packages/py-py2cairo/package.py @@ -23,7 +23,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ############################################################################## from spack import * -import re class PyPy2cairo(Package): @@ -43,4 +42,3 @@ class PyPy2cairo(Package): python('waf', 'configure', '--prefix=%s' % prefix) python('waf', 'build') python('waf', 'install') - diff --git a/var/spack/repos/builtin/packages/py-pygobject/package.py b/var/spack/repos/builtin/packages/py-pygobject/package.py index 73eb47138d..3af849e758 100644 --- a/var/spack/repos/builtin/packages/py-pygobject/package.py +++ b/var/spack/repos/builtin/packages/py-pygobject/package.py @@ -23,7 +23,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ############################################################################## from spack import * -import re class PyPygobject(Package): diff --git a/var/spack/repos/builtin/packages/py-pygtk/package.py b/var/spack/repos/builtin/packages/py-pygtk/package.py index 359b844a72..ab0a139f02 100644 --- a/var/spack/repos/builtin/packages/py-pygtk/package.py +++ b/var/spack/repos/builtin/packages/py-pygtk/package.py @@ -23,7 +23,6 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ############################################################################## from spack import * -import re class PyPygtk(Package): diff --git a/var/spack/repos/builtin/packages/stat/package.py b/var/spack/repos/builtin/packages/stat/package.py index 32ea8aef54..859f570266 100644 --- a/var/spack/repos/builtin/packages/stat/package.py +++ b/var/spack/repos/builtin/packages/stat/package.py @@ -34,7 +34,8 @@ class Stat(Package): version('2.2.0', '26bd69dd57a15afdd5d0ebdb0b7fb6fc') version('2.1.0', 'ece26beaf057aa9134d62adcdda1ba91') version('2.0.0', 'c7494210b0ba26b577171b92838e1a9b') - version('3.0.0b', '31df1c2e56ce6ab2a0fe963cd47b769a', url='https://github.com/LLNL/STAT/files/382650/STAT-3.0.0b.tar.gz') + version('3.0.0b', '31df1c2e56ce6ab2a0fe963cd47b769a', + url='https://github.com/LLNL/STAT/files/382650/STAT-3.0.0b.tar.gz') # TODO: dysect requires Dyninst patch for version 3.0.0b variant('dysect', default=False, description="enable DySectAPI") -- cgit v1.2.3-70-g09d2