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

Felix Yan felixonmars at archlinux.org
Fri May 28 14:38:11 UTC 2021


    Date: Friday, May 28, 2021 @ 14:38:10
  Author: felixonmars
Revision: 949844

upgpkg: python-pytest-socket 0.4.0-1

Modified:
  python-pytest-socket/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-28 14:37:14 UTC (rev 949843)
+++ PKGBUILD	2021-05-28 14:38:10 UTC (rev 949844)
@@ -1,8 +1,8 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=python-pytest-socket
-pkgver=0.3.5
-pkgrel=2
+pkgver=0.4.0
+pkgrel=1
 pkgdesc='Pytest Plugin to disable socket calls during tests'
 arch=('any')
 license=('MIT')
@@ -9,9 +9,10 @@
 url='https://github.com/miketheman/pytest-socket'
 depends=('python-pytest')
 makedepends=('python-dephell')
-checkdepends=('python-pytest-cov' 'python-pytest-flake8' 'python-pytest-httpbin')
+checkdepends=('python-asynctest' 'python-pytest-cov' 'python-pytest-flake8' 'python-pytest-httpbin'
+              'python-starlette')
 source=("https://github.com/miketheman/pytest-socket/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('9f62c2cdc07721dc707fb84f736dbdeed8264a775d9b477802295409a2abfafad88ee5bf2bb94a305659e81f80b8d6a0486e589b0a0100ab4523ad6d4c12849a')
+sha512sums=('9609bb20aaf37f984a80414e0a739ca5d8afd072dc08778eae398935750f110eede3cefc3d90ea1bcf3ce3fd9760f5c38962ce338c0933c275ccd3e04303819d')
 
 prepare() {
   cd pytest-socket-$pkgver
@@ -19,7 +20,7 @@
 
   # dephell does not generate py_modules into setup.py, so the resulting installation is missing
   # the module source code itself. Patching it here as a workaround until we fix it properly.
-  sed -i '/license=/a \    py_modules=["pytest_socket"],' setup.py 
+  sed -i '/license=/a \    py_modules=["pytest_socket"],' setup.py
 }
 
 build() {



More information about the arch-commits mailing list