1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
6 pkgdesc='A friendly Python library for async concurrency and I/O'
8 url=https://github.com/python-trio/trio
12 python-async_generator
18 python-sortedcontainers
24 provides=(python-multio-provider)
25 _tag=87ea87018da2085180138bd952abcac67961be62
26 source=(git+https://github.com/python-trio/trio.git#tag=${_tag})
31 _version=$(git describe --tags | sed 's/^v//')
32 echo "__version__ = '${_version}'" > trio/_version.py
43 python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
44 install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-trio/