diff options
author | Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> | 2023-06-21 22:47:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-21 16:47:35 -0400 |
commit | f53c68e005f097506fadd3e717578ae01dcaa04b (patch) | |
tree | 7b9cc6ebd3c7f09c99793d55c807c98b1656d653 | |
parent | 12a22eebc76bfec6c6172f0e4069d2cb4b6cab6f (diff) | |
download | spack-f53c68e005f097506fadd3e717578ae01dcaa04b.tar.gz spack-f53c68e005f097506fadd3e717578ae01dcaa04b.tar.bz2 spack-f53c68e005f097506fadd3e717578ae01dcaa04b.tar.xz spack-f53c68e005f097506fadd3e717578ae01dcaa04b.zip |
py-pycairo: add 1.24.0 (#38503)
* py-pycairo: add 1.24.0
* Change python dependency to 3.8
* Remove upper bound for python dependency
* Update var/spack/repos/builtin/packages/py-pycairo/package.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
---------
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r-- | var/spack/repos/builtin/packages/py-pycairo/package.py | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/py-pycairo/package.py b/var/spack/repos/builtin/packages/py-pycairo/package.py index 83d623dd34..0021915fac 100644 --- a/var/spack/repos/builtin/packages/py-pycairo/package.py +++ b/var/spack/repos/builtin/packages/py-pycairo/package.py @@ -13,18 +13,22 @@ class PyPycairo(PythonPackage): homepage = "https://www.cairographics.org/pycairo/" pypi = "pycairo/pycairo-1.17.1.tar.gz" + git = "https://github.com/pygobject/pycairo.git" + version("1.24.0", sha256="1444d52f1bb4cc79a4a0c0fe2ccec4bd78ff885ab01ebe1c0f637d8392bcafb6") version("1.20.0", sha256="5695a10cb7f9ae0d01f665b56602a845b0a8cb17e2123bfece10c2e58552468c") version("1.18.1", sha256="70172e58b6bad7572a3518c26729b074acdde15e6fee6cbab6d3528ad552b786") version("1.17.1", sha256="0f0a35ec923d87bc495f6753b1e540fd046d95db56a35250c44089fbce03b698") - depends_on("cairo@1.15.10: +pdf", when="@1.20.0:") - depends_on("cairo@1.13.1: +pdf", when="@:1.18.1") - depends_on("pkgconfig", type="build") - depends_on("py-setuptools", type="build") - depends_on("python@2.7:2.8,3.3:", when="@:1.17.1", type=("build", "run")) + depends_on("python@3.8:", when="@1.23:", type=("build", "run")) + depends_on("python@3.6:3", when="@1.20:1.22", type=("build", "run")) depends_on("python@2.7:2.8,3.4:3.7", when="@1.18.1:1.19", type=("build", "run")) - depends_on("python@3.6:3", when="@1.20.0:", type=("build", "run")) + depends_on("py-setuptools", type="build") + # https://github.com/pygobject/pycairo/blob/main/docs/getting_started.rst + depends_on("pkgconfig", type="build") + # version requirements from setup.py + depends_on("cairo@1.15.10: +pdf", when="@1.20:") + depends_on("cairo@1.13.1: +pdf", when="@:1.18.1") @run_after("install") def post_install(self): |