mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 18:02:57 +02:00
New package: python-Cheroot-5.4.0
This commit is contained in:
parent
0c6d0f49c5
commit
973cd4df45
2 changed files with 30 additions and 0 deletions
29
srcpkgs/python-Cheroot/template
Normal file
29
srcpkgs/python-Cheroot/template
Normal file
|
@ -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
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3-Cheroot
Symbolic link
1
srcpkgs/python3-Cheroot
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-Cheroot
|
Loading…
Add table
Reference in a new issue