spack/var/spack/repos/builtin/packages/py-scine-chemoton/package.py
Sebastian Ehlert d35c24a3ed
Add packages for scine modules (#34969)
* Add packages for scine modules

- lbfgspp (dependency for scine-utilities)
- scine-core
- scine-utilities and py-scine-utilities (virtual)
- scine-readuct and py-scine-readuct (virtual)
- scine-sparrow and py-scine-sparrow (virtual)
- scine-database and py-scine-database (virtual)
- scine-molassembler and py-scine-molassembler (virtual)
- scine-xtb and py-scine-xtb (virtual)
- py-scine-chemoton
- py-scine-puffin

* Fix line-length for flake8

* Remove virtual dependencies

* Update detection of boost, minor fixes in packages / dependencies

* Correctly declare build-only dependencies, add git versions

* Add sparrow dummy packages, fix dependencies

* Rename latest version from develop to master

* Restore original sparrow package

* Also rename latest version for chemoton and puffin
2023-01-25 11:33:37 -06:00

28 lines
1.1 KiB
Python

# Copyright 2013-2022 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 PyScineChemoton(PythonPackage):
"""Software driving the automated exploration of chemical reaction networks"""
homepage = "https://scine.ethz.ch/download/chemoton"
pypi = "scine_chemoton/scine_chemoton-2.2.0.tar.gz"
git = "https://github.com/qcscine/puffin.git"
version("master", branch="master")
version("2.2.0", "cda4f9de1e1c00ecc5e0b2d9c17a5edb56b468d454022e3f4045ec116ba2ec45")
depends_on("python@3.6:", type=("build", "run"))
depends_on("py-networkx", type=("build", "run"))
depends_on("py-numpy", type=("build", "run"))
depends_on("py-scipy", type=("build", "run"))
depends_on("py-setproctitle", type=("build", "run"))
depends_on("py-setuptools", type="build")
depends_on("scine-database+python", type=("build", "run"))
depends_on("scine-molassembler+python", type=("build", "run"))
depends_on("scine-utilities+python", type=("build", "run"))