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=py3-aioxmpp
|
||||||
_pkgname=aioxmpp
|
_pkgname=aioxmpp
|
||||||
pkgver=0.13.3
|
pkgver=0.13.3
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc="An XMPP library in pure Python and using asyncio."
|
pkgdesc="An XMPP library in pure Python and using asyncio."
|
||||||
url="https://pypi.org/project/aioxmpp/"
|
url="https://pypi.org/project/aioxmpp/"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
@ -23,18 +23,21 @@ py3-sortedcontainers
|
|||||||
py3-tzlocal
|
py3-tzlocal
|
||||||
python3
|
python3
|
||||||
"
|
"
|
||||||
makedepends="py3-setuptools"
|
makedepends="py3-setuptools py3-gpep517"
|
||||||
source="https://files.pythonhosted.org/packages/source/a/aioxmpp/aioxmpp-$pkgver.tar.gz"
|
source="https://files.pythonhosted.org/packages/source/a/aioxmpp/aioxmpp-$pkgver.tar.gz"
|
||||||
subpackages="$pkgname-doc $pkgname-pyc"
|
subpackages="$pkgname-doc $pkgname-pyc"
|
||||||
builddir="$srcdir/$_pkgname-$pkgver"
|
builddir="$srcdir/$_pkgname-$pkgver"
|
||||||
options="!check" # tests not included in source package.
|
options="!check" # tests not included in source package.
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
python3 setup.py build
|
gpep517 build-wheel \
|
||||||
|
--wheel-dir .dist \
|
||||||
|
--output-fd 3 3>&1 >&2
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
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 \
|
install -Dm644 COPYING.LESSER COPYING.gpl3 LICENSES README.rst \
|
||||||
-t "$pkgdir"/usr/share/licenses/$pkgname
|
-t "$pkgdir"/usr/share/licenses/$pkgname
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user