Date: Wednesday, June 29, 2022 @ 13:18:06 Author: felixonmars Revision: 1240364
archrelease: copy trunk to community-any Added: python-pytest-asyncio/repos/community-any/PKGBUILD (from rev 1240363, python-pytest-asyncio/trunk/PKGBUILD) Deleted: python-pytest-asyncio/repos/community-any/PKGBUILD ----------+ PKGBUILD | 68 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-06-29 13:17:53 UTC (rev 1240363) +++ PKGBUILD 2022-06-29 13:18:06 UTC (rev 1240364) @@ -1,34 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-pytest-asyncio -pkgver=0.18.1 -pkgrel=1 -pkgdesc="Pytest support for asyncio." -arch=('any') -license=('Apache') -url="https://github.com/pytest-dev/pytest-asyncio/" -depends=('python-pytest') -makedepends=('python-setuptools-scm') -checkdepends=('python-flaky' 'python-hypothesis') -source=("https://github.com/pytest-dev/pytest-asyncio/archive/v$pkgver/$pkgname-$pkgver.tar.gz") -sha512sums=('94514bd064c703ab056e2bd0009c2c1c9590f07daccc7bf3d58a4b88e6af102a9d1b0ccbe3bc2be36def706ffe2c8082c5f470dd12bedff2c2afe801dfacbc53') - -export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver - -build() { - cd pytest-asyncio-$pkgver - python setup.py build -} - -check() { - # Hack entry points by installing it - - cd pytest-asyncio-$pkgver - python setup.py install --root="$PWD/tmp_install" --optimize=1 - PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH:$PWD/tests" py.test -} - -package() { - cd pytest-asyncio-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 -} Copied: python-pytest-asyncio/repos/community-any/PKGBUILD (from rev 1240363, python-pytest-asyncio/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-06-29 13:18:06 UTC (rev 1240364) @@ -0,0 +1,34 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-pytest-asyncio +pkgver=0.18.2 +pkgrel=1 +pkgdesc="Pytest support for asyncio." +arch=('any') +license=('Apache') +url="https://github.com/pytest-dev/pytest-asyncio/" +depends=('python-pytest') +makedepends=('python-setuptools-scm') +checkdepends=('python-flaky' 'python-hypothesis') +source=("https://github.com/pytest-dev/pytest-asyncio/archive/v$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('377d219e731ac97a69e143c2de2e327f7293baf4af4bf370cb84dde4f94f705e315bf6deaea4b7d8c1d6cbc54ed753e15ccc0b21a0cef6c3397a560aae684f9e') + +export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver + +build() { + cd pytest-asyncio-$pkgver + python setup.py build +} + +check() { + # Hack entry points by installing it + + cd pytest-asyncio-$pkgver + python setup.py install --root="$PWD/tmp_install" --optimize=1 + PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH:$PWD/tests" py.test +} + +package() { + cd pytest-asyncio-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +}