Skip to content

Commit ad844aa

Browse files
py-rst2pdf: add v0.105 (spack#4466)
* py-rst2pdf: add v0.105 * Update repos/spack_repo/builtin/packages/py_rst2pdf/package.py Co-authored-by: Richarda Butler <39577672+RikkiButler20@users.noreply.github.com> * Update repos/spack_repo/builtin/packages/py_rst2pdf/package.py Co-authored-by: Richarda Butler <39577672+RikkiButler20@users.noreply.github.com> * Add missing quotes --------- Co-authored-by: Richarda Butler <39577672+RikkiButler20@users.noreply.github.com>
1 parent 3175b44 commit ad844aa

1 file changed

Lines changed: 33 additions & 25 deletions

File tree

  • repos/spack_repo/builtin/packages/py_rst2pdf

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

Lines changed: 33 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -20,32 +20,40 @@ class PyRst2pdf(PythonPackage):
2020

2121
license("MIT")
2222

23+
version("0.105", sha256="857e8741014ec5015f7a00aafb5dccbb56378ef4c1da55a828d44bcf5ff3acdb")
2324
version("0.103.1", sha256="3ffe816d4b3275aee21b8ffdd08b2e6be4d7590cd88b189f733cbc6996d63786")
2425
version("0.100", sha256="664c3c16e6d3dea274e840a436eac4dba6cb50ab6af3162fc9d5716be3cb7b42")
2526
version("0.99", sha256="8fa23fa93bddd1f52d058ceaeab6582c145546d80f2f8a95974f3703bd6c8152")
2627

27-
depends_on("python@3.9:", type=("build", "run"), when="@0.103:")
28-
depends_on("python@3.8:", type=("build", "run"), when="@0.100:0.102")
29-
30-
depends_on("py-setuptools@64:", type="build", when="@0.103:")
31-
depends_on("py-setuptools", type="build")
32-
depends_on("py-setuptools-scm@8:", type="build", when="@0.103:")
33-
depends_on("py-setuptools-scm", type="build")
34-
35-
# ignore upper bound restrictions, because they seem to be too strict
36-
depends_on("py-docutils@0.21.2:", type=("build", "run"), when="@0.103:")
37-
depends_on("py-docutils", type=("build", "run"))
38-
depends_on("py-importlib-metadata@8:", type=("build", "run"), when="@0.103:")
39-
depends_on("py-importlib-metadata", type=("build", "run"))
40-
depends_on("py-jinja2@3:", type=("build", "run"), when="@0.103:")
41-
depends_on("py-jinja2", type=("build", "run"))
42-
depends_on("py-packaging@24:", type=("build", "run"), when="@0.103:")
43-
depends_on("py-packaging", type=("build", "run"))
44-
depends_on("py-pygments@2:", type=("build", "run"), when="@0.103:")
45-
depends_on("py-pygments", type=("build", "run"))
46-
depends_on("py-pyyaml@6:", type=("build", "run"), when="@0.103:")
47-
depends_on("py-pyyaml", type=("build", "run"))
48-
depends_on("py-reportlab@4:", type=("build", "run"), when="@0.103:")
49-
depends_on("py-reportlab", type=("build", "run"))
50-
depends_on("py-smartypants@2:", type=("build", "run"), when="@0.103:")
51-
depends_on("py-smartypants", type=("build", "run"))
28+
with default_args(type="build"):
29+
depends_on("py-setuptools@64:", when="@0.103:")
30+
depends_on("py-setuptools")
31+
depends_on("py-setuptools-scm@8:", when="@0.103:")
32+
depends_on("py-setuptools-scm")
33+
34+
with default_args(type=("build", "run")):
35+
depends_on("python@3.10:", when="@0.104:")
36+
depends_on("python@3.9:", when="@0.103:")
37+
depends_on("python@3.8:", when="@0.100:0.102")
38+
39+
# ignore upper bound restrictions, because they seem to be too strict
40+
depends_on("py-docutils@0.21.2:", when="@0.103:")
41+
depends_on("py-docutils")
42+
depends_on("py-jinja2@3:", when="@0.103:")
43+
depends_on("py-jinja2")
44+
depends_on("py-packaging@26:", when="@0.105:")
45+
depends_on("py-packaging@24:", when="@0.103:")
46+
depends_on("py-packaging")
47+
depends_on("py-pygments@2:", when="@0.103:")
48+
depends_on("py-pygments")
49+
depends_on("py-pyyaml@6.0.1:", when="@0.105:")
50+
depends_on("py-pyyaml@6:", when="@0.103:")
51+
depends_on("py-pyyaml")
52+
depends_on("py-reportlab@4:", when="@0.103:")
53+
depends_on("py-reportlab")
54+
55+
# Historical dependencies
56+
depends_on("py-importlib-metadata@8:", when="@0.103")
57+
depends_on("py-importlib-metadata", when="@:0.103")
58+
depends_on("py-smartypants@2:", when="@0.103")
59+
depends_on("py-smartypants", when="@:0.103")

0 commit comments

Comments
 (0)