mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
33 lines
1,001 B
Text
33 lines
1,001 B
Text
# Contributor: Antoine Fontaine <antoine.fontaine@epfl.ch>
|
|
# Maintainer:
|
|
pkgname=py3-janus
|
|
pkgver=1.0.0
|
|
pkgrel=0
|
|
pkgdesc="Mixed sync-async queue to interoperate between asyncio tasks and classic threads"
|
|
url="https://github.com/aio-libs/janus/"
|
|
arch="noarch"
|
|
license="Apache-2.0"
|
|
depends="python3"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest py3-pytest-asyncio py3-pytest-regtest"
|
|
source="https://files.pythonhosted.org/packages/source/j/janus/janus-$pkgver.tar.gz
|
|
no-typing-extensions.patch
|
|
"
|
|
builddir="$srcdir/janus-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 -m pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
d66899adad12cc1100a20cb75d8e146321ef947bde996a07490158a5f34c39421bb1a5b08ac87679264a6bee1d3dc9f425fa29d52199626d322fe4462ed8f1f3 janus-1.0.0.tar.gz
|
|
53723d86b73fe8dc135aa5e462fb00c1824ce0dbeacef449a38891860e5fb2058bbe31f5d7f1c1534b51fe6d08498d418a549e30508fffa0418be78c6910e547 no-typing-extensions.patch
|
|
"
|