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

Eli Schwartz eschwartz at archlinux.org
Sun Nov 15 12:28:16 UTC 2020


    Date: Sunday, November 15, 2020 @ 12:28:15
  Author: eschwartz
Revision: 754432

upgpkg: python-httpx 0.16.1-3: python 3.9 rebuild

and fix hanging testsuite

Modified:
  python-httpx/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-15 12:28:05 UTC (rev 754431)
+++ PKGBUILD	2020-11-15 12:28:15 UTC (rev 754432)
@@ -3,7 +3,7 @@
 _pkgname=httpx
 pkgname=python-httpx
 pkgver=0.16.1
-pkgrel=2
+pkgrel=3
 pkgdesc="A next generation HTTP client for Python"
 arch=('any')
 url="https://github.com/encode/${_pkgname}"
@@ -13,15 +13,21 @@
 makedepends=('python-setuptools')
 checkdepends=('python-pytest-asyncio' 'python-pytest-trio' 'python-brotli' 'python-h2' 'python-trustme' 'uvicorn')
 source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz"
+        "https://github.com/encode/httpx/commit/2f54548dad4e682ee2652b4475014637299c5b82.patch"
         "0001-Do-not-override-the-system-SSL-certificates-with-the.patch")
 sha512sums=('d76b2c94c655c187ab150f20b16906034574d017a67c4a06c456d55071434cc0ba7752bdceda86aa6b1a1fe9109fa11594e4ea679cd7d2a77898fb40fa5153d3'
+            '1e88cd7a6fa6837ecfebf617edb18b4cf6923b3c3ffa359fff616826c81c73d67e94142c2b04b35665644cf7b60f8a56308d333f1b74ae1f8d98fb9f52e6fdec'
             'e4b1e33a77cdb5555a4ac3d09b59bc4a0a176a7f5d97099d66a4876abcfd3889058e21beb8bfc375e8e7e61b3808d2a76119033e1a44602d8e6cd461ea3f88de')
 b2sums=('a6c5bcdda595ffcfb824194564ebd93760a9180e60665a9540fc6a2822b1be4273b940fee61cb4b49c2d97a5f4d71b1caf32deddec18d2fb636465b3868aece4'
+        'bff86246cc7fc2dce89cccdf7e86477d76a5a179ceb6f22493467707b4139a190b884c6a6c723e6aadb95cf9c669e88d7cf1173625131a45b7f891cb08526ba3'
         'e03d340cef44bfb322219030bbcbe53c1323c8b9d9d7aace07045e80faa185a7594839c9ff0fee9604a7fddf916db462f95a341d51f17072bce8e55d53055c7b')
 
 prepare() {
     cd "${srcdir}"/${_pkgname}-${pkgver}
 
+    # fix hang in check() due to uvicorn bug: https://github.com/encode/httpx/pull/1367
+    patch -p1 -i ../2f54548dad4e682ee2652b4475014637299c5b82.patch
+
     # bad certifi
     patch -p1 -i ../0001-Do-not-override-the-system-SSL-certificates-with-the.patch
 }


More information about the arch-commits mailing list