1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 03:35:38 +03:00
aports/testing/py3-slixmpp/APKBUILD
2023-01-14 01:37:48 +00:00

32 lines
1 KiB
Text

# Contributor: Sam Whited <sam@samwhited.com>
# Maintainer: Sam Whited <sam@samwhited.com>
pkgname=py3-slixmpp
_pkgname=slixmpp
pkgver=1.8.3
pkgrel=0
pkgdesc="A fork of the SleekXMPP XMPP library for async IO and Python 3.7+."
url="https://slixmpp.readthedocs.io/en/latest/"
arch="all"
license="MIT"
depends="python3 py3-cryptography py3-aiodns py3-aiohttp py3-emoji py3-defusedxml"
makedepends="py3-setuptools python3-dev libidn libidn-dev cython"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
options="!check" # Tests for this version always fail.
# secfixes:
# 1.8.3-r0:
# - CVE-2022-45197
build() {
python3 setup.py build_ext --inplace
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
install -Dm644 LICENSE README.rst -t "$pkgdir"/usr/share/licenses/$pkgname
}
sha512sums="
2d499c106bcb8d86a8522e617d855f5c6aeb5e3e7f3757331baef1bcfa4e81d24ef6a554e760e323ab1b542c168dae4cb99ea56db92f5539542045ac6c8b9c9d slixmpp-1.8.3.tar.gz
"