py-flake8-polyfill: fix url and deps (#15872)

This commit is contained in:
Adam J. Stewart 2020-04-05 15:45:29 -05:00 committed by GitHub
parent 2a074ce445
commit a08d5fed0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,10 +11,10 @@ class PyFlake8Polyfill(PythonPackage):
for Flake8 plugins that intend to support Flake8 2.x and 3.x
simultaneously.
"""
homepage = "https://pypi.org/project/flake8-polyfill/"
url = "https://files.pythonhosted.org/packages/e6/67/1c26634a770db5c442e361311bee73cb3a177adb2eb3f7af8953cfd9f553/flake8-polyfill-1.0.2.tar.gz"
homepage = "https://gitlab.com/pycqa/flake8-polyfill"
url = "https://pypi.io/packages/source/f/flake8-polyfill/flake8-polyfill-1.0.2.tar.gz"
version('1.0.2', sha256='e44b087597f6da52ec6393a709e7108b2905317d0c0b744cdca6208e670d8eda')
extends('python', ignore='bin/(flake8|pyflakes|pycodestyle)')
depends_on('py-flake8', type='run')
depends_on('py-setuptools', type='build')
depends_on('py-flake8', type=('build', 'run'))