mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 06:07:00 +02:00
python3-pycodestyle: update to 2.9.1.
This commit is contained in:
parent
9153830019
commit
58a7b1a84e
1 changed files with 4 additions and 10 deletions
|
@ -1,25 +1,19 @@
|
|||
# Template file for 'python3-pycodestyle'
|
||||
pkgname=python3-pycodestyle
|
||||
version=2.8.0
|
||||
version=2.9.1
|
||||
revision=1
|
||||
wrksrc="pycodestyle-${version}"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
depends="python3"
|
||||
checkdepends="python3-pytest"
|
||||
short_desc="Python style guide checker (formerly called pep8)"
|
||||
maintainer="Michal Vasilek <michal@vasilek.cz>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/PyCQA/pycodestyle"
|
||||
changelog="https://raw.githubusercontent.com/PyCQA/pycodestyle/main/CHANGES.txt"
|
||||
distfiles="${PYPI_SITE}/p/pycodestyle/pycodestyle-${version}.tar.gz"
|
||||
checksum=eddd5847ef438ea1c7870ca7eb78a9d47ce0cdb4851a5523949f2601d0cbbe7f
|
||||
|
||||
do_check() {
|
||||
# from tox.ini and alpine
|
||||
python3 -m pycodestyle --statistics pycodestyle.py
|
||||
python3 -m pycodestyle --max-doc-length=72 --testsuite testsuite
|
||||
python3 -m pycodestyle --max-doc-length=72 --doctest
|
||||
python3 -m unittest discover testsuite -vv
|
||||
}
|
||||
checksum=2c9607871d58c76354b697b42f5d57e1ada7d261c261efac224b664affdc5785
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
|
|
Loading…
Add table
Reference in a new issue