1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-17 14:05:25 +03:00
aports/testing/py3-aioxmpp/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

44 lines
1.1 KiB
Text

# Contributor: Sam Whited <sam@samwhited.com>
# Maintainer: Sam Whited <sam@samwhited.com>
pkgname=py3-aioxmpp
_pkgname=aioxmpp
pkgver=0.13.2
pkgrel=1
pkgdesc="An XMPP library in pure Python and using asyncio."
url="https://pypi.org/project/aioxmpp/"
arch="all"
license="LGPL-3.0-only"
depends="
py3-aioopenssl
py3-aiosasl
py3-asn1
py3-asn1-modules
py3-babel
py3-dnspython
py3-lxml
py3-multidict
py3-openssl
py3-sortedcollections
py3-sortedcontainers
py3-tzlocal
python3
"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
subpackages="$pkgname-doc"
builddir="$srcdir/$_pkgname-$pkgver"
options="!check" # tests not included in source package.
build() {
python3 setup.py build
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
install -Dm644 COPYING.LESSER COPYING.gpl3 LICENSES README.rst \
-t "$pkgdir"/usr/share/licenses/$pkgname
}
sha512sums="
24421edb211088b286c37593747032c9b8f1a9f9c31e555f3470d4e40844fe6c83f459f68bca0a8b5b90cbb71a6ce73ee121af4c1e11dc0492763d92c57d58c4 aioxmpp-0.13.2.tar.gz
"