void-packages/srcpkgs/python-nbxmpp/template

28 lines
840 B
Bash

# Template file for 'python-nbxmpp'
pkgname=python-nbxmpp
version=0.6.10
revision=2
archs=noarch
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
pycompile_module="nbxmpp"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-openssl"
short_desc="Non blocking Jabber/XMPP module (Python2)"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://python-nbxmpp.gajim.org/"
#changelog="https://dev.gajim.org/gajim/python-nbxmpp/raw/master/ChangeLog"
distfiles="${PYPI_SITE}/n/nbxmpp/nbxmpp-${version}.tar.gz"
checksum=cd73417777e4847fdd8d0d96c7cafc606952edbd2b9d52a2a72bb2aaa04d08ef
python3-nbxmpp_package() {
archs=noarch
depends="python3-openssl"
pycompile_module="nbxmpp"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove "usr/lib/python${py3_ver}"
}
}