python-Cheroot: update to 6.5.6.

- adopt package
This commit is contained in:
bra1nwave 2019-08-23 10:57:48 +02:00 committed by Helmut Pozimski
parent aefb27adcb
commit b041e1a355

View file

@ -1,6 +1,6 @@
# Template file for 'python-Cheroot'
pkgname=python-Cheroot
version=6.5.4
version=6.5.6
revision=1
archs=noarch
wrksrc="cheroot-${version}"
@ -10,18 +10,17 @@ hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools python-six python-more-itertools
python-backports.functools_lru_cache"
short_desc="High-performance, pure-Python HTTP server (Python2)"
maintainer="Orphaned <orphan@voidlinux.org>"
maintainer="bra1nwave <brainwave@openmailbox.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=beb8eb9eeff5746059607e81b72efd6f4ca099111dc13f8961ae9e4f63f7786b
checksum=b824f9961eb447809badeb051820a05770354e2f9ae5c355eecc21f22633c217
alternatives="cheroot:cheroot:/usr/bin/cheroot2"
pre_build() {
sed -i setup.cfg \
vsed -i setup.cfg \
-e '/setuptools_scm/d' \
-e '/setuptools_scm_git_archive/d' \
-e '/use_scm_version/d' \
-e '/backports.*/s/$/;python_version<"3.4"/' \
-e "/name = /a\
@ -39,8 +38,8 @@ python3-Cheroot_package() {
alternatives="cheroot:cheroot:/usr/bin/cheroot3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/bin/*3
vmove usr/lib/python3*
vmove "usr/bin/*3"
vmove "usr/lib/python3*"
vlicense LICENSE.md
}
}