Date: Friday, January 6, 2023 @ 13:21:06
Author: dvzrv
Revision: 1378603
archrelease: copy trunk to community-any
Added:
python-pytest-xprocess/repos/community-any/PKGBUILD
(from rev 1378602, python-pytest-xprocess/trunk/PKGBUILD)
Deleted:
python-pytest-xprocess/repos/community-any/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-06 13:20:54 UTC (rev 1378602)
+++ PKGBUILD 2023-01-06 13:21:06 UTC (rev 1378603)
@@ -1,40 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-# Contributor: Hugo Osvaldo Barrera <[email protected]>
-# Contributor: Neil Santos <[email protected]>
-
-_name=pytest-xprocess
-pkgname=python-pytest-xprocess
-pkgver=0.21.0
-pkgrel=1
-pkgdesc='Pytest plugin to manage external processes across test runs.'
-arch=(any)
-url="https://github.com/pytest-dev/pytest-xprocess"
-license=(MIT)
-depends=(python-psutil python-py python-pytest)
-makedepends=(python-build python-installer python-setuptools-scm python-wheel)
-source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
-sha512sums=('72f8db45a11cffb65302379c1690ef5ad9d71a1aa40b7fd03e1231f7ad0c0413638f7d2155f5b366d2d623399512759d8ffdac8591eb24b77562f9b1f584ed74')
-b2sums=('c487b6223306c8a96ea2c4f99763ab8e59ea1db908b2ed93280fa3e2805794798b4555c3d07c730f911702712371bb390780709caa9eb6663451367f58b9781c')
-
-build() {
- cd $_name-$pkgver
- python -m build --wheel --no-isolation
-}
-
-check() {
- local _site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
-
- cd $_name-$pkgver
- # install to temporary location
- python -m installer --destdir=test_dir dist/*.whl
- export PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH"
- # issues with some tests at least since 0.18.1:
https://github.com/pytest-dev/pytest-xprocess/issues/95
- pytest -vv -k "not test_interruption_cleanup and not
test_interruption_does_not_cleanup"
-}
-
-package() {
- cd $_name-$pkgver
- python -m installer --destdir="$pkgdir" dist/*.whl
- install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
- install -vDm 644 {CHANGELOG,README}.rst -t "$pkgdir/usr/share/$pkgname/"
-}
Copied: python-pytest-xprocess/repos/community-any/PKGBUILD (from rev 1378602,
python-pytest-xprocess/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-01-06 13:21:06 UTC (rev 1378603)
@@ -0,0 +1,40 @@
+# Maintainer: David Runge <[email protected]>
+# Contributor: Hugo Osvaldo Barrera <[email protected]>
+# Contributor: Neil Santos <[email protected]>
+
+_name=pytest-xprocess
+pkgname=python-pytest-xprocess
+pkgver=0.22.2
+pkgrel=1
+pkgdesc='Pytest plugin to manage external processes across test runs.'
+arch=(any)
+url="https://github.com/pytest-dev/pytest-xprocess"
+license=(MIT)
+depends=(python-psutil python-py python-pytest)
+makedepends=(python-build python-installer python-setuptools-scm python-wheel)
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha512sums=('2051be110dfda8063c31bb9555bff569f5d7a1332a62f8ce57fd799dfc7d8551ba1227df12f44fccc1ec62d9fcc0face104a77c9c5cc1abb583b74cd1d8a9ff7')
+b2sums=('07b9fdfea2ecd3d3aaf4115c2f7ecd41c864b4490694cedc54460d0f16397ebdda0ac88fd9bd1613dcaec1cb9c36571b8ab2febc8d151f8f6c4e19fe3abd0821')
+
+build() {
+ cd $_name-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ local _site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
+
+ cd $_name-$pkgver
+ # install to temporary location
+ python -m installer --destdir=test_dir dist/*.whl
+ export PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH"
+ # issues with some tests at least since 0.18.1:
https://github.com/pytest-dev/pytest-xprocess/issues/95
+ pytest -vv -k "not test_interruption_cleanup and not
test_interruption_does_not_cleanup"
+}
+
+package() {
+ cd $_name-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+ install -vDm 644 {CHANGELOG,README}.rst -t "$pkgdir/usr/share/$pkgname/"
+}