python-gntp: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
d3cfed7424
commit
2794e3c459
@ -1,13 +1,12 @@
|
|||||||
# 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=2
|
revision=3
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="gntp-${version}"
|
wrksrc="gntp-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
|
||||||
pycompile_module="gntp"
|
pycompile_module="gntp"
|
||||||
hostmakedepends="python-devel python3.4-devel"
|
hostmakedepends="python-devel python3-devel"
|
||||||
depends="python"
|
depends="python"
|
||||||
maintainer="Dominik Honnef <dominik@honnef.co>"
|
maintainer="Dominik Honnef <dominik@honnef.co>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
@ -15,22 +14,28 @@ 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"
|
alternatives="gntp:gntp:/usr/bin/gntp2"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
python3.4-gntp_package() {
|
python3-gntp_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3.4"
|
depends="python3"
|
||||||
pycompile_version="3.4"
|
|
||||||
pycompile_module="gntp"
|
pycompile_module="gntp"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
replaces="python3.4-gntp>=0"
|
||||||
alternatives="gntp:gntp:/usr/bin/gntp3.4"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
alternatives="gntp:gntp:/usr/bin/gntp3"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/gntp3.4
|
vmove usr/bin/gntp3
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3*
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3.4-gntp_package() {
|
||||||
|
noarch=yes
|
||||||
|
build_style=meta
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
|
depends="python3-gntp>=${version}_${revision}"
|
||||||
|
}
|
||||||
|
1
srcpkgs/python3-gntp
Symbolic link
1
srcpkgs/python3-gntp
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
python-gntp
|
Loading…
x
Reference in New Issue
Block a user