mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-22 02:35:23 +03:00
34 lines
869 B
Text
34 lines
869 B
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=py3-txaio
|
|
pkgver=23.1.1
|
|
pkgrel=0
|
|
pkgdesc="Compatibility API between asyncio/Twisted/Trollius"
|
|
url="https://github.com/crossbario/txaio"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="
|
|
py3-mock
|
|
py3-pytest
|
|
"
|
|
source="https://pypi.python.org/packages/source/t/txaio/txaio-$pkgver.tar.gz"
|
|
options="!check" # Depends on deprecated and unmaintained trollius package
|
|
builddir="$srcdir/txaio-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
PYTHONPATH="$PWD/build/lib" pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
41320501ec3e2555edc63326f2c5ee9bbc2fd103198a515b6dc4c44603a41d633c99a8f12c92ffc85f43546f0382d40f0c9748b13f7a7e70d98c5c4a2de85e2e txaio-23.1.1.tar.gz
|
|
"
|