2016-02-10 01:10:00 +01:00
|
|
|
# Template file for 'python-CherryPy'
|
|
|
|
pkgname=python-CherryPy
|
2016-02-08 07:34:59 +01:00
|
|
|
version=5.0.1
|
2016-02-10 01:10:00 +01:00
|
|
|
revision=2
|
2016-02-04 01:52:49 +01:00
|
|
|
noarch=yes
|
2016-02-10 01:10:00 +01:00
|
|
|
wrksrc="CherryPy-${version}"
|
|
|
|
build_style=python-module
|
|
|
|
python_versions="2.7 3.4"
|
|
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
|
|
depends="python"
|
|
|
|
pycompile_module="cherrypy"
|
|
|
|
short_desc="Object-oriented HTTP framework (Python2)"
|
2016-02-04 01:52:49 +01:00
|
|
|
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
2016-02-10 01:10:00 +01:00
|
|
|
license="3-clause-BSD"
|
2016-02-04 01:52:49 +01:00
|
|
|
homepage="http://www.cherrypy.org"
|
2016-02-10 01:10:00 +01:00
|
|
|
distfiles="${PYPI_SITE}/C/CherryPy/CherryPy-${version}.tar.gz"
|
2016-02-08 07:34:59 +01:00
|
|
|
checksum=6dd6a3c2890ff613b92c597126f548d41a59024448ae3439a1dba08013610403
|
2016-02-04 01:52:49 +01:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense cherrypy/LICENSE.txt
|
2016-02-10 01:10:00 +01:00
|
|
|
vbin build-3.4/scripts-3.4/cherryd cherryd3.4
|
|
|
|
}
|
|
|
|
|
|
|
|
python3.4-CherryPy_package() {
|
|
|
|
noarch=yes
|
|
|
|
depends="python3.4"
|
|
|
|
pycompile_version="3.4"
|
|
|
|
pycompile_module="cherrypy"
|
|
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin/cherryd3.4
|
|
|
|
vmove usr/lib/python3.4
|
|
|
|
vlicense cherrypy/LICENSE.txt
|
|
|
|
}
|
2016-02-04 01:52:49 +01:00
|
|
|
}
|