void-packages/srcpkgs/python3-pycodestyle/template

26 lines
808 B
Bash

# Template file for 'python3-pycodestyle'
pkgname=python3-pycodestyle
version=2.11.0
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
short_desc="Python style guide checker (formerly called pep8)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/PyCQA/pycodestyle"
changelog="https://raw.githubusercontent.com/PyCQA/pycodestyle/main/CHANGES.txt"
distfiles="https://github.com/PyCQA/pycodestyle/archive/refs/tags/${version}.tar.gz"
checksum=757a3dba55dce2ae8b01fe7b46c20cd1e4c0fe794fe6119bce66b942f35e2db0
post_install() {
vlicense LICENSE
}
python-pycodestyle_package() {
build_style=meta
short_desc+=" (transitional dummy package)"
depends="python3-pycodestyle>=${version}_${revision}"
}