[arch-commits] Commit in python-pytest-xprocess/repos/community-any (2 files)
David Runge
dvzrv at gemini.archlinux.org
Tue Aug 30 08:50:06 UTC 2022
Date: Tuesday, August 30, 2022 @ 08:50:06
Author: dvzrv
Revision: 1288487
archrelease: copy trunk to community-any
Added:
python-pytest-xprocess/repos/community-any/PKGBUILD
(from rev 1288486, 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 2022-08-30 08:50:00 UTC (rev 1288486)
+++ PKGBUILD 2022-08-30 08:50:06 UTC (rev 1288487)
@@ -1,40 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: Hugo Osvaldo Barrera <hugo at barrera.io>
-# Contributor: Neil Santos <nsantos16+aur at gmail.com>
-
-_name=pytest-xprocess
-pkgname=python-pytest-xprocess
-pkgver=0.19.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-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=('d41c3c91892d6126455e9b834ada7aad5d0fa67603eff14a73309589e269a21de032e8192e9bde4d6656aaa4984dd0c98242d54b0e2b24a43b85c8ed81a00d89')
-b2sums=('1990a48036469f990451b8eb12a05b7f10295532a72567f95d95d6e12f192f0b76bd511a994c5b8f0e3725f0edb76c4991351fe68e82f351d9b47a9921230f11')
-
-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 1288486, python-pytest-xprocess/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-30 08:50:06 UTC (rev 1288487)
@@ -0,0 +1,40 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Hugo Osvaldo Barrera <hugo at barrera.io>
+# Contributor: Neil Santos <nsantos16+aur at gmail.com>
+
+_name=pytest-xprocess
+pkgname=python-pytest-xprocess
+pkgver=0.20.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-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=('bce022c924db94f53549c1df5547a8df7390806bb99d817f152f1e5fb946fef60f2447a31dc519577c1b54d6a7adeb7d7d996a28e7784918622db5ccfd0b035b')
+b2sums=('8e66ad321224cb8e702721b0936c56b65be5aee9330a233c710519303679f2d1eea03825fe4326ffd2811f6fe4c37db217a2c0c34561742bd2c849ddcae7284e')
+
+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/"
+}
More information about the arch-commits
mailing list