32 lines
853 B
Bash
32 lines
853 B
Bash
# Template file for 'python3-slixmpp'
|
|
pkgname=python3-slixmpp
|
|
version=1.4.2
|
|
revision=2
|
|
wrksrc="slixmpp-${version}"
|
|
build_style=python3-module
|
|
pycompile_module="slixmpp"
|
|
hostmakedepends="pkg-config python3-setuptools python3-Cython"
|
|
makedepends="python3-devel libidn-devel"
|
|
depends="python3-aiodns python3-pyasn1 python3-pyasn1-modules python3-aiohttp"
|
|
checkdepends="python3-pytest gnupg"
|
|
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=c3204fbe8ded148e1eca6720ba0398298c159f29ec76dfc6f7dd7ed999ae1767
|
|
|
|
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
|
|
}
|