# Template file for 'python3-CherryPy' pkgname=python3-CherryPy version=18.5.0 revision=1 archs=noarch wrksrc="CherryPy-${version}" build_style=python3-module hostmakedepends="python3-setuptools" depends="python3-setuptools python3-Cheroot python3-portend python3-zc.lockfile python3-jaraco.collections" short_desc="Object-oriented HTTP framework (Python3)" maintainer="bra1nwave " license="BSD-3-Clause" homepage="https://cherrypy.org/" changelog="https://raw.githubusercontent.com/cherrypy/cherrypy/master/CHANGES.rst" distfiles="${PYPI_SITE}/C/CherryPy/CherryPy-${version}.tar.gz" checksum=63b2f61c38c469112145bd4e4e2385cd18f3233799e7a33bd447df468916d22b alternatives="cherrypy:cherryd:/usr/bin/cherryd3" pre_build() { vsed -i setup.py \ -e '/setuptools_scm/d' \ -e "s|use_scm_version=True|version='${version}'|" } post_install() { mv ${DESTDIR}/usr/bin/cherryd{,3} vlicense LICENSE.md }