35 lines
901 B
Bash
35 lines
901 B
Bash
# Template file for 'python-gntp'
|
|
pkgname=python-gntp
|
|
version=1.0.3
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="gntp-${version}"
|
|
build_style=python-module
|
|
python_versions="2.7 3.4"
|
|
pycompile_module="gntp"
|
|
hostmakedepends="python-devel python3.4-devel"
|
|
depends="python"
|
|
maintainer="Dominik Honnef <dominik@honnef.co>"
|
|
license="MIT"
|
|
homepage="https://github.com/kfdm/gntp"
|
|
short_desc="Python2 library for the Growl Notification Transport Protocol"
|
|
distfiles="https://github.com/kfdm/gntp/archive/v${version}.tar.gz"
|
|
checksum=e9fde29e5ec37dfb77a7659018a7c7f65cb1411054c864eae137ce3d008f794f
|
|
|
|
post_install() {
|
|
vbin build-3.4/scripts-3.4/gntp gntp3.4
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3.4-gntp_package() {
|
|
noarch=yes
|
|
depends="python3.4"
|
|
pycompile_version="3.4"
|
|
pycompile_module="gntp"
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
pkg_install() {
|
|
vmove usr/bin/gntp3.4
|
|
vmove usr/lib/python3.4
|
|
vlicense LICENSE
|
|
}
|
|
}
|