[arch-commits] Commit in python-requests-mock/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat May 9 06:51:18 UTC 2020


    Date: Saturday, May 9, 2020 @ 06:51:17
  Author: felixonmars
Revision: 625880

upgpkg: python-requests-mock 1.8.0-1

Modified:
  python-requests-mock/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-09 06:50:34 UTC (rev 625879)
+++ PKGBUILD	2020-05-09 06:51:17 UTC (rev 625880)
@@ -1,8 +1,8 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=python-requests-mock
-pkgver=1.7.0
-pkgrel=4
+pkgver=1.8.0
+pkgrel=1
 pkgdesc="A mock of useful classes and functions to be used with python-requests."
 arch=('any')
 url="https://github.com/jamielennox/requests-mock"
@@ -9,9 +9,9 @@
 license=('Apache')
 depends=('python-requests' 'python-six')
 makedepends=('python-pbr')
-checkdepends=('python-testrepository' 'python-mock' 'python-purl')
+checkdepends=('python-mock' 'python-purl' 'python-pytest' 'python-testrepository')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/jamielennox/requests-mock/archive/$pkgver.tar.gz")
-sha512sums=('a5a2ccc6d23fd47f6b85b7b27c20dbdff303452bc34eef78f2b3316d020cdd21631d840fe798cb721aa1ddedc830b0284a8c042c9d18142513dc61bda1207cab')
+sha512sums=('bdcca2b751a77ae05922a6e8949494365cffd2dd3b3dc26258a87c77eb9fe956439fbd6259c133b0a847b1666d4b17db9641dcb9e1ddc9647d760b9e2f9e5ebf')
 
 export PBR_VERSION=$pkgver
 
@@ -22,6 +22,7 @@
 
 check() {
   cd requests-mock-$pkgver
+  python -m pytest tests/pytest
   python setup.py testr
 }
 


More information about the arch-commits mailing list