Date: Thursday, November 3, 2022 @ 18:30:26
  Author: felixonmars
Revision: 1341668

archrelease: copy trunk to community-any

Added:
  python-pytest-xdist/repos/community-any/PKGBUILD
    (from rev 1341667, python-pytest-xdist/trunk/PKGBUILD)
Deleted:
  python-pytest-xdist/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   74 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 37 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-11-03 18:30:13 UTC (rev 1341667)
+++ PKGBUILD    2022-11-03 18:30:26 UTC (rev 1341668)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-pytest-xdist
-pkgver=3.0.1
-pkgrel=1
-pkgdesc='py.test xdist plugin for distributed testing and loop-on-failing 
modes'
-arch=('any')
-license=('MIT')
-url='https://github.com/pytest-dev/pytest-xdist'
-depends=('python-execnet' 'python-pytest')
-makedepends=('python-setuptools-scm')
-checkdepends=('python-filelock' 'python-psutil')
-source=("https://github.com/pytest-dev/pytest-xdist/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('ae5ee63c6921513fb58453140200a61091f7d0d9a339d118103bd69114a3ff8d43397955e30e91bb96e809c94f78dcdba09080a10b35564b4edebb61542bd87f')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
-  cd pytest-xdist-$pkgver
-  python setup.py build
-}
-
-check() {
-  # Hack entry points by installing it
-
-  cd pytest-xdist-$pkgver
-  python setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH" 
pytest
-}
-
-package() {
-  cd pytest-xdist-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-pytest-xdist/repos/community-any/PKGBUILD (from rev 1341667, 
python-pytest-xdist/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-11-03 18:30:26 UTC (rev 1341668)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-pytest-xdist
+pkgver=3.0.2
+pkgrel=1
+pkgdesc='py.test xdist plugin for distributed testing and loop-on-failing 
modes'
+arch=('any')
+license=('MIT')
+url='https://github.com/pytest-dev/pytest-xdist'
+depends=('python-execnet' 'python-pytest')
+makedepends=('python-build' 'python-installer' 'python-setuptools-scm' 
'python-wheel')
+checkdepends=('python-filelock' 'python-psutil')
+source=("https://github.com/pytest-dev/pytest-xdist/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('fcbc8a6e176e6c7a5523718ce9ab5129f87b0eda5a8e1b818c28f24ae83089d3d5097c8ad7d3a52219a8d2cc7f917b9569dac51712552d463fe920f8eeb867d4')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+  cd pytest-xdist-$pkgver
+  python -m build -nw
+}
+
+check() {
+  # Hack entry points by installing it
+
+  cd pytest-xdist-$pkgver
+  python -m installer -d "$PWD/tmp_install" dist/*.whl
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH" 
pytest
+}
+
+package() {
+  cd pytest-xdist-$pkgver
+  python -m installer -d "$pkgdir" dist/*.whl
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
+
+# vim:set ts=2 sw=2 et:

Reply via email to