mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 23:23:51 +02:00
python-gntp: use alternatives
This commit is contained in:
parent
7b78b10f58
commit
27de4b8ee6
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python-gntp'
|
# Template file for 'python-gntp'
|
||||||
pkgname=python-gntp
|
pkgname=python-gntp
|
||||||
version=1.0.3
|
version=1.0.3
|
||||||
revision=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="gntp-${version}"
|
wrksrc="gntp-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
|
@ -15,9 +15,9 @@ homepage="https://github.com/kfdm/gntp"
|
||||||
short_desc="Python2 library for the Growl Notification Transport Protocol"
|
short_desc="Python2 library for the Growl Notification Transport Protocol"
|
||||||
distfiles="https://github.com/kfdm/gntp/archive/v${version}.tar.gz"
|
distfiles="https://github.com/kfdm/gntp/archive/v${version}.tar.gz"
|
||||||
checksum=e9fde29e5ec37dfb77a7659018a7c7f65cb1411054c864eae137ce3d008f794f
|
checksum=e9fde29e5ec37dfb77a7659018a7c7f65cb1411054c864eae137ce3d008f794f
|
||||||
|
alternatives="gntp:gntp:/usr/bin/gntp2.7"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vbin build-3.4/scripts-3.4/gntp gntp3.4
|
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -27,6 +27,7 @@ python3.4-gntp_package() {
|
||||||
pycompile_version="3.4"
|
pycompile_version="3.4"
|
||||||
pycompile_module="gntp"
|
pycompile_module="gntp"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
|
alternatives="gntp:gntp:/usr/bin/gntp3.4"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/gntp3.4
|
vmove usr/bin/gntp3.4
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3.4
|
||||||
|
|
Loading…
Add table
Reference in a new issue