py-datalad-metalad: add 0-4-17 and new dep py-datalad-deprecated (#37993)

* py-datalad-metalad: add 0-4-17 and new dep py-datalad-deprecated

* Fix style
This commit is contained in:
Manuela Kuhn 2023-05-30 21:18:15 +02:00 committed by GitHub
parent f73d5c2b0e
commit 0533c6a1b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 2 deletions

View file

@ -0,0 +1,27 @@
# 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 PyDataladDeprecated(PythonPackage):
"""DataLad extension package for deprecated functionality that was phased
out in the core package."""
homepage = "https://github.com/datalad/datalad-deprecated"
pypi = "datalad_deprecated/datalad_deprecated-0.3.0.tar.gz"
version("0.3.0", sha256="874cf31c7640a9eafe7c5ecf36f0924d5d5b47222666a55ef10eabb9c29f46cd")
depends_on("py-setuptools@43:", type="build")
depends_on("py-datalad@0.18:", type=("build", "run"))
depends_on("py-jsmin", type=("build", "run"))
depends_on("py-whoosh", type=("build", "run"))
depends_on("py-pyyaml", type=("build", "run"))
depends_on("py-mutagen@1.36:", type=("build", "run"))
depends_on("py-exifread", type=("build", "run"))
depends_on("py-python-xmp-toolkit", type=("build", "run"))
depends_on("pil", type=("build", "run"))

View file

@ -12,16 +12,20 @@ class PyDataladMetalad(PythonPackage):
homepage = "https://github.com/datalad/datalad-metalad/"
pypi = "datalad_metalad/datalad_metalad-0.2.1.tar.gz"
version("0.4.17", sha256="8854d5b8bc8387eff27639510f10c3cffe9cd76be018512a5d451be9708242b9")
version("0.4.5", sha256="db1a0675e3c67fe2d9093e7098b142534f49588dea5ee048ee962422a9927fbf")
version("0.2.1", sha256="70fe423136a168f7630b3e0ff1951e776d61e7d5f36670bddf24299ac0870285")
depends_on("python@3.5:", when="@0.3:", type=("build"))
depends_on("py-setuptools@30.3:", type=("build"))
depends_on("py-setuptools", type=("build"))
depends_on("py-six", when="@0.3.1:", type=("build", "run"))
depends_on("py-datalad@0.18:", when="@0.4.11:", type=("build", "run"))
depends_on("py-datalad@0.15.6:", when="@0.3:", type=("build", "run"))
depends_on("py-datalad@0.12.3:", type=("build", "run"))
depends_on("py-datalad-metadata-model@0.3.5:0.3", type=("build", "run"))
depends_on("py-datalad-metadata-model@0.3.10:", when="@0.4.12:", type=("build", "run"))
depends_on("py-datalad-metadata-model@0.3.5:0.3", when="@:0.4.9", type=("build", "run"))
depends_on("py-datalad-deprecated", when="@0.4.17:", type=("build", "run"))
depends_on("py-pytest", when="@0.4.11:", type=("build", "run"))
depends_on("py-pyyaml", when="@0.3.1:", type=("build", "run"))
depends_on("git-annex", type=("run"))