libpspio 0.3.0 (#40953)

Co-authored-by: Alec Scott <alec@bcs.sh>
This commit is contained in:
Henri Menke 2023-11-10 18:48:50 +01:00 committed by GitHub
parent f6039d1d45
commit 124e41da23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,37 @@
# Copyright 2013-2023 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 Libpspio(AutotoolsPackage):
"""Library to perform I/O operations on pseudopotential data files."""
homepage = "https://gitlab.com/ElectronicStructureLibrary/libpspio"
url = "https://gitlab.com/ElectronicStructureLibrary/libpspio/-/archive/0.3.0/libpspio-0.3.0.tar.gz"
maintainers("hmenke")
license("MPL-2.0")
version("0.3.0", sha256="4dc092457e481e5cd703eeecd87e6f17749941fe274043550c8a2557a649afc5")
variant("fortran", default=False, description="Enable Fortran bindings")
depends_on("autoconf", type="build")
depends_on("automake", type="build")
depends_on("libtool", type="build")
depends_on("m4", type="build")
depends_on("pkgconfig", type="build")
depends_on("check")
depends_on("gsl")
def autoreconf(self, spec, prefix):
Executable("./autogen.sh")()
def configure_args(self):
args = self.enable_or_disable("fortran")
return args