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

Felix Yan felixonmars at archlinux.org
Thu Nov 26 17:32:44 UTC 2020


    Date: Thursday, November 26, 2020 @ 17:32:44
  Author: felixonmars
Revision: 763684

upgpkg: python-hpack 4.0.0-1

Modified:
  python-hpack/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-26 17:30:34 UTC (rev 763683)
+++ PKGBUILD	2020-11-26 17:32:44 UTC (rev 763684)
@@ -1,8 +1,8 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=python-hpack
-pkgver=3.0.0
-pkgrel=6
+pkgver=4.0.0
+pkgrel=1
 pkgdesc="Pure-Python HPACK header compression"
 arch=('any')
 url="https://hyper.rtfd.org/"
@@ -9,16 +9,10 @@
 license=('MIT')
 depends=('python')
 makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-hypothesis')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/python-hyper/hpack/archive/v$pkgver.tar.gz"
-        $pkgname-pytest-5.patch::https://github.com/python-hyper/hpack/commit/97207a9e88f906cf8e4198aec20b24ef97764486.patch)
-sha512sums=('7b9cf5e643dff2a6454bfe419b797c8ed1a0fe6ec3b725d2696da5a820ab96fe87a64e600b1831c7024bd82616b155a0aa058301acb32172155b6538ba0a73c6'
-            '04bea1bdf3365d923e3b29492467814219b63ab35beecd8f4e2c2fdb0c482f0aa92a10d83011cae129f574725bff99fb25ad325d151c6888ab8e67b879faa323')
+checkdepends=('python-pytest-runner' 'python-hypothesis')
+source=("https://github.com/python-hyper/hpack/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('f482d086d7a82649393e3cfea55c98966ce57055cb1826bc4dec1ea334661c02708e7903f2e8e588ee1c30df41373e1de9fb960c2e7bbc18d0ace0b8f97b195b')
 
-prepare() {
-  patch -d hpack-$pkgver -p1 -i ../$pkgname-pytest-5.patch || :
-}
-
 build() {
   cd hpack-$pkgver
   python setup.py build
@@ -26,7 +20,7 @@
 
 check() {
   cd hpack-$pkgver
-  python -m pytest test
+  python setup.py pytest
 }
 
 package() {



More information about the arch-commits mailing list