spack/var/spack/repos/builtin/packages/libgdsii/package.py
Harmen Stoppels fce95e2efb
license year bump (#34921)
* license bump year
* fix black issues of modified files
* mypy
* fix 2021 -> 2023
2023-01-18 14:30:17 -08:00

31 lines
1.0 KiB
Python

# 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 Libgdsii(AutotoolsPackage):
"""libGDSII is a C++ library for working with GDSII binary data files,
intended primarily for use with the computational electromagnetism codes
scuff-em and meep but sufficiently general-purpose to allow other uses as
well."""
homepage = "https://github.com/HomerReid/libGDSII"
url = "https://github.com/HomerReid/libGDSII/archive/refs/tags/v0.21.tar.gz"
version("0.21", sha256="1adc571c6b53df4c08d108f9ac4f4a7fd6fbefd4bc56f74e0b7b2801353671b8")
depends_on("autoconf", type="build")
depends_on("automake", type="build")
depends_on("libtool", type="build")
@run_before("autoreconf")
def custom_prepare(self):
mkdirp("m4")
touch("ChangeLog")
def configure_args(self):
return ["--enable-maintainer-mode"]