void-packages/srcpkgs/python-nbxmpp/template

28 lines
839 B
Bash

# Template file for 'python-nbxmpp'
pkgname=python-nbxmpp
version=0.6.9
revision=1
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=660d796f6d97b30a5e249417abf012ee30a22b9e40817dde05ca9f35c96cc80d
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}"
}
}