summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-python-libsbml/package.py
blob: 0c30d1632f8bb9fbcc1e736f03702d4c897ef56d (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
# 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 PyPythonLibsbml(PythonPackage):
    """LibSBML is a library for reading, writing and manipulating the Systems Biology
    Markup Language (SBML)."""

    homepage = "https://sbml.org/"
    git = "https://github.com/sbmlteam/python-libsbml.git"
    pypi = "python-libsbml/python-libsbml-5.19.7.tar.gz"

    version("5.19.7", sha256="447b1fde7aceccd11a93dc9f589ffd9319ba854d7b7583f911259a8b0127ab7b")
    version(
        "5.19.5", tag="v5.19.5", commit="6081d9e1b0aa2b3ff4198b39680b726094c47e85", submodules=True
    )

    depends_on("py-setuptools", type="build")

    depends_on("swig", type="build")
    depends_on("cmake", type=("build", "run"))