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

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 10:40:51 UTC 2020


    Date: Thursday, November 12, 2020 @ 10:40:51
  Author: foutrelis
Revision: 751549

Fix tests for Python 3.9

Modified:
  python-webob/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-12 10:39:37 UTC (rev 751548)
+++ PKGBUILD	2020-11-12 10:40:51 UTC (rev 751549)
@@ -14,10 +14,13 @@
 makedepends=('python-setuptools' 'python-sphinx')
 checkdepends=('python-pytest-runner')
 optdepends=('python-webob-docs: documentation')
-source=("https://pypi.io/packages/source/W/WebOb/WebOb-$pkgver.tar.gz")
-sha512sums=('b9a3faac114c55f3e9a6eb71a78dd921d928da99a427dea05bc798bc1fe249f0f1cf8c9b9fcb1b73be2737b9132bbfe2250a8652e3a8a1199ac74fa62a59d44c')
+source=("https://pypi.io/packages/source/W/WebOb/WebOb-$pkgver.tar.gz"
+        $pkgname-py39.patch::https://github.com/Pylons/webob/commit/6b5d8c382c26.patch)
+sha512sums=('b9a3faac114c55f3e9a6eb71a78dd921d928da99a427dea05bc798bc1fe249f0f1cf8c9b9fcb1b73be2737b9132bbfe2250a8652e3a8a1199ac74fa62a59d44c'
+            'aba4b333bc67f6ccde084efca793aff7b978548b1179ca4dbeb969f05b0e0e0bb00201640929cd07741434e27cf935361fcacc1943706e6399c5aa8407ec0116')
 
 prepare() {
+  patch -Np1 -F3 -d WebOb-$pkgver<$pkgname-py39.patch # https://github.com/Pylons/webob/pull/411
   cp -a WebOb-$pkgver{,-docs}
   sed -i "s/pkg_resources.get_distribution('webob').version/'$pkgver'/" WebOb-$pkgver-docs/docs/conf.py
 }



More information about the arch-commits mailing list