spack/var/spack/repos/builtin/packages/apple-libuuid/package.py
Massimiliano Culpo f242e0fd0c
remove platform=cray (#43796)
Remove support for `cray` as a separate platform.

Any platform previously detected as `cray` is now detected as `linux`.

Users who still need platform=cray have to stick to Spack 0.22
2024-05-30 14:21:32 +02:00

31 lines
854 B
Python

# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.package import *
class AppleLibuuid(BundlePackage):
"""Placeholder package for Apple's analogue to non-GNU libuuid"""
homepage = "https://opensource.apple.com/tarballs/Libsystem/"
version("1353.100.2")
provides("uuid")
# Only supported on 'platform=darwin'
conflicts("platform=linux")
conflicts("platform=windows")
@property
def headers(self):
return HeaderList(
join_path(self.prefix, "System/Library/Frameworks/Kernel.framework/Headers")
)
@property
def libs(self):
return LibraryList(join_path(self.prefix, "System/Library/Frameworks/Kernel.framework"))