Date: Tuesday, March 21, 2023 @ 02:14:51
Author: felixonmars
Revision: 1424568
archrelease: copy trunk to community-any
Added:
python-pytest-asyncio/repos/community-any/PKGBUILD
(from rev 1424567, 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 2023-03-21 02:14:41 UTC (rev 1424567)
+++ PKGBUILD 2023-03-21 02:14:51 UTC (rev 1424568)
@@ -1,34 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-pytest-asyncio
-pkgver=0.20.3
-_commit=007e8ec12662ffd896c6151239dc7ed1402dc710
-pkgrel=2
-pkgdesc="Pytest support for asyncio."
-arch=('any')
-license=('Apache')
-url="https://github.com/pytest-dev/pytest-asyncio/"
-depends=('python-pytest')
-makedepends=('git' 'python-build' 'python-installer' 'python-setuptools-scm'
'python-wheel')
-checkdepends=('python-flaky' 'python-hypothesis' 'python-pytest-trio')
-source=("git+https://github.com/pytest-dev/pytest-asyncio.git#commit=$_commit")
-sha512sums=('SKIP')
-
-build() {
- cd pytest-asyncio
- python -m build -wn
-}
-
-check() {
- # Hack entry points by installing it
-
- cd pytest-asyncio
- python -m installer --destdir=tmp_install dist/*.whl
- local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
- PYTHONPATH="$PWD/tmp_install/$site_packages:$PYTHONPATH:$PWD/tests" pytest
-}
-
-package() {
- cd pytest-asyncio
- python -m installer --destdir="$pkgdir" dist/*.whl
-}
Copied: python-pytest-asyncio/repos/community-any/PKGBUILD (from rev 1424567,
python-pytest-asyncio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-03-21 02:14:51 UTC (rev 1424568)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-pytest-asyncio
+pkgver=0.21.0
+_commit=75dcceafcea94b8c286b8cba1b00ddec2593261f
+pkgrel=1
+pkgdesc="Pytest support for asyncio."
+arch=('any')
+license=('Apache')
+url="https://github.com/pytest-dev/pytest-asyncio/"
+depends=('python-pytest')
+makedepends=('git' 'python-build' 'python-installer' 'python-setuptools-scm'
'python-wheel')
+checkdepends=('python-flaky' 'python-hypothesis' 'python-pytest-trio')
+source=("git+https://github.com/pytest-dev/pytest-asyncio.git#commit=$_commit")
+sha512sums=('SKIP')
+
+build() {
+ cd pytest-asyncio
+ python -m build -wn
+}
+
+check() {
+ # Hack entry points by installing it
+
+ cd pytest-asyncio
+ python -m installer --destdir=tmp_install dist/*.whl
+ local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
+ PYTHONPATH="$PWD/tmp_install/$site_packages:$PYTHONPATH:$PWD/tests" pytest
+}
+
+package() {
+ cd pytest-asyncio
+ python -m installer --destdir="$pkgdir" dist/*.whl
+}