py-tqdm: add new version, variants (#22290)

This commit is contained in:
Adam J. Stewart 2021-03-15 12:03:52 -05:00 committed by GitHub
parent 3c493ae629
commit 78d1b28b72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,9 +12,16 @@ class PyTqdm(PythonPackage):
homepage = "https://github.com/tqdm/tqdm" homepage = "https://github.com/tqdm/tqdm"
pypi = "tqdm/tqdm-4.45.0.tar.gz" pypi = "tqdm/tqdm-4.45.0.tar.gz"
version('4.59.0', sha256='d666ae29164da3e517fcf125e41d4fe96e5bb375cd87ff9763f6b38b5592fe33')
version('4.45.0', sha256='00339634a22c10a7a22476ee946bbde2dbe48d042ded784e4d88e0236eca5d81') version('4.45.0', sha256='00339634a22c10a7a22476ee946bbde2dbe48d042ded784e4d88e0236eca5d81')
version('4.36.1', sha256='abc25d0ce2397d070ef07d8c7e706aede7920da163c64997585d42d3537ece3d') version('4.36.1', sha256='abc25d0ce2397d070ef07d8c7e706aede7920da163c64997585d42d3537ece3d')
version('4.8.4', sha256='bab05f8bb6efd2702ab6c532e5e6a758a66c0d2f443e09784b73e4066e6b3a37') version('4.8.4', sha256='bab05f8bb6efd2702ab6c532e5e6a758a66c0d2f443e09784b73e4066e6b3a37')
depends_on('python@2.6:2.8,3.2:', type=('build', 'run')) variant('telegram', default=False, description='Enable Telegram bot support')
depends_on('py-setuptools', type=('build', 'run')) variant('notebook', default=False, description='Enable Jupyter Notebook support')
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
depends_on('py-setuptools@42:', type=('build', 'run'))
depends_on('py-setuptools-scm@3.4:+toml', type='build')
depends_on('py-requests', when='+telegram', type=('build', 'run'))
depends_on('py-ipywidgets@6:', when='+notebook', type=('build', 'run'))