flake8 7.3.0-2

This commit is contained in:
2025-09-21 18:35:31 +03:00
parent 1da3ee09de
commit 43b29d367c

View File

@@ -1,9 +1,10 @@
name='flake8' name='flake8'
epoch='2'
version='7.3.0' version='7.3.0'
release='1' release='2'
desc='The modular source code checker: pep8, pyflakes and co' desc='The modular source code checker: pep8, pyflakes and co'
desc_ru='Модульная проверка исходного кода: pep8, pyflakes и другие'
homepage='https://flake8.pycqa.org' homepage='https://flake8.pycqa.org'
maintainer="Evgeny Khramov <xpamych@yandex.ru>"
maintainer="Евгений Храмов <xpamych@yandex.ru>" maintainer="Евгений Храмов <xpamych@yandex.ru>"
architectures=('all') architectures=('all')
license=('MIT') license=('MIT')
@@ -16,11 +17,36 @@ deps=(
'python3-pycodestyle' 'python3-pycodestyle'
'python3-entrypoints' '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=( 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") sources=("https://github.com/PyCQA/flake8/archive/${version}/${name}-${version}.tar.gz")
checksums=('SKIP') checksums=('SKIP')
@@ -40,3 +66,9 @@ package() {
python setup.py install --root="${pkgdir}" --prefix=/usr --optimize=1 python setup.py install --root="${pkgdir}" --prefix=/usr --optimize=1
install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$name/LICENSE 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"
}