python-Cheroot: update to 6.5.6.
- adopt package
This commit is contained in:
parent
aefb27adcb
commit
b041e1a355
1 changed files with 6 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'python-Cheroot'
|
# Template file for 'python-Cheroot'
|
||||||
pkgname=python-Cheroot
|
pkgname=python-Cheroot
|
||||||
version=6.5.4
|
version=6.5.6
|
||||||
revision=1
|
revision=1
|
||||||
archs=noarch
|
archs=noarch
|
||||||
wrksrc="cheroot-${version}"
|
wrksrc="cheroot-${version}"
|
||||||
|
@ -10,18 +10,17 @@ hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python-setuptools python-six python-more-itertools
|
depends="python-setuptools python-six python-more-itertools
|
||||||
python-backports.functools_lru_cache"
|
python-backports.functools_lru_cache"
|
||||||
short_desc="High-performance, pure-Python HTTP server (Python2)"
|
short_desc="High-performance, pure-Python HTTP server (Python2)"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="bra1nwave <brainwave@openmailbox.org>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="https://github.com/cherrypy/cheroot"
|
homepage="https://github.com/cherrypy/cheroot"
|
||||||
changelog="https://github.com/cherrypy/cheroot/blob/master/CHANGES.rst"
|
changelog="https://github.com/cherrypy/cheroot/blob/master/CHANGES.rst"
|
||||||
distfiles="${PYPI_SITE}/c/cheroot/cheroot-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/c/cheroot/cheroot-${version}.tar.gz"
|
||||||
checksum=beb8eb9eeff5746059607e81b72efd6f4ca099111dc13f8961ae9e4f63f7786b
|
checksum=b824f9961eb447809badeb051820a05770354e2f9ae5c355eecc21f22633c217
|
||||||
alternatives="cheroot:cheroot:/usr/bin/cheroot2"
|
alternatives="cheroot:cheroot:/usr/bin/cheroot2"
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
sed -i setup.cfg \
|
vsed -i setup.cfg \
|
||||||
-e '/setuptools_scm/d' \
|
-e '/setuptools_scm/d' \
|
||||||
-e '/setuptools_scm_git_archive/d' \
|
|
||||||
-e '/use_scm_version/d' \
|
-e '/use_scm_version/d' \
|
||||||
-e '/backports.*/s/$/;python_version<"3.4"/' \
|
-e '/backports.*/s/$/;python_version<"3.4"/' \
|
||||||
-e "/name = /a\
|
-e "/name = /a\
|
||||||
|
@ -39,8 +38,8 @@ python3-Cheroot_package() {
|
||||||
alternatives="cheroot:cheroot:/usr/bin/cheroot3"
|
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/bin/*3"
|
||||||
vmove usr/lib/python3*
|
vmove "usr/lib/python3*"
|
||||||
vlicense LICENSE.md
|
vlicense LICENSE.md
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue