py-typing: new version, avoid issues with newer versions of python (#21684)
* py-typing: new version, avoid issues with newer versions of python https://pypi.org/project/typing/ "For package maintainers, it is preferred to use typing;python_version<"3.5" if your package requires it to support earlier Python versions." * update conflict version / more message detail * change the depends_on, leave a comment suggesting correct usage
This commit is contained in:
parent
67874420c7
commit
aed52d7e79
1 changed files with 6 additions and 1 deletions
|
@ -13,10 +13,15 @@ class PyTyping(PythonPackage):
|
||||||
homepage = "https://docs.python.org/3/library/typing.html"
|
homepage = "https://docs.python.org/3/library/typing.html"
|
||||||
pypi = "typing/typing-3.7.4.1.tar.gz"
|
pypi = "typing/typing-3.7.4.1.tar.gz"
|
||||||
|
|
||||||
|
version('3.7.4.3', sha256='1187fb9c82fd670d10aa07bbb6cfcfe4bdda42d6fab8d5134f04e8c4d0b71cc9')
|
||||||
version('3.7.4.1', sha256='91dfe6f3f706ee8cc32d38edbbf304e9b7583fb37108fef38229617f8b3eba23')
|
version('3.7.4.1', sha256='91dfe6f3f706ee8cc32d38edbbf304e9b7583fb37108fef38229617f8b3eba23')
|
||||||
version('3.6.6', sha256='4027c5f6127a6267a435201981ba156de91ad0d1d98e9ddc2aa173453453492d')
|
version('3.6.6', sha256='4027c5f6127a6267a435201981ba156de91ad0d1d98e9ddc2aa173453453492d')
|
||||||
version('3.6.4', sha256='d400a9344254803a2368533e4533a4200d21eb7b6b729c173bc38201a74db3f2')
|
version('3.6.4', sha256='d400a9344254803a2368533e4533a4200d21eb7b6b729c173bc38201a74db3f2')
|
||||||
version('3.6.1', sha256='c36dec260238e7464213dcd50d4b5ef63a507972f5780652e835d0228d0edace')
|
version('3.6.1', sha256='c36dec260238e7464213dcd50d4b5ef63a507972f5780652e835d0228d0edace')
|
||||||
|
|
||||||
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
|
# Don't use this with new versions of python (3.5+)
|
||||||
|
# python 3.7 and later will actively not import
|
||||||
|
# https://github.com/python/typing/issues/573
|
||||||
|
# _abc_registry now private https://bugs.python.org/issue31333
|
||||||
|
depends_on('python@2.7:2.8,3.4:3.6', type=('build', 'run'))
|
||||||
depends_on('py-setuptools', type='build')
|
depends_on('py-setuptools', type='build')
|
||||||
|
|
Loading…
Reference in a new issue