# Template file for 'python3-Cheroot'
pkgname=python3-Cheroot
version=11.1.2
revision=1
build_style=python3-pep517
hostmakedepends="python3-wheel python3-setuptools_scm"
depends="python3-setuptools python3-six python3-more-itertools
 python3-jaraco.functools"
short_desc="High-performance, pure-Python HTTP server (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
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=bfb70c49663f63b0440f2b54dbc6b0d1650e56dfe4e2641f59b2c6f727b44aca
alternatives="cheroot:cheroot:/usr/bin/cheroot3"

post_install() {
	mv "${DESTDIR}/usr/bin/cheroot" "${DESTDIR}/usr/bin/cheroot3"
	vlicense LICENSE.md
}
