eagle: updating to version 1.1.3 (#30852)

This commit is contained in:
snehring 2022-05-25 15:20:54 -05:00 committed by GitHub
parent 14d4203722
commit 85eeed650e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,9 @@ class Eagle(MakefilePackage):
homepage = "https://github.com/tony-kuo/eagle" homepage = "https://github.com/tony-kuo/eagle"
url = "https://github.com/tony-kuo/eagle/archive/v1.1.2.tar.gz" url = "https://github.com/tony-kuo/eagle/archive/v1.1.2.tar.gz"
maintainers = ['snehring']
version('1.1.3', sha256='bd510b8eef2de14898cbf417e1c7a30b97ddaba24e5e2834da7b02767362fe3c')
version('1.1.2', sha256='afe967560d1f8fdbd0caf4b93b5f2a86830e9e4d399fee4a526140431343045e') version('1.1.2', sha256='afe967560d1f8fdbd0caf4b93b5f2a86830e9e4d399fee4a526140431343045e')
depends_on('curl') depends_on('curl')
@ -36,9 +38,8 @@ def edit(self, spec, prefix):
# use spack C compiler # use spack C compiler
filter_file('CC=.*', 'CC={0}'.format(spack_cc), 'Makefile') filter_file('CC=.*', 'CC={0}'.format(spack_cc), 'Makefile')
# remove march=native %fj # let the user inject march if they want
if self.spec.satisfies('%fj'): filter_file('-march=native', '', 'Makefile', string=True)
filter_file('-march=native', '', 'Makefile', string=True)
def install(self, spec, prefix): def install(self, spec, prefix):
mkdirp(prefix.bin) mkdirp(prefix.bin)