python-Cheroot: update to 5.9.0.

This commit is contained in:
Andrea Brancaleoni 2017-11-17 12:38:14 +01:00
parent 6eadccf7b2
commit b29c24069b

View file

@ -1,7 +1,7 @@
# Template file for 'python-Cheroot'
pkgname=python-Cheroot
version=5.8.3
revision=2
version=5.9.0
revision=1
noarch=yes
wrksrc="cheroot-${version}"
build_style=python-module
@ -13,7 +13,7 @@ maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="3-clause-BSD"
homepage="https://github.com/cherrypy/cheroot"
distfiles="${PYPI_SITE}/c/cheroot/cheroot-${version}.tar.gz"
checksum=5c0531fd732700b1fb3e6e7079dc3aefbdf29e9136925633d93f009cb87d70a3
checksum=d8ec06b6e907b911ac5bb626876ee498c289d21f1a638cb2510fc57290567ef5
pre_build() {
sed -i setup.py \
@ -21,7 +21,7 @@ pre_build() {
-e "s|use_scm_version=True|version='${version}'|"
}
post_install() {
vlicense LICENSE.md LICENSE
vlicense LICENSE
}
python3-Cheroot_package() {
@ -31,6 +31,6 @@ python3-Cheroot_package() {
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE.md LICENSE
vlicense LICENSE
}
}