py-cycler: add 0.11.0 and get sources from pypi (#27550)

* py-cycler: add 0.11.0

* Update var/spack/repos/builtin/packages/py-cycler/package.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
Manuela Kuhn 2021-11-19 19:20:14 +01:00 committed by GitHub
parent efe635a3f8
commit cdc5b32240
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,9 +10,11 @@ class PyCycler(PythonPackage):
"""Composable style cycles."""
homepage = "https://matplotlib.org/cycler/"
url = "https://github.com/matplotlib/cycler/archive/v0.10.0.tar.gz"
pypi = "cycler/cycler-0.11.0.tar.gz"
version('0.10.0', sha256='b6d217635e03024196225367b1a438996dbbf0271bec488f00584f0e7dc15cfa')
version('0.11.0', sha256='9c87405839a19696e837b3b818fed3f5f69f16f1eec1a1ad77e043dcea9c772f')
version('0.10.0', sha256='cd7b2d1018258d7247a71425e9f26463dfb444d411c39569972f4ce586b0c9d8')
depends_on('python@3.6:', when='@0.11:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
depends_on('py-six', type=('build', 'run'))
depends_on('py-six', when='@:0.10', type=('build', 'run'))