Run binutils/package.py through autopep8.

This commit is contained in:
Glenn Johnson 2016-06-12 21:57:03 -05:00
parent 1601cf1b14
commit 8ff7cbb9ce

View file

@ -24,11 +24,12 @@
############################################################################## ##############################################################################
from spack import * from spack import *
class Binutils(Package): class Binutils(Package):
"""GNU binutils, which contain the linker, assembler, objdump and others""" """GNU binutils, which contain the linker, assembler, objdump and others"""
homepage = "http://www.gnu.org/software/binutils/"
url="https://ftp.gnu.org/gnu/binutils/binutils-2.25.tar.bz2" homepage = "http://www.gnu.org/software/binutils/"
url = "https://ftp.gnu.org/gnu/binutils/binutils-2.25.tar.bz2"
version('2.26', '64146a0faa3b411ba774f47d41de239f') version('2.26', '64146a0faa3b411ba774f47d41de239f')
version('2.25', 'd9f3303f802a5b6b0bb73a335ab89d66') version('2.25', 'd9f3303f802a5b6b0bb73a335ab89d66')
@ -40,8 +41,10 @@ class Binutils(Package):
depends_on('flex') depends_on('flex')
depends_on('bison') depends_on('bison')
# Add a patch that creates binutils libiberty_pic.a which is preferred by OpenSpeedShop and cbtf-krell # Add a patch that creates binutils libiberty_pic.a which is preferred by
variant('krellpatch', default=False, description="build with openspeedshop based patch.") # OpenSpeedShop and cbtf-krell
variant('krellpatch', default=False,
description="build with openspeedshop based patch.")
variant('gold', default=True, description="build the gold linker") variant('gold', default=True, description="build the gold linker")
patch('binutilskrell-2.24.patch', when='@2.24+krellpatch') patch('binutilskrell-2.24.patch', when='@2.24+krellpatch')