python-gntp: update to 1.0.3
- noarch=yes - add missing pycompile_module
This commit is contained in:
parent
0f031b7e94
commit
31640ab74e
1 changed files with 19 additions and 8 deletions
|
@ -1,24 +1,35 @@
|
||||||
pkgname="python-gntp"
|
# Template file for 'python-gntp'
|
||||||
version=1.0.2
|
pkgname=python-gntp
|
||||||
revision=2
|
version=1.0.3
|
||||||
|
revision=1
|
||||||
|
noarch=yes
|
||||||
wrksrc="gntp-${version}"
|
wrksrc="gntp-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
python_versions="2.7 3.4"
|
||||||
|
pycompile_module="gntp"
|
||||||
hostmakedepends="python-devel python3.4-devel"
|
hostmakedepends="python-devel python3.4-devel"
|
||||||
makedepends="${hostmakedepends}"
|
|
||||||
depends="python"
|
depends="python"
|
||||||
maintainer="Dominik Honnef <dominik@honnef.co>"
|
maintainer="Dominik Honnef <dominik@honnef.co>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/kfdm/gntp"
|
homepage="https://github.com/kfdm/gntp"
|
||||||
short_desc="A Python library for working with the Growl Notification Transport Protocol"
|
short_desc="Python2 library for the Growl Notification Transport Protocol"
|
||||||
distfiles="https://github.com/kfdm/gntp/archive/v1.0.2.tar.gz"
|
distfiles="https://github.com/kfdm/gntp/archive/v${version}.tar.gz"
|
||||||
checksum=c767142d0fd9540da84b34c7334da05f5c313e77a428be0e0412e62309c7d899
|
checksum=e9fde29e5ec37dfb77a7659018a7c7f65cb1411054c864eae137ce3d008f794f
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vbin build-3.4/scripts-3.4/gntp gntp3.4
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
python3.4-gntp_package() {
|
python3.4-gntp_package() {
|
||||||
short_desc="${short_desc//Python/Python3.4/}"
|
noarch=yes
|
||||||
depends="python3.4"
|
depends="python3.4"
|
||||||
pycompile_version="3.4"
|
pycompile_version="3.4"
|
||||||
|
pycompile_module="gntp"
|
||||||
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
vmove usr/bin/gntp3.4
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3.4
|
||||||
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue