Alexander Baldeck 257c394be0 * updates & rebuilds for:
* Python 3.10
  * Protobuf 3.19
  * ICU 70.1
  * boost 1.78.0
  * FFMPEG 5.0
2022-01-31 17:18:05 +01:00

49 lines
999 B
Bash

# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: cclin <cclinet@outlook.com>
pkgname=python-aiofiles
pkgver=0.8.0
pkgrel=1
pkgdesc='File support for asyncio'
arch=(any)
license=(APACHE)
url=https://github.com/Tinche/aiofiles
makedepends=(
git
python-pip
python-poetry
)
checkdepends=(
python-coverage
python-pytest-asyncio
python-pytest
python-pytest-cov
python-tox
)
_tag=d010ff4d789598213334a32ec3d3f55caaab766c
source=(git+https://github.com/Tinche/aiofiles.git#tag=${_tag})
sha256sums=(SKIP)
pkgver() {
cd aiofiles
git describe --tags | sed 's/^v//'
}
build() {
cd aiofiles
poetry build --format wheel
}
check() {
cd aiofiles
tox -e py310
}
package() {
PIP_CONFIG_FILE=/dev/null pip install --isolated --root="${pkgdir}" --ignore-installed --no-deps aiofiles/dist/*.whl
install -Dm 644 aiofiles/LICENSE -t "${pkgdir}"/usr/share/licenses/python-aiofiles/
}
# vim: ts=2 sw=2 et: