Add old versions and missing dependencies to py-protobuf (#13811)
This commit is contained in:
parent
ea42d67a9a
commit
33059daff4
@ -15,23 +15,27 @@ class PyProtobuf(PythonPackage):
|
||||
and using a variety of languages."""
|
||||
|
||||
homepage = 'https://developers.google.com/protocol-buffers/'
|
||||
url = 'https://pypi.io/packages/source/p/protobuf/protobuf-3.0.0b2.tar.gz'
|
||||
url = 'https://pypi.io/packages/source/p/protobuf/protobuf-3.7.1.tar.gz'
|
||||
|
||||
variant('cpp', default=False,
|
||||
description='Enable the cpp implementation')
|
||||
|
||||
version('3.7.1', sha256='21e395d7959551e759d604940a115c51c6347d90a475c9baf471a1a86b5604a9')
|
||||
version('3.6.1', sha256='1489b376b0f364bcc6f89519718c057eb191d7ad6f1b395ffd93d1aa45587811')
|
||||
version('3.5.2.post1', sha256='3b60685732bd0cbdc802dfcb6071efbcf5d927ce3127c13c33ea1a8efae3aa76')
|
||||
version('3.6.0', sha256='a37836aa47d1b81c2db1a6b7a5e79926062b5d76bd962115a0e615551be2b48d')
|
||||
version('3.5.2', sha256='09879a295fd7234e523b62066223b128c5a8a88f682e3aff62fb115e4a0d8be0')
|
||||
version('3.5.1', sha256='95b78959572de7d7fafa3acb718ed71f482932ddddddbd29ba8319c10639d863')
|
||||
version('3.0.0b2', sha256='d5b560bbc4b7d97cc2455c05cad9299d9db02d7bd11193b05684e3a86303c229')
|
||||
version('3.4.0', sha256='ef02609ef445987976a3a26bff77119c518e0915c96661c3a3b17856d0ef6374')
|
||||
version('3.3.0', sha256='1cbcee2c45773f57cb6de7ee0eceb97f92b9b69c0178305509b162c0160c1f04')
|
||||
version('2.6.1', sha256='8faca1fb462ee1be58d00f5efb4ca4f64bde92187fe61fde32615bbee7b3e745')
|
||||
version('2.5.0', sha256='58292c459598c9297258bf57acc055f701c727f0154a86af8c0947dde37d8172')
|
||||
version('2.4.1', sha256='df30b98acb6ef892da8b4776175510cff2131908fd0526b6bad960c55a830a1b')
|
||||
version('2.3.0', sha256='374bb047874a506507912c3717d0ce62affbaa9a22bcb494d63d60326a0867b5')
|
||||
|
||||
depends_on('py-setuptools', type='build')
|
||||
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'))
|
||||
depends_on('py-unittest2', when='@3: ^python@:2', type=('build', 'run'))
|
||||
depends_on('protobuf', when='+cpp')
|
||||
|
||||
@when('+cpp')
|
||||
|
Loading…
Reference in New Issue
Block a user