void-packages/srcpkgs/pep8/template

21 lines
555 B
Bash

# Template file for 'pep8'
pkgname=pep8
version=1.7.0
revision=1
noarch=yes
build_style=python-module
hostmakedepends="python-setuptools"
depends="${hostmakedepends}"
pycompile_module="pep8.py"
short_desc="Python style guide checker"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/PyCQA/pep8"
license="MIT"
distfiles="${PYPI_SITE}/p/pep8/pep8-${version}.tar.gz"
checksum=a113d5f5ad7a7abacef9df5ec3f2af23a20a28005921577b15dd584d099d5900
post_install() {
sed -n '/Copyright/,/SOFTWARE\./p' pep8.py >LICENSE
vlicense LICENSE
}