python-Cheroot: update to 6.0.0.

This commit is contained in:
Andrea Brancaleoni 2017-12-07 23:29:45 +01:00
parent ca1f4f72fa
commit 7ce419d2b5
1 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'python-Cheroot'
pkgname=python-Cheroot
version=5.10.0
version=6.0.0
revision=1
noarch=yes
wrksrc="cheroot-${version}"
@ -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=a408f1b80a3f93a3b49fc330f68eea40d8d30b9b07084f374607d1a5cc2e824f
checksum=ba474e5149b03fabc2bba2d0b490b4d95443894d45b1430b799dccea3b3f4683
pre_build() {
sed -i setup.py \
@ -21,7 +21,7 @@ pre_build() {
-e "s|use_scm_version=True|version='${version}'|"
}
post_install() {
vlicense LICENSE
vlicense LICENSE.md
}
python3-Cheroot_package() {
@ -31,6 +31,6 @@ python3-Cheroot_package() {
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
vlicense LICENSE.md
}
}