flake 8 fixes for stat and dependents
flake 8 fixes for dyninst flake 8 fixes for dyninst flake 8 fixes for dyninst
This commit is contained in:
		| @@ -30,7 +30,7 @@ class Dyninst(Package): | |||||||
|     are executing without recompiling, re-linking, or re-executing.""" |     are executing without recompiling, re-linking, or re-executing.""" | ||||||
|  |  | ||||||
|     homepage = "https://paradyn.org" |     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" |     list_url = "http://www.dyninst.org/downloads/dyninst-8.x" | ||||||
|  |  | ||||||
|     version('9.2.0', 'ad023f85e8e57837ed9de073b59d6bab', |     version('9.2.0', 'ad023f85e8e57837ed9de073b59d6bab', | ||||||
| @@ -50,7 +50,7 @@ class Dyninst(Package): | |||||||
|     depends_on('cmake', type='build') |     depends_on('cmake', type='build') | ||||||
|  |  | ||||||
|     # new version uses cmake |     # new version uses cmake | ||||||
|     def install(self, spec, prefix): |     def install(self, spec, prefix):  # NOQA: ignore=F811 | ||||||
|         libelf = spec['libelf'].prefix |         libelf = spec['libelf'].prefix | ||||||
|         libdwarf = spec['libdwarf'].prefix |         libdwarf = spec['libdwarf'].prefix | ||||||
|  |  | ||||||
|   | |||||||
| @@ -23,7 +23,6 @@ | |||||||
| # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||||||
| ############################################################################## | ############################################################################## | ||||||
| from spack import * | from spack import * | ||||||
| import re |  | ||||||
|  |  | ||||||
|  |  | ||||||
| class PyPy2cairo(Package): | class PyPy2cairo(Package): | ||||||
| @@ -43,4 +42,3 @@ def install(self, spec, prefix): | |||||||
|         python('waf', 'configure', '--prefix=%s' % prefix) |         python('waf', 'configure', '--prefix=%s' % prefix) | ||||||
|         python('waf', 'build') |         python('waf', 'build') | ||||||
|         python('waf', 'install') |         python('waf', 'install') | ||||||
|  |  | ||||||
|   | |||||||
| @@ -23,7 +23,6 @@ | |||||||
| # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||||||
| ############################################################################## | ############################################################################## | ||||||
| from spack import * | from spack import * | ||||||
| import re |  | ||||||
|  |  | ||||||
|  |  | ||||||
| class PyPygobject(Package): | class PyPygobject(Package): | ||||||
|   | |||||||
| @@ -23,7 +23,6 @@ | |||||||
| # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||||||
| ############################################################################## | ############################################################################## | ||||||
| from spack import * | from spack import * | ||||||
| import re |  | ||||||
|  |  | ||||||
|  |  | ||||||
| class PyPygtk(Package): | class PyPygtk(Package): | ||||||
|   | |||||||
| @@ -34,7 +34,8 @@ class Stat(Package): | |||||||
|     version('2.2.0', '26bd69dd57a15afdd5d0ebdb0b7fb6fc') |     version('2.2.0', '26bd69dd57a15afdd5d0ebdb0b7fb6fc') | ||||||
|     version('2.1.0', 'ece26beaf057aa9134d62adcdda1ba91') |     version('2.1.0', 'ece26beaf057aa9134d62adcdda1ba91') | ||||||
|     version('2.0.0', 'c7494210b0ba26b577171b92838e1a9b') |     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 |     # TODO: dysect requires Dyninst patch for version 3.0.0b | ||||||
|     variant('dysect', default=False, description="enable DySectAPI") |     variant('dysect', default=False, description="enable DySectAPI") | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Gregory L. Lee
					Gregory L. Lee