spack/var/spack/repos/builtin/packages/py-pytng/package.py
Harmen Stoppels 7b9f8abce5
Add depends_on([c,cxx,fortran]) (#45217)
Add language dependencies `c`, `cxx`, and `fortran`.

These `depends_on` statements are auto-generated based on file extensions found
in source tarballs/zipfiles.

The `# generated` comment can be removed by package maintainers after
validating correctness.
2024-07-17 16:07:43 +02:00

32 lines
927 B
Python

# Copyright 2013-2024 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 PyPytng(PythonPackage):
"""Provides the TNGFileIterator object to allow simple Pythonic
access to data contained within TNG files.
"""
homepage = "https://pypi.org/project/pytng/"
pypi = "pytng/pytng-0.3.0.tar.gz"
maintainers("RMeli")
license("BSD-3-Clause")
version("0.3.0", sha256="f563f9ea260ca8c8e17b3bcf9458bae35aedd5c58e1c5ac4dfff77a1e036506e")
depends_on("c", type="build") # generated
depends_on("cxx", type="build") # generated
depends_on("python@3.8:", type=("build", "run"))
depends_on("py-cython@0.28:2", type="build")
depends_on("py-setuptools", type="build")
depends_on("py-numpy@1.20.0:", type=("build", "run"))