summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2021-11-29 13:46:15 +0100
committerGitHub <noreply@github.com>2021-11-29 13:46:15 +0100
commit5dce4d79bd19665bf547063d924c3701a1badcfe (patch)
treee53804d3a6b89465d9dcdc3eef2247f8765540fd /var
parentc0edb17b93f6716835870380cb8a83d11dffc891 (diff)
downloadspack-5dce4d79bd19665bf547063d924c3701a1badcfe.tar.gz
spack-5dce4d79bd19665bf547063d924c3701a1badcfe.tar.bz2
spack-5dce4d79bd19665bf547063d924c3701a1badcfe.tar.xz
spack-5dce4d79bd19665bf547063d924c3701a1badcfe.zip
patchelf: add v0.13.1, v0.14, v0.14.1 (#27681)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/patchelf/package.py25
1 files changed, 16 insertions, 9 deletions
diff --git a/var/spack/repos/builtin/packages/patchelf/package.py b/var/spack/repos/builtin/packages/patchelf/package.py
index 0c10743d6b..44e97e6ae5 100644
--- a/var/spack/repos/builtin/packages/patchelf/package.py
+++ b/var/spack/repos/builtin/packages/patchelf/package.py
@@ -16,23 +16,30 @@ class Patchelf(AutotoolsPackage):
list_url = "https://nixos.org/releases/patchelf/"
list_depth = 1
- version('0.13', sha256='4c7ed4bcfc1a114d6286e4a0d3c1a90db147a4c3adda1814ee0eee0f9ee917ed')
- version('0.12', sha256='699a31cf52211cf5ad6e35a8801eb637bc7f3c43117140426400d67b7babd792')
- version('0.11', sha256='e52378cc2f9379c6e84a04ac100a3589145533a7b0cd26ef23c79dfd8a9038f9')
- version('0.10', sha256='b2deabce05c34ce98558c0efb965f209de592197b2c88e930298d740ead09019')
- version('0.9', sha256='f2aa40a6148cb3b0ca807a1bf836b081793e55ec9e5540a5356d800132be7e0a')
- version('0.8', sha256='14af06a2da688d577d64ff8dac065bb8903bbffbe01d30c62df7af9bf4ce72fe')
+ maintainers = ['haampie']
- # Fixes a bug where patchelf errors with 'unsupported overlap
- # of SHT_NOTE and PT_NOTE'
- patch('https://github.com/NixOS/patchelf/pull/230.patch', sha256='a155f233b228f02d7886e304cb13898d93801b52f351e098c2cc0719697ec9d0', when='@0.12')
+ version('0.14.1', sha256='7a1506caf6873a2b60e7bebc35e1671fa232ee075642b074106b0d0636417466')
+ version('0.14', sha256='a31f2bff841dffa896317d3837bc2877c1f79da0744d88e459662d8e7fe7897c')
+ version('0.13.1', sha256='08c0237e89be74d61ddf8f6ff218439cdd62af572d568fb38913b53e222831de')
+ version('0.13', sha256='4c7ed4bcfc1a114d6286e4a0d3c1a90db147a4c3adda1814ee0eee0f9ee917ed')
+ version('0.12', sha256='699a31cf52211cf5ad6e35a8801eb637bc7f3c43117140426400d67b7babd792')
+ version('0.11', sha256='e52378cc2f9379c6e84a04ac100a3589145533a7b0cd26ef23c79dfd8a9038f9')
+ version('0.10', sha256='b2deabce05c34ce98558c0efb965f209de592197b2c88e930298d740ead09019')
+ version('0.9', sha256='f2aa40a6148cb3b0ca807a1bf836b081793e55ec9e5540a5356d800132be7e0a')
+ version('0.8', sha256='14af06a2da688d577d64ff8dac065bb8903bbffbe01d30c62df7af9bf4ce72fe')
conflicts('%gcc@:4.6', when='@0.10:', msg="Requires C++11 support")
+ conflicts('%gcc@:6', when='@0.14:', msg="Requires C++17 support")
+ conflicts('%clang@:3', when='@0.14:', msg="Requires C++17 support")
def url_for_version(self, version):
if version < Version('0.12'):
return "https://nixos.org/releases/patchelf/patchelf-{0}/patchelf-{1}.tar.gz".format(version, version)
+ # Prefer gz over bz2
+ if version >= Version('0.13.1'):
+ return "https://github.com/NixOS/patchelf/releases/download/{0}/patchelf-{1}.tar.gz".format(version, version)
+
return "https://github.com/NixOS/patchelf/releases/download/{0}/patchelf-{1}.tar.bz2".format(version, version)
def test(self):