[arch-commits] Commit in python-pytest-xprocess/trunk (PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Wed Sep 15 19:28:15 UTC 2021


    Date: Wednesday, September 15, 2021 @ 19:28:14
  Author: dvzrv
Revision: 1016071

upgpkg: python-pytest-xprocess 0.18.1-1: Upgrade to 0.18.1.

Modified:
  python-pytest-xprocess/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-09-15 19:00:59 UTC (rev 1016070)
+++ PKGBUILD	2021-09-15 19:28:14 UTC (rev 1016071)
@@ -1,18 +1,20 @@
-# Maintainer: David Runge <dave at sleepmap.de>
+# 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.16.0
+pkgver=0.18.1
 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' 'python-setuptools')
+depends=('python-psutil' 'python-pytest')
+makedepends=('python-setuptools-scm')
 source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('3cf5d05c6693ebddc91fb2ad62eacd5b8f231e78ee82908b20268367649d6d73f0c1fbbf93a31f97feabe8bddf02cb176b2ffb9f6de4387b46cd0b97ad3c3eea')
+sha512sums=('f19cba9954e4b2363db13b7dba373f5e50cfca6f43d6455f271bff4d01dcc2a3b15c13a47076dbeed34feffee856a8271df4837edab413e964a848cbb6228e7e')
+b2sums=('9772fff488414406f487add01fba9ee2e10e12965d5b289b8c17cffb5a6566aaea0653ca1b390e6b4c70d79ce3698b0ce8122ed919f9778cb8cf3f7488cffc8d')
 
 build() {
   cd "${_name}-${pkgver}"
@@ -21,16 +23,13 @@
 
 check() {
   cd "${_name}-${pkgver}"
-  export PYTHONPATH="."
-  py.test
+  export PYTHONPATH="build:${PYTHONPATH}"
+  pytest -v -k "not test_interruption_cleanup and not test_interruption_does_not_cleanup"
 }
 
 package() {
   cd "${_name}-${pkgver}"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
+  python setup.py install --optimize=1 --root="${pkgdir}"
   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