Fix py-astroid recipe (#27670)

This commit is contained in:
iarspider 2021-11-28 18:07:53 +01:00 committed by GitHub
parent 1b71ceb384
commit 8ff81d4362
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,12 +39,12 @@ class PyAstroid(PythonPackage):
depends_on('py-lazy-object-proxy', type=('build', 'run')) depends_on('py-lazy-object-proxy', type=('build', 'run'))
# Starting with astroid 2.3.1, astroid's dependencies were restricted # Starting with astroid 2.3.1, astroid's dependencies were restricted
# to a given minor version, c.f. commit e1b4e11. # to a given minor version, c.f. commit e1b4e11.
depends_on('py-lazy-object-proxy@1.4.0:1.4', when='@2.3.1:', type=('build', 'run')) depends_on('py-lazy-object-proxy@1.4.0:1.4', when='@2.3.1:2.7.2', type=('build', 'run'))
depends_on('py-lazy-object-proxy@1.4.0:', when='@2.7.3:', type=('build', 'run')) depends_on('py-lazy-object-proxy@1.4.0:', when='@2.7.3:', type=('build', 'run'))
depends_on('py-six', type=('build', 'run'), when='@:2.7.2') depends_on('py-six', type=('build', 'run'), when='@:2.7.2')
depends_on('py-six@1.12:1', when='@2.3.3:2.7.2', type=('build', 'run')) depends_on('py-six@1.12:1', when='@2.3.3:2.7.2', type=('build', 'run'))
depends_on('py-wrapt', when='@:2.2', type=('build', 'run')) depends_on('py-wrapt', when='@:2.2', type=('build', 'run'))
depends_on('py-wrapt@1.11:1.12', when='@2.3.3:', type=('build', 'run')) depends_on('py-wrapt@1.11:1.12', when='@2.3.3:2.8.2', type=('build', 'run'))
depends_on('py-wrapt@1.11:1.13', when='@2.8.3:', type=('build', 'run')) depends_on('py-wrapt@1.11:1.13', when='@2.8.3:', type=('build', 'run'))
depends_on('py-enum34@1.1.3:', when='^python@:3.3', type=('build', 'run')) depends_on('py-enum34@1.1.3:', when='^python@:3.3', type=('build', 'run'))
depends_on('py-singledispatch', when='^python@:3.3', type=('build', 'run')) depends_on('py-singledispatch', when='^python@:3.3', type=('build', 'run'))