summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-rocrate/package.py
blob: e4cf17c7ba873c1d4cb210377beaa34b71e80d77 (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
26
27
28
# 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 PyRocrate(PythonPackage):
    """RO-Crate metadata generator/parser"""

    homepage = "https://github.com/ResearchObject/ro-crate-py/"
    pypi = "rocrate/rocrate-0.7.0.tar.gz"

    license("Apache-2.0")

    version("0.7.0", sha256="f7537132f45b724bfa6a212b2ed3daa0aaee1d602a773f0f049b8ca9a14958e1")

    depends_on("python@3.7:", type=("build", "run"))
    depends_on("py-setuptools", type="build")

    depends_on("py-requests", type=("build", "run"))
    depends_on("py-arcp@0.2.1", type=("build", "run"))
    depends_on("py-galaxy2cwl", type=("build", "run"))
    depends_on("py-jinja2", type=("build", "run"))
    depends_on("py-python-dateutil", type=("build", "run"))
    depends_on("py-click", type=("build", "run"))