void-packages/srcpkgs/python3-Cheroot/template

30 lines
867 B
Bash
Raw Normal View History

2020-09-20 17:17:27 +02:00
# Template file for 'python3-Cheroot'
pkgname=python3-Cheroot
version=8.3.1
revision=2
wrksrc="cheroot-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools python3-six python3-more-itertools
python3-jaraco.functools"
short_desc="High-performance, pure-Python HTTP server (Python3)"
maintainer="bra1nwave <bra1nwave@protonmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/cherrypy/cheroot"
changelog="https://github.com/cherrypy/cheroot/blob/master/CHANGES.rst"
distfiles="${PYPI_SITE}/c/cheroot/cheroot-${version}.tar.gz"
checksum=7076d5845f64d729e4155ec2650ad24ee70209340d11b9e619a82e9210a579b8
conflicts="python-Cheroot>=0"
pre_build() {
vsed -i setup.cfg \
-e '/setuptools_scm/d' \
-e '/use_scm_version/d' \
-e "/name = /a\
version = ${version}"
}
post_install() {
vlicense LICENSE.md
}