From d969320ba13bb38e80c28162154d997a7f5c70db Mon Sep 17 00:00:00 2001 From: Ryan Marcellino <67644978+myan-rarcellino-nnl@users.noreply.github.com> Date: Fri, 30 Jul 2021 05:35:46 -0400 Subject: py-pygit2: add v1.6.0 (#25136) Co-authored-by: Cloud User --- var/spack/repos/builtin/packages/py-pygit2/package.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/py-pygit2/package.py b/var/spack/repos/builtin/packages/py-pygit2/package.py index 8240819fef..168573ef82 100644 --- a/var/spack/repos/builtin/packages/py-pygit2/package.py +++ b/var/spack/repos/builtin/packages/py-pygit2/package.py @@ -14,6 +14,7 @@ class PyPygit2(PythonPackage): homepage = "http://www.pygit2.org/" pypi = "pygit2/pygit2-0.24.1.tar.gz" + version('1.6.0', sha256='7aacea4e57011777f4774421228e5d0ddb9a6ddb87ac4b542346d17ab12a4d62') version('1.4.0', sha256='cbeb38ab1df9b5d8896548a11e63aae8a064763ab5f1eabe4475e6b8a78ee1c8') version('1.3.0', sha256='0be93f6a8d7cbf0cc79ae2f0afb1993fc055fc0018c27e2bd01ba143e51d4452') version('0.28.2', sha256='4d8c3fbbf2e5793a9984681a94e6ac2f1bc91a92cbac762dbdfbea296b917f86') @@ -31,9 +32,10 @@ class PyPygit2(PythonPackage): depends_on('python@3.6:3.8.99', when='@1.2:1.3.99') depends_on('python@3.5:3.8.99', when='@1.0:1.1.99') depends_on('python@2.7:3.7.99', when='@0.28:0.99.99') - depends_on('py-six', type=('build', 'run')) + depends_on('py-six', type=('build', 'run'), when='@:0.28.2') depends_on('py-cffi@1.4.0:', type=('build', 'run')) - depends_on('py-cached-property', when='@1.1.0:', type=('build', 'run')) + depends_on('py-cached-property', when='@1.1.0:1.5', type=('build', 'run')) + depends_on('py-cached-property', when='@1.6.0: ^python@:3.7', type=('build', 'run')) def setup_build_environment(self, env): spec = self.spec -- cgit v1.2.3-60-g2f50