py-pep8-naming: add new version, fix url and deps (#15874)

This commit is contained in:
Adam J. Stewart 2020-04-05 15:44:50 -05:00 committed by GitHub
parent 4dc034a8e5
commit e359bb91e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,10 +9,11 @@
class PyPep8Naming(PythonPackage):
"""Check PEP-8 naming conventions, plugin for flake8."""
homepage = "https://pypi.org/project/pep8-naming/"
url = "https://files.pythonhosted.org/packages/3e/4a/125425d6b1e017f48dfc9c961f4bb9510168db7a090618906c750184ed03/pep8-naming-0.7.0.tar.gz"
homepage = "https://github.com/PyCQA/pep8-naming"
url = "https://pypi.io/packages/source/p/pep8-naming/pep8-naming-0.10.0.tar.gz"
extends('python', ignore='bin/(flake8|pyflakes|pycodestyle)')
version('0.7.0', sha256='624258e0dd06ef32a9daf3c36cc925ff7314da7233209c5b01f7e5cdd3c34826')
version('0.10.0', sha256='f3b4a5f9dd72b991bf7d8e2a341d2e1aa3a884a769b5aaac4f56825c1763bf3a')
version('0.7.0', sha256='624258e0dd06ef32a9daf3c36cc925ff7314da7233209c5b01f7e5cdd3c34826')
depends_on('py-flake8-polyfill', type='run')
depends_on('py-setuptools', type='build')
depends_on('py-flake8-polyfill@1.0.2:1.999', type=('build', 'run'))