summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriarspider <iarspider@gmail.com>2020-03-06 15:01:45 +0100
committerGitHub <noreply@github.com>2020-03-06 08:01:45 -0600
commit4391bb5f23a329e2292ad6085800f98368719d87 (patch)
tree8332bf49d693eaca3718cecffc67061f1c3dd92d
parentc40915db05dc66b2de9e8670c73df5cac5086c9f (diff)
downloadspack-4391bb5f23a329e2292ad6085800f98368719d87.tar.gz
spack-4391bb5f23a329e2292ad6085800f98368719d87.tar.bz2
spack-4391bb5f23a329e2292ad6085800f98368719d87.tar.xz
spack-4391bb5f23a329e2292ad6085800f98368719d87.zip
Update pycairo to 1.18.1 and fix dependencies (#15352)
* Update pycairo to 1.18.1 and fix dependencies * Typo
-rw-r--r--var/spack/repos/builtin/packages/py-pycairo/package.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/py-pycairo/package.py b/var/spack/repos/builtin/packages/py-pycairo/package.py
index 7a373609cd..a8838cfa19 100644
--- a/var/spack/repos/builtin/packages/py-pycairo/package.py
+++ b/var/spack/repos/builtin/packages/py-pycairo/package.py
@@ -11,14 +11,16 @@ class PyPycairo(PythonPackage):
"""Pycairo is a set of Python bindings for the cairo graphics library."""
homepage = "https://www.cairographics.org/pycairo/"
- url = "https://github.com/pygobject/pycairo/releases/download/v1.17.1/pycairo-1.17.1.tar.gz"
- url = "https://files.pythonhosted.org/packages/68/76/340ff847897296b2c8174dfa5a5ec3406e3ed783a2abac918cf326abad86/pycairo-1.17.1.tar.gz"
+ url = "https://pypi.io/packages/source/p/pycairo/pycairo-1.17.1.tar.gz"
+ version('1.18.1', sha256='70172e58b6bad7572a3518c26729b074acdde15e6fee6cbab6d3528ad552b786')
version('1.17.1', sha256='0f0a35ec923d87bc495f6753b1e540fd046d95db56a35250c44089fbce03b698')
- depends_on('cairo@1.2.0:')
+ depends_on('cairo@1.13.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@2.7:2.8,3.4:', when='@1.18.1:', type=('build', 'run'))
@run_after('install')
def post_install(self):