blob: 633a0f97f789c5b5de5f24a7da5cd5629a63404a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# 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>
depends_on('bison', type='build')
def install(self, spec, prefix):
configure("--prefix=%s" % prefix)
make(parallel=False)
make("install")
|