void-packages/srcpkgs/python-mygpoclient/template
2017-11-04 15:44:16 +01:00

28 lines
801 B
Bash

# Template file for 'python-mygpoclient'
pkgname=python-mygpoclient
version=1.8
revision=1
noarch=yes
wrksrc="mygpoclient-${version}"
build_style=python-module
pycompile_module="mygpoclient"
hostmakedepends="python-devel python3-devel"
makedepends="python-devel python3-devel"
depends="python"
short_desc="Client Library for gpodder.net (Python2)"
maintainer="bra1nwave <brainwave@openmailbox.org>"
license="GPL-3"
homepage="https://github.com/gpodder/mygpoclient"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=65fcb3ab220a2ba2d32a77f969b423a2f663413b6c485b7b02e5a955b28e68d2
python3-mygpoclient_package() {
short_desc="${short_desc/Python2/Python3}"
pycompile_module="mygpoclient"
noarch=yes
depends="python3"
pkg_install() {
vmove usr/lib/python3*
vmove usr/bin/mygpo-*3
}
}