Date: Thursday, October 27, 2022 @ 01:04:53
Author: felixonmars
Revision: 1338012
archrelease: copy trunk to community-any
Added:
python-pytest-xdist/repos/community-any/PKGBUILD
(from rev 1338011, python-pytest-xdist/trunk/PKGBUILD)
Deleted:
python-pytest-xdist/repos/community-any/PKGBUILD
----------+
PKGBUILD | 75 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 37 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-10-27 01:04:45 UTC (rev 1338011)
+++ PKGBUILD 2022-10-27 01:04:53 UTC (rev 1338012)
@@ -1,38 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-pytest-xdist
-pkgver=2.5.0
-pkgrel=2
-pkgdesc='py.test xdist plugin for distributed testing and loop-on-failing
modes'
-arch=('any')
-license=('MIT')
-url='https://bitbucket.org/pytest-dev/pytest-xdist'
-depends=('python-execnet' 'python-psutil' 'python-pytest-forked')
-makedepends=('python-setuptools-scm')
-checkdepends=('python-filelock')
-source=("https://github.com/pytest-dev/pytest-xdist/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('41f71b18e294909f2f03ecd61cba4209249a0ec77cdfb57d5fe42efd3011057e6aa70e9d629cd274e54bdaa4206c7d640c782c9e231163c70718f9972c33af90')
-
-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 \
- --deselect
testing/acceptance_test.py::TestWarnings::test_warning_captured_deprecated_in_pytest_6
-}
-
-package() {
- cd pytest-xdist-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-pytest-xdist/repos/community-any/PKGBUILD (from rev 1338011,
python-pytest-xdist/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-10-27 01:04:53 UTC (rev 1338012)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-pytest-xdist
+pkgver=3.0.0
+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=('1bc4fc700d78fc1097c7eb5dc8f0e1745de2610ab1cca3b74b78b06ecacc430aec86f5afa609e6d578f4b0fe3d6119e08c624c80093699b82706c5caea7be74f')
+
+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/s
+}
+
+# vim:set ts=2 sw=2 et: