Skip to content

Commit bbde074

Browse files
committed
py-datalad: add v1.5.0
1 parent 62b3f6d commit bbde074

2 files changed

Lines changed: 30 additions & 0 deletions

File tree

repos/spack_repo/builtin/packages/py_datalad/package.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ class PyDatalad(PythonPackage):
2222
pypi = "datalad/datalad-0.14.6.tar.gz"
2323
git = "https://github.com/datalad/datalad.git"
2424

25+
version("1.5.0", sha256="30dcbb393170bff55348496d8a17cb641874f7fef2cc347ce94b30aa4d3c3588")
2526
version("1.4.0", sha256="4f663b76eb5ffc560d747c9c4bcfe23e59afc62a0029557dac4f53ceec638833")
2627
version("1.2.3", sha256="48f19d3e4fc7b2725240e6c47d6710f3bc46ad6b42455ff76dd3f6e34226f39f")
2728
version("1.2.1", sha256="4d9f7ffe7a8a7b7eced97ba3d2d2257d527d4218c73ddf7e74eb343cf970d925")
@@ -107,6 +108,7 @@ class PyDatalad(PythonPackage):
107108
depends_on("py-pytest@7", when="@0.17.0:0.17.8")
108109
depends_on("py-pytest-cov", when="@0.17.9:")
109110
depends_on("py-pytest-cov@3", when="@0.17.0:0.17.8")
111+
depends_on("py-pytest-reportlab", when="@1.5:")
110112
depends_on("py-pytest-retry", when="@1.2.2:")
111113
depends_on("py-pytest-fail-slow@0.2:0", when="@0.17:")
112114
depends_on("py-types-python-dateutil", when="@0.17.4:")
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Copyright Spack Project Developers. See COPYRIGHT file for details.
2+
#
3+
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
4+
5+
from spack_repo.builtin.build_systems.python import PythonPackage
6+
7+
from spack.package import *
8+
9+
10+
class PyPytestReportlog(PythonPackage):
11+
"""Replacement for the --resultlog option, focused in simplicity and extensibility."""
12+
13+
homepage = "https://github.com/pytest-dev/pytest-reportlog"
14+
pypi = "pytest_reportlog/pytest_reportlog-1.0.0.tar.gz"
15+
16+
license("MIT")
17+
18+
version("1.0.0", sha256="75aec3a92bb53456c3e028605a636579d26f31c6f1e035ad9f706c203cfcb74e")
19+
20+
21+
with default_args(type="build"):
22+
depends_on("py-hatchling")
23+
depends_on("py-hatch-vcs")
24+
25+
with default_args(type=("build", "run")):
26+
depends_on("python@3.10:")
27+
28+
depends_on("py-pytest")

0 commit comments

Comments
 (0)