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' # Template file for 'python3-Cheroot'
pkgname=python3-Cheroot pkgname=python3-Cheroot
version=8.3.1 version=8.4.5
revision=3 revision=1
wrksrc="cheroot-${version}" wrksrc="cheroot-${version}"
build_style=python3-module build_style=python3-module
hostmakedepends="python3-setuptools" hostmakedepends="python3-setuptools_scm"
depends="python3-setuptools python3-six python3-more-itertools depends="python3-setuptools python3-six
python3-jaraco.functools" python3-more-itertools python3-jaraco.functools"
short_desc="High-performance, pure-Python HTTP server (Python3)" short_desc="High-performance, pure-Python HTTP server (Python3)"
maintainer="bra1nwave <bra1nwave@protonmail.com>" maintainer="bra1nwave <bra1nwave@protonmail.com>"
license="BSD-3-Clause" license="BSD-3-Clause"
homepage="https://github.com/cherrypy/cheroot" homepage="https://github.com/cherrypy/cheroot"
changelog="https://github.com/cherrypy/cheroot/blob/master/CHANGES.rst" changelog="https://github.com/cherrypy/cheroot/blob/master/CHANGES.rst"
distfiles="${PYPI_SITE}/c/cheroot/cheroot-${version}.tar.gz" distfiles="${PYPI_SITE}/c/cheroot/cheroot-${version}.tar.gz"
checksum=7076d5845f64d729e4155ec2650ad24ee70209340d11b9e619a82e9210a579b8 checksum=b6c18caf5f79cdae668c35fc8309fc88ea4a964cce9e2ca8504fab13bcf57301
conflicts="python-Cheroot>=0" alternatives="cheroot:cheroot:/usr/bin/cheroot3"
pre_build() { post_patch() {
vsed -i setup.cfg \ # Don't need setuptools_scm_git_archive for the tarball
-e '/setuptools_scm/d' \ vsed -e '/setuptools_scm_git_archive/d' -i setup.cfg
-e '/use_scm_version/d' \
-e "/name = /a\
version = ${version}"
} }
post_install() { post_install() {
mv "${DESTDIR}/usr/bin/cheroot" "${DESTDIR}/usr/bin/cheroot3"
vlicense LICENSE.md vlicense LICENSE.md
} }