mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
testing/py3-aioxmpp: build with gpep517
This commit is contained in:
parent
c308f4396f
commit
0db10563f5
@ -3,7 +3,7 @@
|
||||
pkgname=py3-aioxmpp
|
||||
_pkgname=aioxmpp
|
||||
pkgver=0.13.3
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="An XMPP library in pure Python and using asyncio."
|
||||
url="https://pypi.org/project/aioxmpp/"
|
||||
arch="noarch"
|
||||
@ -23,18 +23,21 @@ py3-sortedcontainers
|
||||
py3-tzlocal
|
||||
python3
|
||||
"
|
||||
makedepends="py3-setuptools"
|
||||
makedepends="py3-setuptools py3-gpep517"
|
||||
source="https://files.pythonhosted.org/packages/source/a/aioxmpp/aioxmpp-$pkgver.tar.gz"
|
||||
subpackages="$pkgname-doc $pkgname-pyc"
|
||||
builddir="$srcdir/$_pkgname-$pkgver"
|
||||
options="!check" # tests not included in source package.
|
||||
|
||||
build() {
|
||||
python3 setup.py build
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir .dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 setup.py install --skip-build --root="$pkgdir"
|
||||
gpep517 install-wheel --destdir "$pkgdir" \
|
||||
.dist/*.whl
|
||||
install -Dm644 COPYING.LESSER COPYING.gpl3 LICENSES README.rst \
|
||||
-t "$pkgdir"/usr/share/licenses/$pkgname
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user