python3-CherryPy: add python3-setuptools_scm to hostmakedepends
This commit is contained in:
parent
93bd5b359c
commit
f2a4b0db96
@ -1,12 +1,12 @@
|
|||||||
# Template file for 'python3-CherryPy'
|
# Template file for 'python3-CherryPy'
|
||||||
pkgname=python3-CherryPy
|
pkgname=python3-CherryPy
|
||||||
version=18.6.0
|
version=18.6.0
|
||||||
revision=2
|
revision=3
|
||||||
wrksrc="CherryPy-${version}"
|
wrksrc="CherryPy-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools_scm"
|
||||||
depends="python3-setuptools python3-Cheroot python3-portend python3-zc.lockfile
|
depends="python3-setuptools python3-Cheroot python3-portend
|
||||||
python3-jaraco.collections"
|
python3-zc.lockfile python3-jaraco.collections"
|
||||||
short_desc="Object-oriented HTTP framework (Python3)"
|
short_desc="Object-oriented HTTP framework (Python3)"
|
||||||
maintainer="bra1nwave <bra1nwave@protonmail.com>"
|
maintainer="bra1nwave <bra1nwave@protonmail.com>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
@ -16,12 +16,6 @@ distfiles="${PYPI_SITE}/C/CherryPy/CherryPy-${version}.tar.gz"
|
|||||||
checksum=56608edd831ad00991ae585625e0206ed61cf1a0850e4b2cc48489fb2308c499
|
checksum=56608edd831ad00991ae585625e0206ed61cf1a0850e4b2cc48489fb2308c499
|
||||||
alternatives="cherrypy:cherryd:/usr/bin/cherryd3"
|
alternatives="cherrypy:cherryd:/usr/bin/cherryd3"
|
||||||
|
|
||||||
pre_build() {
|
|
||||||
vsed -i setup.py \
|
|
||||||
-e '/setuptools_scm/d' \
|
|
||||||
-e "s|use_scm_version=True|version='${version}'|"
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
mv ${DESTDIR}/usr/bin/cherryd{,3}
|
mv ${DESTDIR}/usr/bin/cherryd{,3}
|
||||||
vlicense LICENSE.md
|
vlicense LICENSE.md
|
||||||
|
Loading…
x
Reference in New Issue
Block a user