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

Johannes Löthberg demize at gemini.archlinux.org
Thu Dec 2 19:20:31 UTC 2021


    Date: Thursday, December 2, 2021 @ 19:20:29
  Author: demize
Revision: 1062320

Apply patch fixing tests with Hypothesis >= 6.6

Modified:
  python-h2/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-02 19:20:21 UTC (rev 1062319)
+++ PKGBUILD	2021-12-02 19:20:29 UTC (rev 1062320)
@@ -10,9 +10,16 @@
 depends=('python-hpack' 'python-hyperframe')
 makedepends=('python-setuptools')
 checkdepends=('python-pytest-runner' 'python-hypothesis')
-source=("https://github.com/python-hyper/h2/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('ae145421549ecd29845b100e3895f1088598142824d82cf0b59293b0f647939e4acd0ff809187cabd67a3a524a0337cc925a3f17624c86767bd87a2d18a59b2b')
+source=("https://github.com/python-hyper/h2/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
+        '0646279dab694a89562846c810202ce2c0b49be3.patch::https://github.com/python-hyper/h2/commit/0646279dab694a89562846c810202ce2c0b49be3.patch')
+sha512sums=('ae145421549ecd29845b100e3895f1088598142824d82cf0b59293b0f647939e4acd0ff809187cabd67a3a524a0337cc925a3f17624c86767bd87a2d18a59b2b'
+            'c92a5577338b6ef355a203a2a74ba3d6b997458a179fa7d12eaf4a0f89fe430a2c90a586791afd0c1563d94352586d59aacfb34926c67e5ec7d2236b2c0fcff2')
 
+prepare() {
+  cd h2-$pkgver
+  patch -p1 <"$srcdir"/0646279dab694a89562846c810202ce2c0b49be3.patch
+}
+
 build() {
   cd h2-$pkgver
   python setup.py build



More information about the arch-commits mailing list