python-Cheroot: update to 7.0.0.

This commit is contained in:
bra1nwave 2019-09-30 10:23:02 +02:00 committed by Helmut Pozimski
parent c5b22ac65d
commit ba274e3082

View file

@ -1,6 +1,6 @@
# Template file for 'python-Cheroot'
pkgname=python-Cheroot
version=6.5.8
version=7.0.0
revision=1
archs=noarch
wrksrc="cheroot-${version}"
@ -15,14 +15,13 @@ 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=427e7e3ce51ad5a6e5cf953252b5782d5dfbeb544c09910634971bc06df6621b
checksum=6168371ab9aaf574ac5f75675f244bbfebf990202bf75048065e9d675b9ae719
alternatives="cheroot:cheroot:/usr/bin/cheroot2"
pre_build() {
vsed -i setup.cfg \
-e '/setuptools_scm/d' \
-e '/use_scm_version/d' \
-e '/backports.*/s/$/;python_version<"3.4"/' \
-e "/name = /a\
version = ${version}"
}