diff options
author | Wouter Deconinck <wdconinc@gmail.com> | 2023-03-27 02:48:55 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-27 09:48:55 +0200 |
commit | c2b4f5bf45bca0be279176c738aed123c52f534f (patch) | |
tree | a75edd881ffc06463fc7c7a1a843f795c6b8fca4 | |
parent | 56d98c3f0ae1a027eb126c8c4c8a6260b0a83338 (diff) | |
download | spack-c2b4f5bf45bca0be279176c738aed123c52f534f.tar.gz spack-c2b4f5bf45bca0be279176c738aed123c52f534f.tar.bz2 spack-c2b4f5bf45bca0be279176c738aed123c52f534f.tar.xz spack-c2b4f5bf45bca0be279176c738aed123c52f534f.zip |
libpthread-stubs: adapt to XorgPackage (#36453)
This resolves a loose end from #36241 (missed due to package name). `libpthread-stubs` is another package from the xcb project that is now tracked through https://gitlab.freedesktop.org/xorg/ instead. No new versions; no changed hashes.
-rw-r--r-- | var/spack/repos/builtin/packages/libpthread-stubs/package.py | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/libpthread-stubs/package.py b/var/spack/repos/builtin/packages/libpthread-stubs/package.py index a0bc836e55..a32aba7d97 100644 --- a/var/spack/repos/builtin/packages/libpthread-stubs/package.py +++ b/var/spack/repos/builtin/packages/libpthread-stubs/package.py @@ -6,12 +6,22 @@ from spack.package import * -class LibpthreadStubs(AutotoolsPackage): +class LibpthreadStubs(AutotoolsPackage, XorgPackage): """The libpthread-stubs package provides weak aliases for pthread functions not provided in libc or otherwise available by default.""" - homepage = "https://xcb.freedesktop.org/" - url = "https://xcb.freedesktop.org/dist/libpthread-stubs-0.4.tar.gz" + homepage = "https://gitlab.freedesktop.org/xorg/lib/pthread-stubs" + xorg_mirror_path = "xcb/libpthread-stubs-0.4.tar.gz" - version("0.4", sha256="50d5686b79019ccea08bcbd7b02fe5a40634abcfd4146b6e75c6420cc170e9d9") - version("0.3", sha256="3031f466cf0b06de6b3ccbf2019d15c4fcf75229b7d226a711bc1885b3a82cde") + maintainers("wdconinc") + + version( + "0.4", + sha256="50d5686b79019ccea08bcbd7b02fe5a40634abcfd4146b6e75c6420cc170e9d9", + url="https://xcb.freedesktop.org/dist/libpthread-stubs-0.4.tar.gz", + ) + version( + "0.3", + sha256="3031f466cf0b06de6b3ccbf2019d15c4fcf75229b7d226a711bc1885b3a82cde", + url="https://xcb.freedesktop.org/dist/libpthread-stubs-0.3.tar.gz", + ) |