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

Antonio Rojas arojas at gemini.archlinux.org
Sat Nov 20 08:35:42 UTC 2021


    Date: Saturday, November 20, 2021 @ 08:35:42
  Author: arojas
Revision: 1052826

Update to 0.14.3

Modified:
  python-httpcore/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-20 08:13:18 UTC (rev 1052825)
+++ PKGBUILD	2021-11-20 08:35:42 UTC (rev 1052826)
@@ -2,22 +2,21 @@
 
 _pkgname=httpcore
 pkgname=python-httpcore
-pkgver=0.13.7
+pkgver=0.14.3
 pkgrel=1
 pkgdesc="A minimal HTTP client"
 arch=('any')
 url="https://github.com/encode/${_pkgname}"
 license=('BSD')
-depends=('python-anyio' 'python-h11' 'python-sniffio')
+depends=('python-anyio' 'python-h11' 'python-sniffio' 'python-certifi')
 optdepends=('python-h2: for HTTP/2 support')
 makedepends=('python-setuptools' 'python-h2')
-checkdepends=('hypercorn' 'python-curio' 'python-pproxy' 'python-pytest-asyncio' 'python-pytest-trio' 'python-trustme' 'uvicorn')
+checkdepends=('hypercorn' 'python-curio' 'python-pproxy' 'python-pytest-asyncio' 'python-pytest-httpbin' 'python-pytest-trio' 'python-trustme' 'uvicorn')
 source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha512sums=('0cc48828d0710066b3ef89998ec85975285763ac63a8b59106952ef2dac5a02dac71e7e106c4b6ea1022eb4d06a9cb5ee3e634eb564bad49c5508beff75279d6')
-b2sums=('e6c4b1720ce4bf62689995d3e1c648c4702bb416f3b3586eb8dd2f0cfd2155046e64181c4c04e65f721a5f0fcbc23b5ffd01c2930c7c69d37ee4c36e37b7d0d4')
+sha512sums=('05e92109839c2e2f7ec81fea9507fb15a12d1bf6ae92048170953b1cb0139237b81c892feff1bc3840e06887e8916cadcc4124725874344524e45e3640a00379')
 
 prepare() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
+    cd ${_pkgname}-${pkgver}
 
     # do not run coverage in unittests!
     sed -i '/^addopts/d' setup.cfg
@@ -24,13 +23,13 @@
 }
 
 build() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
+    cd ${_pkgname}-${pkgver}
 
     python setup.py build
 }
 
 check() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
+    cd ${_pkgname}-${pkgver}
 
     # raise open files limits, many tests will fail otherwise
     ulimit -S -n 4096
@@ -39,7 +38,7 @@
 }
 
 package() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
+    cd ${_pkgname}-${pkgver}
 
     python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
     install -Dm644 LICENSE.md "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.md



More information about the arch-commits mailing list