python3-Cheroot: update to 8.4.5.

This commit is contained in:
Andrew J. Hesford 2020-10-14 21:22:45 -04:00
parent 007cfac96a
commit 93bd5b359c

View file

@ -1,29 +1,27 @@
# Template file for 'python3-Cheroot'
pkgname=python3-Cheroot
version=8.3.1
revision=3
version=8.4.5
revision=1
wrksrc="cheroot-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools python3-six python3-more-itertools
python3-jaraco.functools"
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="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"
checksum=b6c18caf5f79cdae668c35fc8309fc88ea4a964cce9e2ca8504fab13bcf57301
alternatives="cheroot:cheroot:/usr/bin/cheroot3"
pre_build() {
vsed -i setup.cfg \
-e '/setuptools_scm/d' \
-e '/use_scm_version/d' \
-e "/name = /a\
version = ${version}"
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
}