mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-03 03:13:03 +02:00
python-Cheroot: unbreak
See https://github.com/cherrypy/cheroot/blob/master/CHANGES.rst#v630.
This commit is contained in:
parent
b66bc94a11
commit
01046d72cf
1 changed files with 7 additions and 3 deletions
|
@ -1,19 +1,21 @@
|
||||||
# Template file for 'python-Cheroot'
|
# Template file for 'python-Cheroot'
|
||||||
pkgname=python-Cheroot
|
pkgname=python-Cheroot
|
||||||
version=6.3.1
|
version=6.3.1
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="cheroot-${version}"
|
wrksrc="cheroot-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="cheroot"
|
pycompile_module="cheroot"
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python-six python-more-itertools python-backports.functools_lru_cache"
|
depends="python-setuptools python-six python-more-itertools
|
||||||
|
python-backports.functools_lru_cache"
|
||||||
short_desc="High-performance, pure-Python HTTP server (Python2)"
|
short_desc="High-performance, pure-Python HTTP server (Python2)"
|
||||||
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="https://github.com/cherrypy/cheroot"
|
homepage="https://github.com/cherrypy/cheroot"
|
||||||
distfiles="${PYPI_SITE}/c/cheroot/cheroot-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/c/cheroot/cheroot-${version}.tar.gz"
|
||||||
checksum=e83ecc6bd473c340a10adac19cc69c65607638fa3e8b37cf0b26b6fdf4db4994
|
checksum=e83ecc6bd473c340a10adac19cc69c65607638fa3e8b37cf0b26b6fdf4db4994
|
||||||
|
alternatives="cheroot:cheroot:/usr/bin/cheroot2"
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
sed -i setup.py \
|
sed -i setup.py \
|
||||||
|
@ -27,9 +29,11 @@ post_install() {
|
||||||
python3-Cheroot_package() {
|
python3-Cheroot_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
pycompile_module="cheroot"
|
pycompile_module="cheroot"
|
||||||
depends="python3-six python3-more-itertools"
|
depends="python3-setuptools python3-six python3-more-itertools"
|
||||||
|
alternatives="cheroot:cheroot:/usr/bin/cheroot3"
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
vmove usr/bin/*3
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
vlicense LICENSE.md
|
vlicense LICENSE.md
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue