New package: python-Cheroot-5.4.0
This commit is contained in:
parent
0c6d0f49c5
commit
973cd4df45
|
@ -0,0 +1,29 @@
|
|||
# Template file for 'python-Cheroot'
|
||||
pkgname=python-Cheroot
|
||||
version=5.4.0
|
||||
revision=1
|
||||
wrksrc="cheroot-$version"
|
||||
noarch=yes
|
||||
build_style=python-module
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
short_desc="High-performance, pure-Python HTTP server"
|
||||
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
||||
license="BSD"
|
||||
homepage="https://github.com/cherrypy/cheroot"
|
||||
distfiles="${PYPI_SITE}/c/cheroot/cheroot-${version}.tar.gz"
|
||||
checksum=f4b3d2eaa949b8a2f6676e3bca7c68cd358e4aa6bab437362b4bee6781626135
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE.md
|
||||
}
|
||||
|
||||
python3-Cheroot_package() {
|
||||
noarch=yes
|
||||
pycompile_module="cheroot"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
alternatives="cherrypy:cherryd:/usr/bin/cherryd3"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE.md
|
||||
}
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
python-Cheroot
|
Loading…
Reference in New Issue