mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
python-CherryPy: use alternatives
This commit is contained in:
parent
15d7c579f1
commit
9e9dafffdd
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python-CherryPy'
|
# Template file for 'python-CherryPy'
|
||||||
pkgname=python-CherryPy
|
pkgname=python-CherryPy
|
||||||
version=5.1.0
|
version=5.1.0
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="CherryPy-${version}"
|
wrksrc="CherryPy-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
|
@ -15,10 +15,10 @@ license="3-clause-BSD"
|
||||||
homepage="http://www.cherrypy.org"
|
homepage="http://www.cherrypy.org"
|
||||||
distfiles="${PYPI_SITE}/C/CherryPy/CherryPy-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/C/CherryPy/CherryPy-${version}.tar.gz"
|
||||||
checksum=5fccc9ad3bf9a1df83bbb934772f34f42571421bdd75f90f74c170b6c0ef13b1
|
checksum=5fccc9ad3bf9a1df83bbb934772f34f42571421bdd75f90f74c170b6c0ef13b1
|
||||||
|
alternatives="cherrypy:cherryd:/usr/bin/cherryd2.7"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense cherrypy/LICENSE.txt
|
vlicense cherrypy/LICENSE.txt
|
||||||
vbin build-3.4/scripts-3.4/cherryd cherryd3.4
|
|
||||||
}
|
}
|
||||||
|
|
||||||
python3.4-CherryPy_package() {
|
python3.4-CherryPy_package() {
|
||||||
|
@ -27,6 +27,7 @@ python3.4-CherryPy_package() {
|
||||||
pycompile_version="3.4"
|
pycompile_version="3.4"
|
||||||
pycompile_module="cherrypy"
|
pycompile_module="cherrypy"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
|
alternatives="cherrypy:cherryd:/usr/bin/cherryd3.4"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/cherryd3.4
|
vmove usr/bin/cherryd3.4
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3.4
|
||||||
|
|
Loading…
Add table
Reference in a new issue