diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/py-pylikwid/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/py-pylikwid/package.py | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/var/spack/repos/builtin/packages/py-pylikwid/package.py b/var/spack/repos/builtin/packages/py-pylikwid/package.py index 65a004aa3f..8f27aebef5 100644 --- a/var/spack/repos/builtin/packages/py-pylikwid/package.py +++ b/var/spack/repos/builtin/packages/py-pylikwid/package.py @@ -8,26 +8,24 @@ from spack.package import * class PyPylikwid(PythonPackage): """Python interface to the LIKWID tools library with calls for system - topology, process/thread affinity, hardware performance monitoring - and the manipulation of system features like frequencies and - prefetchers.""" + topology, process/thread affinity, hardware performance monitoring + and the manipulation of system features like frequencies and + prefetchers.""" homepage = "https://github.com/RRZE-HPC/pylikwid" pypi = "pylikwid/pylikwid-0.4.0.tar.gz" git = "https://github.com/RRZE-HPC/pylikwid.git" - maintainers = ['TomTheBear'] + maintainers = ["TomTheBear"] - version('0.4.0', sha256='f7894a6d7ebcea7da133ef639599a314f850f55cd6c5ffdd630bb879bd2aa0b8') + version("0.4.0", sha256="f7894a6d7ebcea7da133ef639599a314f850f55cd6c5ffdd630bb879bd2aa0b8") - variant('cuda', - default=False, - description='with Nvidia GPU profiling support') + variant("cuda", default=False, description="with Nvidia GPU profiling support") # pip silently replaces distutils with setuptools - depends_on('py-setuptools', type='build') - depends_on('likwid', when='~cuda') - depends_on('likwid+cuda', when='+cuda') + depends_on("py-setuptools", type="build") + depends_on("likwid", when="~cuda") + depends_on("likwid+cuda", when="+cuda") def setup_build_environment(self, env): - env.set('LIKWID_PREFIX', self.spec['likwid'].prefix) + env.set("LIKWID_PREFIX", self.spec["likwid"].prefix) |