swig: mark conflict and add maintainer (#22911)

Closes #22407
This commit is contained in:
Seth R. Johnson 2021-04-09 18:38:49 +01:00 committed by GitHub
parent 4d288a802e
commit ca5c2de517
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,7 @@ class Swig(AutotoolsPackage, SourceforgePackage):
homepage = "http://www.swig.org"
sourceforge_mirror_path = "swig/swig-3.0.12.tar.gz"
maintainers = ['sethrj']
version('master', git='https://github.com/swig/swig.git')
version('4.0.2', sha256='d53be9730d8d58a16bf0cbd1f8ac0c0c3e1090573168bfa151b01eb47fa906fc',
@ -57,6 +58,8 @@ class Swig(AutotoolsPackage, SourceforgePackage):
build_directory = 'spack-build'
conflicts('%nvhpc', when='@:4.0.2')
@run_after('install')
def create_symlink(self):
# CMake compatibility: see https://github.com/spack/spack/pull/6240