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

David Runge dvzrv at archlinux.org
Wed Mar 18 22:09:59 UTC 2020


    Date: Wednesday, March 18, 2020 @ 22:09:58
  Author: dvzrv
Revision: 600711

upgpkg: python-pytest-rerunfailures 9.0-1: Upgrading to 9.0. Adding python-mock to checkdepends. Minor cleanups.

Modified:
  python-pytest-rerunfailures/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-18 22:09:42 UTC (rev 600710)
+++ PKGBUILD	2020-03-18 22:09:58 UTC (rev 600711)
@@ -1,7 +1,8 @@
 # Maintainer: David Runge <dvzrv at archlinux.org>
+
 _name=pytest-rerunfailures
 pkgname=python-pytest-rerunfailures
-pkgver=8.0
+pkgver=9.0
 pkgrel=1
 pkgdesc="A plugin for py.test that re-runs failed tests to eliminate intermittent failures"
 arch=('any')
@@ -9,9 +10,9 @@
 license=('MPL2')
 depends=('python-pytest')
 makedepends=('python-setuptools')
-checkdepends=('python-pytest')
+checkdepends=('python-mock' 'python-pytest')
 source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('538fe5ca579ec50fc1689c4b7df3a55e0bdb08f87c2dfeb219ee141ef67c6c74a324c64f183f3ff85a5289ecfb54beef0fde2105eb0ae888ed861a15194a9dc5')
+sha512sums=('c5ac12dda4b8411627be2950baa3c910cdb9b7111d792adcfa55d053912090ab6a221de481938d8722c346d34b07fe7f629be7e853d209ea41c4d7efb1781c0c')
 
 build() {
   cd "${_name}-${pkgver}"
@@ -21,7 +22,7 @@
 check() {
   cd "${_name}-${pkgver}"
   export PYTHONPATH="build/lib:$PYTHONPATH"
-  py.test test_pytest_rerunfailures.py
+  pytest -v
 }
 
 package() {
@@ -31,8 +32,6 @@
     --optimize=1 \
     --prefix=/usr \
     --root="${pkgdir}"
-  # fix missing world-readable bit
-  chmod 644 "${pkgdir}/usr/lib/python${py_ver}/site-packages/__pycache__/"*.pyc
   # docs
   install -t "${pkgdir}/usr/share/doc/${pkgname}" \
     -vDm 644 {CHANGES.rst,README.rst}



More information about the arch-commits mailing list