From 63fcb0331b0200b39948b453f2873dc64edcea85 Mon Sep 17 00:00:00 2001 From: Brent Huisman Date: Thu, 28 Oct 2021 18:14:49 +0200 Subject: Add Pybind11 v2.8 (#26867) * Add Pybind11 v2.8 * Add Python dependency * Update package.py * Added Pybind v2.8.1 --- var/spack/repos/builtin/packages/py-pybind11/package.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/py-pybind11/package.py b/var/spack/repos/builtin/packages/py-pybind11/package.py index c613d5a8d7..a1ebcec3da 100644 --- a/var/spack/repos/builtin/packages/py-pybind11/package.py +++ b/var/spack/repos/builtin/packages/py-pybind11/package.py @@ -25,11 +25,13 @@ class PyPybind11(CMakePackage, PythonPackage): maintainers = ['ax3l'] version('master', branch='master') + version('2.8.1', sha256='f1bcc07caa568eb312411dde5308b1e250bd0e1bc020fae855bf9f43209940cc') + version('2.8.0', sha256='9ca7770fc5453b10b00a4a2f99754d7a29af8952330be5f5602e7c2635fa3e79') version('2.7.1', sha256='616d1c42e4cf14fa27b2a4ff759d7d7b33006fdc5ad8fd603bb2c22622f27020') version('2.7.0', sha256='6cd73b3d0bf3daf415b5f9b87ca8817cc2e2b64c275d65f9500250f9fee1677e') version('2.6.2', sha256='8ff2fff22df038f5cd02cea8af56622bc67f5b64534f1b83b9f133b8366acff2') version('2.6.1', sha256='cdbe326d357f18b83d10322ba202d69f11b2f49e2d87ade0dc2be0c5c34f8e2a') - version('2.5.0', sha256='97504db65640570f32d3fdf701c25a340c8643037c3b69aec469c10c93dc8504', preferred=True) + version('2.5.0', sha256='97504db65640570f32d3fdf701c25a340c8643037c3b69aec469c10c93dc8504') version('2.4.3', sha256='1eed57bc6863190e35637290f97a20c81cfe4d9090ac0a24f3bbf08f265eb71d') version('2.3.0', sha256='0f34838f2c8024a6765168227ba587b3687729ebf03dc912f88ff75c7aa9cfe8') version('2.2.4', sha256='b69e83658513215b8d1443544d0549b7d231b9f201f6fc787a2b2218b408181e') @@ -42,6 +44,7 @@ class PyPybind11(CMakePackage, PythonPackage): depends_on('py-setuptools', type='build') depends_on('py-pytest', type='test') + depends_on('python@2.7:2.8,3.5:', type=('build', 'run')) # compiler support conflicts('%gcc@:4.7') -- cgit v1.2.3-70-g09d2