void-packages/srcpkgs/python3-slixmpp/template

30 lines
828 B
Bash

# Template file for 'python3-slixmpp'
pkgname=python3-slixmpp
version=1.8.5
revision=1
build_style=python3-module
hostmakedepends="pkg-config python3-setuptools python3-Cython"
makedepends="python3-devel libidn-devel"
depends="python3-aiodns python3-pyasn1 python3-pyasn1-modules python3-aiohttp python3-cryptography"
checkdepends="python3-pytest gnupg $depends"
short_desc="Elegant Python library for XMPP"
maintainer="Franklin Delehelle <franklin.delehelle@odena.eu>"
license="MIT"
homepage="https://pypi.org/project/slixmpp/"
distfiles="${PYPI_SITE}/s/slixmpp/slixmpp-${version}.tar.gz"
checksum=75e3f0ad48555f7f5c9228e7066c1d4358b33d640b4fbe773ec34b03b7fae9a3
pre_build() {
sed -i "s|os.environ.get('CC', 'cc')|'${CC}'|" setup.py
}
do_check() {
rm -f tests/live_test.py
pytest3
}
post_install() {
vlicense LICENSE
}