python-CherryPy: update to 17.4.2.

- adopt package
This commit is contained in:
bra1nwave 2019-08-12 10:36:13 +02:00 committed by Enno Boland
parent 57b39d1a97
commit 1ce2d125b6

View file

@ -1,24 +1,25 @@
# Template file for 'python-CherryPy'
pkgname=python-CherryPy
reverts="18.0.1_1 18.0.0_1"
version=17.4.1
version=17.4.2
revision=1
archs=noarch
wrksrc="CherryPy-${version}"
build_style=python2-module
hostmakedepends="python-setuptools"
depends="python-setuptools python-six python-Cheroot python-portend python-contextlib2 python-zc.lockfile"
pycompile_module="cherrypy"
hostmakedepends="python-setuptools"
depends="python-setuptools python-six python-Cheroot python-portend
python-contextlib2 python-zc.lockfile"
short_desc="Object-oriented HTTP framework (Python2)"
maintainer="Orphaned <orphan@voidlinux.org>"
maintainer="bra1nwave <brainwave@openmailbox.org>"
license="BSD-3-Clause"
homepage="https://cherrypy.org/"
distfiles="${PYPI_SITE}/C/CherryPy/CherryPy-${version}.tar.gz"
checksum=fba9fd96d0d9d5b4d680f7ec08e0758a7e5005039ee164e7936594ffad3a81ce
checksum=ef1619ad161f526745d4f0e4e517753d9d985814f1280e330661333d2ba05cdf
alternatives="cherrypy:cherryd:/usr/bin/cherryd2"
pre_build() {
sed -i setup.py \
vsed -i setup.py \
-e '/setuptools_scm/d' \
-e "s|use_scm_version=True|version='${version}'|"
}