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

Felix Yan felixonmars at gemini.archlinux.org
Mon Feb 14 17:36:19 UTC 2022


    Date: Monday, February 14, 2022 @ 17:36:19
  Author: felixonmars
Revision: 1133215

upgpkg: python-pytest-httpbin 1.0.1-1

Modified:
  python-pytest-httpbin/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-14 17:34:26 UTC (rev 1133214)
+++ PKGBUILD	2022-02-14 17:36:19 UTC (rev 1133215)
@@ -1,8 +1,8 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=python-pytest-httpbin
-pkgver=1.0.0
-pkgrel=8
+pkgver=1.0.1
+pkgrel=1
 pkgdesc='A py.test fixture for httpbining code'
 arch=('any')
 license=('MIT')
@@ -11,7 +11,7 @@
 checkdepends=('python-requests')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/kevin1024/pytest-httpbin/archive/v$pkgver.tar.gz"
         LICENSE)
-sha512sums=('2794134cc005cb969752e0c1119459d3f1e106f679942880a6b9ff507f2ee31c8ac4146a9c01b9a920368ea516443954b1b7044f7b1c270fe251f7d36adf7661'
+sha512sums=('3a11073d85478e7b748cfae5a7f639b2cf6ebc396ebb9972f39ead3d869ab1abaf0afa90f113e2393652ed08621716e54c9c5dcb41c59ff67341f7b28445544d'
             '949cb93164ce92e0a5acc184cca2da5580e31def2d153771ebfa386030fa2da65bcd48670780096d2cefe3e631dc755fc3024ae417f2d1bb3333bd85a39baf22')
 
 build() {
@@ -21,10 +21,11 @@
 
 check() {
   # Hack entry points by installing it
+  # https://github.com/kevin1024/pytest-httpbin/issues/64
 
   cd pytest-httpbin-$pkgver
   python setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH" python -m pytest
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH" pytest --deselect tests/test_server.py::test_redirect_location_is_https_for_secure_server
 }
 
 package() {



More information about the arch-commits mailing list