void-packages/srcpkgs/python-CherryPy/template

37 lines
1,009 B
Bash
Raw Normal View History

# Template file for 'python-CherryPy'
pkgname=python-CherryPy
2016-06-25 06:56:11 +00:00
version=6.0.2
2016-05-01 05:57:27 +00:00
revision=1
2016-02-04 00:52:49 +00:00
noarch=yes
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 00:52:49 +00:00
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
license="3-clause-BSD"
2016-02-04 00:52:49 +00:00
homepage="http://www.cherrypy.org"
distfiles="${PYPI_SITE}/C/CherryPy/CherryPy-${version}.tar.gz"
2016-06-25 06:56:11 +00:00
checksum=3fce23f451c89948c585fbf4f7122f6fb688f33abcc738b781ca0d9bb794e2c5
2016-04-30 23:10:15 +00:00
alternatives="cherrypy:cherryd:/usr/bin/cherryd2.7"
2016-02-04 00:52:49 +00:00
post_install() {
vlicense cherrypy/LICENSE.txt
}
python3.4-CherryPy_package() {
noarch=yes
depends="python3.4"
pycompile_version="3.4"
pycompile_module="cherrypy"
short_desc="${short_desc/Python2/Python3.4}"
2016-04-30 23:10:15 +00:00
alternatives="cherrypy:cherryd:/usr/bin/cherryd3.4"
pkg_install() {
vmove usr/bin/cherryd3.4
vmove usr/lib/python3.4
vlicense cherrypy/LICENSE.txt
}
2016-02-04 00:52:49 +00:00
}