flake8 7.3.0-2
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
name='flake8'
|
||||
epoch='2'
|
||||
version='7.3.0'
|
||||
release='1'
|
||||
release='2'
|
||||
desc='The modular source code checker: pep8, pyflakes and co'
|
||||
desc_ru='Модульная проверка исходного кода: pep8, pyflakes и другие'
|
||||
homepage='https://flake8.pycqa.org'
|
||||
maintainer="Evgeny Khramov <xpamych@yandex.ru>"
|
||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
||||
architectures=('all')
|
||||
license=('MIT')
|
||||
@@ -16,11 +17,36 @@ deps=(
|
||||
'python3-pycodestyle'
|
||||
'python3-entrypoints'
|
||||
)
|
||||
deps_alt=(
|
||||
'python3-module-pyflakes'
|
||||
'python3-module-mccabe'
|
||||
'python3-module-pycodestyle'
|
||||
'python3-module-entrypoints'
|
||||
)
|
||||
deps_arch=(
|
||||
'python-pyflakes'
|
||||
'python-mccabe'
|
||||
'python-pycodestyle'
|
||||
'python-entrypoints'
|
||||
)
|
||||
deps_debian=("${deps[@]}")
|
||||
deps_fedora=("${deps[@]}")
|
||||
deps_redos=("${deps[@]}")
|
||||
deps_rhel=("${deps[@]}")
|
||||
deps_rosa=("${deps[@]}")
|
||||
|
||||
build_deps=(
|
||||
python3-setuptools
|
||||
'python3-setuptools'
|
||||
)
|
||||
|
||||
build_deps_alt=('python3-module-setuptools')
|
||||
build_deps_arch=('python-setuptools')
|
||||
build_deps_debian=("${build_deps[@]}")
|
||||
build_deps_fedora=("${build_deps[@]}")
|
||||
build_deps_redos=("${build_deps[@]}")
|
||||
build_deps_rhel=("${build_deps[@]}")
|
||||
build_deps_rosa=("${build_deps[@]}")
|
||||
|
||||
sources=("https://github.com/PyCQA/flake8/archive/${version}/${name}-${version}.tar.gz")
|
||||
checksums=('SKIP')
|
||||
|
||||
@@ -40,3 +66,9 @@ package() {
|
||||
python setup.py install --root="${pkgdir}" --prefix=/usr --optimize=1
|
||||
install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$name/LICENSE
|
||||
}
|
||||
|
||||
files() {
|
||||
files-find-bin
|
||||
files-find ./usr/lib/python*/site-packages
|
||||
files-find-share "licenses/$name"
|
||||
}
|
||||
|
Reference in New Issue
Block a user