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