summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author健美猫 <weijianwen@gmail.com>2017-04-05 20:59:18 +0800
committerAdam J. Stewart <ajstewart426@gmail.com>2017-04-05 07:59:18 -0500
commit70372ddcd79773a88dad09e6c2678655ec37bd89 (patch)
treece87239d36d7f0408473d2c9a2f3170b895e2cf4
parent46f25a4e0a43ea1ea8e1aaddbcdf18f6f20badba (diff)
downloadspack-70372ddcd79773a88dad09e6c2678655ec37bd89.tar.gz
spack-70372ddcd79773a88dad09e6c2678655ec37bd89.tar.bz2
spack-70372ddcd79773a88dad09e6c2678655ec37bd89.tar.xz
spack-70372ddcd79773a88dad09e6c2678655ec37bd89.zip
Add versions 3.2.0 3.1.0 for protobuf. (#3698)
-rw-r--r--var/spack/repos/builtin/packages/protobuf/package.py16
1 files changed, 9 insertions, 7 deletions
diff --git a/var/spack/repos/builtin/packages/protobuf/package.py b/var/spack/repos/builtin/packages/protobuf/package.py
index 34d167b28c..e8010a496b 100644
--- a/var/spack/repos/builtin/packages/protobuf/package.py
+++ b/var/spack/repos/builtin/packages/protobuf/package.py
@@ -29,12 +29,14 @@ class Protobuf(AutotoolsPackage):
"""Google's data interchange format."""
homepage = "https://developers.google.com/protocol-buffers"
- url = "https://github.com/google/protobuf/releases/download/v2.5.0/protobuf-2.5.0.tar.bz2"
+ url = "https://github.com/google/protobuf/archive/v3.2.0.tar.gz"
- version('3.0.2', '845b39e4b7681a2ddfd8c7f528299fbb', url='https://github.com/google/protobuf/archive/v3.0.2.tar.gz')
- version('2.5.0', 'a72001a9067a4c2c4e0e836d0f92ece4')
+ version('3.2.0', '61d899b8369781f6dd1e62370813392d')
+ version('3.1.0', '14a532a7538551d5def317bfca41dace')
+ version('3.0.2', '845b39e4b7681a2ddfd8c7f528299fbb')
+ version('2.5.0', '9c21577a03adc1879aba5b52d06e25cf')
- depends_on('m4', when='@3.0.2:')
- depends_on('autoconf', when='@3.0.2:')
- depends_on('automake', when='@3.0.2:')
- depends_on('libtool', when='@3.0.2:')
+ depends_on('automake', type='build')
+ depends_on('autoconf', type='build')
+ depends_on('libtool', type='build')
+ depends_on('m4', type='build')