35 lines
960 B
Bash
35 lines
960 B
Bash
# Template file for 'python-CherryPy'
|
|
pkgname=python-CherryPy
|
|
version=13.1.0
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="CherryPy-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python-six python-Cheroot"
|
|
pycompile_module="cherrypy"
|
|
short_desc="Object-oriented HTTP framework (Python2)"
|
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
|
license="3-clause-BSD"
|
|
homepage="http://www.cherrypy.org"
|
|
distfiles="${PYPI_SITE}/C/CherryPy/CherryPy-${version}.tar.gz"
|
|
checksum=57a5b9e1e5fe40a931aa5578808774e42888d0ae68b46c099663680babab695d
|
|
alternatives="cherrypy:cherryd:/usr/bin/cherryd2"
|
|
|
|
post_install() {
|
|
vlicense LICENSE.md
|
|
}
|
|
|
|
python3-CherryPy_package() {
|
|
noarch=yes
|
|
depends="python3-six python3-Cheroot"
|
|
pycompile_module="cherrypy"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
alternatives="cherrypy:cherryd:/usr/bin/cherryd3"
|
|
pkg_install() {
|
|
vmove usr/bin/cherryd3
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE.md
|
|
}
|
|
}
|