Date: Tuesday, September 6, 2022 @ 11:53:38 Author: alucryd Revision: 1294424
archrelease: copy trunk to community-any Added: python-aiofiles/repos/community-any/PKGBUILD (from rev 1294423, python-aiofiles/trunk/PKGBUILD) Deleted: python-aiofiles/repos/community-any/PKGBUILD ----------+ PKGBUILD | 97 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 49 insertions(+), 48 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-09-06 11:53:28 UTC (rev 1294423) +++ PKGBUILD 2022-09-06 11:53:38 UTC (rev 1294424) @@ -1,48 +0,0 @@ -# Maintainer: Maxime Gauduin <aluc...@archlinux.org> -# Contributor: cclin <ccli...@outlook.com> - -pkgname=python-aiofiles -pkgver=0.8.0 -pkgrel=2 -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 - SETUPTOOLS_USE_DISTUTILS=stdlib \ - 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: Copied: python-aiofiles/repos/community-any/PKGBUILD (from rev 1294423, python-aiofiles/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-09-06 11:53:38 UTC (rev 1294424) @@ -0,0 +1,49 @@ +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> +# Contributor: cclin <ccli...@outlook.com> + +pkgname=python-aiofiles +pkgver=22.1.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-setuptools + python-tox +) +_tag=9d697f5857b5e49bad485212d9d81917ce65b607 +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 + SETUPTOOLS_USE_DISTUTILS=stdlib \ + 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: