summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Van Essen <vanessen1@llnl.gov>2022-05-30 08:23:26 +0200
committerGitHub <noreply@github.com>2022-05-30 01:23:26 -0500
commitf67f3b1796b0066085e94bea49c1762c5c68080a (patch)
treec3e4b44c9f987e7094a8b97a98a290cb5f83b559
parent77c86c759c7829eb703f307be55ab7d41cd9eeef (diff)
downloadspack-f67f3b1796b0066085e94bea49c1762c5c68080a.tar.gz
spack-f67f3b1796b0066085e94bea49c1762c5c68080a.tar.bz2
spack-f67f3b1796b0066085e94bea49c1762c5c68080a.tar.xz
spack-f67f3b1796b0066085e94bea49c1762c5c68080a.zip
Add new versions of protobuf and py-protobuf (#30503)
* Add new versions * Updated the hashes to match the published pypi.org hashes. Added version constraints for Python.
-rw-r--r--var/spack/repos/builtin/packages/protobuf/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-protobuf/package.py9
2 files changed, 15 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/protobuf/package.py b/var/spack/repos/builtin/packages/protobuf/package.py
index e24f4908f1..21260cff76 100644
--- a/var/spack/repos/builtin/packages/protobuf/package.py
+++ b/var/spack/repos/builtin/packages/protobuf/package.py
@@ -15,6 +15,12 @@ class Protobuf(Package):
homepage = "https://developers.google.com/protocol-buffers"
url = "https://github.com/protocolbuffers/protobuf/archive/v3.18.0.tar.gz"
+ version('3.20.1', sha256='8b28fdd45bab62d15db232ec404248901842e5340299a57765e48abe8a80d930')
+ version('3.20.0', sha256='b07772d38ab07e55eca4d50f4b53da2d998bb221575c60a4f81100242d4b4889')
+ version('3.19.4', sha256='3bd7828aa5af4b13b99c191e8b1e884ebfa9ad371b0ce264605d347f135d2568')
+ version('3.19.3', sha256='390191a0d7884b3e52bb812c440ad1497b9d484241f37bb8e2ccc8c2b72d6c36')
+ version('3.19.2', sha256='4dd35e788944b7686aac898f77df4e9a54da0ca694b8801bd6b2a9ffc1b3085e')
+ version('3.18.2', sha256='579cd41bf322adb2b1161a46e076e39d3d01d1e8c50b8b61ce444211dae4e632')
version('3.18.0', sha256='14e8042b5da37652c92ef6a2759e7d2979d295f60afd7767825e3de68c856c54')
version('3.17.3', sha256='c6003e1d2e7fefa78a3039f19f383b4f3a61e81be8c19356f85b6461998ad3db')
version('3.17.0', sha256='eaba1dd133ac5167e8b08bc3268b2d33c6e9f2dcb14ec0f97f3d3eed9b395863')
diff --git a/var/spack/repos/builtin/packages/py-protobuf/package.py b/var/spack/repos/builtin/packages/py-protobuf/package.py
index 5ed4bc0908..f774af9f4b 100644
--- a/var/spack/repos/builtin/packages/py-protobuf/package.py
+++ b/var/spack/repos/builtin/packages/py-protobuf/package.py
@@ -20,7 +20,14 @@ class PyProtobuf(PythonPackage):
variant('cpp', default=False,
description='Enable the cpp implementation')
+ version('3.20.1', sha256='adc31566d027f45efe3f44eeb5b1f329da43891634d61c75a5944e9be6dd42c9')
version('3.20.0', sha256='71b2c3d1cd26ed1ec7c8196834143258b2ad7f444efff26fdc366c6f5e752702')
+ version('3.19.4', sha256='9df0c10adf3e83015ced42a9a7bd64e13d06c4cf45c340d2c63020ea04499d0a')
+ version('3.19.3', sha256='d975a6314fbf5c524d4981e24294739216b5fb81ef3c14b86fb4b045d6690907')
+ version('3.19.2', sha256='392f928e57054520276fdad412e045910268224b9446c218702e577d26eaf557')
+ version('3.19.1', sha256='62a8e4baa9cb9e064eb62d1002eca820857ab2138440cb4b3ea4243830f94ca7')
+ version('3.19.0', sha256='6a1dc6584d24ef86f5b104bcad64fa0fe06ed36e5687f426e0445d363a041d18')
+ version('3.18.1', sha256='1c9bb40503751087300dd12ce2e90899d68628977905c76effc48e66d089391e')
version('3.17.3', sha256='72804ea5eaa9c22a090d2803813e280fb273b62d5ae497aaf3553d141c4fdd7b')
version('3.17.2', sha256='5a3450acf046716e4a4f02a3f7adfb7b86f1b5b3ae392cec759915e79538d40d')
version('3.17.1', sha256='25bc4f1c23aced9b3a9e70eef7f03e63bcbd6cfbd881a91b5688412dce8992e1')
@@ -56,6 +63,8 @@ class PyProtobuf(PythonPackage):
version('2.4.1', sha256='df30b98acb6ef892da8b4776175510cff2131908fd0526b6bad960c55a830a1b')
version('2.3.0', sha256='374bb047874a506507912c3717d0ce62affbaa9a22bcb494d63d60326a0867b5')
+ depends_on('python@3.5:', when='@3.18:', type=('build', 'run'))
+ depends_on('python@3.7:', when='@3.20:', type=('build', 'run'))
depends_on('py-setuptools', type=('build', 'run'))
depends_on('py-six@1.9:', when='@3:', type=('build', 'run'))
depends_on('py-ordereddict', when='@3: ^python@:2', type=('build', 'run'))