void-packages/srcpkgs/python3-pycodestyle/template

26 lines
794 B
Bash

# Template file for 'python3-pycodestyle'
pkgname=python3-pycodestyle
version=2.9.1
revision=2
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=2c9607871d58c76354b697b42f5d57e1ada7d261c261efac224b664affdc5785
post_install() {
vlicense LICENSE
}
python-pycodestyle_package() {
build_style=meta
short_desc+=" (transitional dummy package)"
depends="python3-pycodestyle>=${version}_${revision}"
}