
- [x] add `concretize.lp`, `spack.yaml`, etc. to licensed files - [x] update all licensed files to say 2013-2021 using `spack license update-copyright-year` - [x] appease mypy with some additions to package.py that needed for oneapi.py
27 lines
1.0 KiB
Python
27 lines
1.0 KiB
Python
# Copyright 2013-2021 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 import *
|
|
|
|
|
|
class PyGenders(Package):
|
|
"""Genders is a static cluster configuration database used for cluster
|
|
configuration management. It is used by a variety of tools and scripts
|
|
for management of large clusters."""
|
|
homepage = "https://github.com/chaos/genders"
|
|
url = "https://github.com/chaos/genders/releases/download/genders-1-22-1/genders-1.22.tar.gz"
|
|
|
|
version('1.22', sha256='0ff292825a29201106239c4d47d9ce4c6bda3f51c78c0463eb2634ecc337b774',
|
|
url='https://github.com/chaos/genders/releases/download/genders-1-22-1/genders-1.22.tar.gz')
|
|
extends('python')
|
|
|
|
# FIXME: Missing a dependency on genders
|
|
# #include <genders.h>
|
|
|
|
def install(self, spec, prefix):
|
|
configure("--prefix=%s" % prefix)
|
|
make(parallel=False)
|
|
make("install")
|