27 lines
914 B
Bash
27 lines
914 B
Bash
# Template file for 'python3-Cheroot'
|
|
pkgname=python3-Cheroot
|
|
version=8.4.5
|
|
revision=3
|
|
build_style=python3-module
|
|
hostmakedepends="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=b6c18caf5f79cdae668c35fc8309fc88ea4a964cce9e2ca8504fab13bcf57301
|
|
alternatives="cheroot:cheroot:/usr/bin/cheroot3"
|
|
|
|
post_patch() {
|
|
# Don't need setuptools_scm_git_archive for the tarball
|
|
vsed -e '/setuptools_scm_git_archive/d' -i setup.cfg
|
|
}
|
|
|
|
post_install() {
|
|
mv "${DESTDIR}/usr/bin/cheroot" "${DESTDIR}/usr/bin/cheroot3"
|
|
vlicense LICENSE.md
|
|
}
|