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

Chih-Hsuan Yen yan12125 at gemini.archlinux.org
Mon Jul 11 11:33:45 UTC 2022


    Date: Monday, July 11, 2022 @ 11:33:45
  Author: yan12125
Revision: 1249565

python-klein: backport an upstream commit to fix tests

Modified:
  python-klein/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-11 11:26:12 UTC (rev 1249564)
+++ PKGBUILD	2022-07-11 11:33:45 UTC (rev 1249565)
@@ -12,9 +12,17 @@
          python-tubes python-twisted python-werkzeug python-zope-interface)
 makedepends=(python-setuptools)
 checkdepends=(python-hypothesis python-treq python-pytest)
-source=("https://github.com/twisted/klein/archive/$pkgver/klein-$pkgver.tar.gz")
-sha512sums=('f0e10e3b92f19dc6b42f071d836b4179af033955fb6a1feb05918c85901741577f8dddc335ead1a4c1181690709abd73bca755c6a7a402d79d7a4bfb196bca58')
+source=("https://github.com/twisted/klein/archive/$pkgver/klein-$pkgver.tar.gz"
+        "$pkgname-pr552-fix-tests.patch"::"https://github.com/twisted/klein/commit/bce8b85036a6d185b9e8aab037c805f81354544c.patch")
+sha512sums=('f0e10e3b92f19dc6b42f071d836b4179af033955fb6a1feb05918c85901741577f8dddc335ead1a4c1181690709abd73bca755c6a7a402d79d7a4bfb196bca58'
+            '34a9623119ca7e00df5fa01852281fec25eb26adc6c293da0d9f33ae2142697362b7dbdc50c3321e292c9c29e9c15abcf122410d24a43e06d8952579cf320198')
 
+prepare() {
+  cd klein-$pkgver
+  # Part of https://github.com/twisted/klein/pull/552, for fixing tests
+  patch -Np1 -i ../$pkgname-pr552-fix-tests.patch
+}
+
 build() {
   cd klein-$pkgver
   python setup.py build



More information about the arch-commits mailing list