Fix intendation
This commit is contained in:
parent
52af762dd2
commit
5c26e4cced
@ -1,3 +1,4 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
|
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
|
||||||
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
||||||
#
|
#
|
||||||
@ -7,32 +8,36 @@
|
|||||||
|
|
||||||
|
|
||||||
class Coreutils(AutotoolsPackage, GNUMirrorPackage):
|
class Coreutils(AutotoolsPackage, GNUMirrorPackage):
|
||||||
|
|
||||||
"""The GNU Core Utilities are the basic file, shell and text
|
"""The GNU Core Utilities are the basic file, shell and text
|
||||||
manipulation utilities of the GNU operating system. These are
|
manipulation utilities of the GNU operating system. These are
|
||||||
the core utilities which are expected to exist on every
|
the core utilities which are expected to exist on every
|
||||||
operating system.
|
operating system.
|
||||||
"""
|
"""
|
||||||
homepage = "http://www.gnu.org/software/coreutils/"
|
|
||||||
gnu_mirror_path = "coreutils/coreutils-8.26.tar.xz"
|
|
||||||
|
|
||||||
version('8.31', sha256='ff7a9c918edce6b4f4b2725e3f9b37b0c4d193531cac49a48b56c4d0d3a9e9fd')
|
homepage = 'http://www.gnu.org/software/coreutils/'
|
||||||
version('8.30', sha256='e831b3a86091496cdba720411f9748de81507798f6130adeaef872d206e1b057')
|
gnu_mirror_path = 'coreutils/coreutils-8.26.tar.xz'
|
||||||
version('8.29', sha256='92d0fa1c311cacefa89853bdb53c62f4110cdfda3820346b59cbd098f40f955e')
|
|
||||||
version('8.26', sha256='155e94d748f8e2bc327c66e0cbebdb8d6ab265d2f37c3c928f7bf6c3beba9a8e')
|
version('8.31',
|
||||||
version('8.23', sha256='ec43ca5bcfc62242accb46b7f121f6b684ee21ecd7d075059bf650ff9e37b82d')
|
sha256='ff7a9c918edce6b4f4b2725e3f9b37b0c4d193531cac49a48b56c4d0d3a9e9fd')
|
||||||
|
version('8.30',
|
||||||
|
sha256='e831b3a86091496cdba720411f9748de81507798f6130adeaef872d206e1b057')
|
||||||
|
version('8.29',
|
||||||
|
sha256='92d0fa1c311cacefa89853bdb53c62f4110cdfda3820346b59cbd098f40f955e')
|
||||||
|
version('8.26',
|
||||||
|
sha256='155e94d748f8e2bc327c66e0cbebdb8d6ab265d2f37c3c928f7bf6c3beba9a8e')
|
||||||
|
version('8.23',
|
||||||
|
sha256='ec43ca5bcfc62242accb46b7f121f6b684ee21ecd7d075059bf650ff9e37b82d')
|
||||||
|
|
||||||
build_directory = 'spack-build'
|
build_directory = 'spack-build'
|
||||||
|
|
||||||
def configure_args(self):
|
def configure_args(self):
|
||||||
spec = self.spec
|
spec = self.spec
|
||||||
|
configure_args = []
|
||||||
configure_args = []
|
if spec.satisfies('platform=darwin'):
|
||||||
|
configure_args.append('--program-prefix=g')
|
||||||
if spec.satisfies('platform=darwin'):
|
configure_args.append('--without-gmp')
|
||||||
configure_args.append('--program-prefix=g')
|
configure_args.append('gl_cv_func_ftello_works=yes')
|
||||||
configure_args.append('--without-gmp')
|
configure_args.append('FORCE_UNSAFE_CONFIGURE=1')
|
||||||
configure_args.append('gl_cv_func_ftello_works=yes')
|
|
||||||
configure_args.append('FORCE_UNSAFE_CONFIGURE=1')
|
return configure_args
|
||||||
|
|
||||||
return configure_args
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user