Date: Tuesday, May 18, 2021 @ 08:49:01 Author: alucryd Revision: 936237
upgpkg: python-aiofiles 0.7.0-1 Modified: python-aiofiles/trunk/PKGBUILD ----------+ PKGBUILD | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-05-18 08:46:10 UTC (rev 936236) +++ PKGBUILD 2021-05-18 08:49:01 UTC (rev 936237) @@ -2,8 +2,8 @@ # Contributor: cclin <[email protected]> pkgname=python-aiofiles -pkgver=0.6.0 -pkgrel=3 +pkgver=0.7.0 +pkgrel=1 pkgdesc='File support for asyncio' arch=(any) license=(APACHE) @@ -10,7 +10,8 @@ url=https://github.com/Tinche/aiofiles makedepends=( git - python-setuptools + python-pip + python-poetry ) checkdepends=( python-coverage @@ -19,33 +20,28 @@ python-pytest-cov python-tox ) -_tag=b4482aeef5312d4bf0c1abda5892df80957fa01f +_tag=469c1a8b94ccccf25516706c88dde2e69ea45f3c source=(git+https://github.com/Tinche/aiofiles.git#tag=${_tag}) sha256sums=(SKIP) pkgver() { cd aiofiles - git describe --tags | sed 's/^v//' } build() { cd aiofiles - - python setup.py build + poetry build --format wheel } check() { cd aiofiles - tox -e py39 } package() { - cd aiofiles - - python setup.py install --root="${pkgdir}" --optimize=1 --skip-build - install -Dm 644 LICENSE "${pkgdir}"/usr/share/licenses/python-aiofiles + 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:
