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

Johannes Löthberg demize at gemini.archlinux.org
Thu Dec 2 14:30:35 UTC 2021


    Date: Thursday, December 2, 2021 @ 14:30:34
  Author: demize
Revision: 1061913

Apply patch fixing deprecated usage of ABCs in collections

Modified:
  python-requests-toolbelt/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-02 13:58:10 UTC (rev 1061912)
+++ PKGBUILD	2021-12-02 14:30:34 UTC (rev 1061913)
@@ -11,9 +11,16 @@
 depends=('python-requests')
 makedepends=('python-setuptools' 'python-requests')
 checkdepends=('python-pytest' 'python-betamax' 'python-mock' 'python-pyopenssl')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/requests/toolbelt/archive/$pkgver.tar.gz")
-sha512sums=('12667056c225ce0bc88a5959660103feed23810890abd3890ef15581aa64c09c0552c3974473e1742cbe6200bd37d6475ad34ec051e83d4fbf0a33f320dbc0cc')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/requests/toolbelt/archive/$pkgver.tar.gz"
+        '7188b06330e5260be20bce8cbcf0d5ae44e34eaf.patch::https://github.com/requests/toolbelt/commit/7188b06330e5260be20bce8cbcf0d5ae44e34eaf.patch')
+sha512sums=('12667056c225ce0bc88a5959660103feed23810890abd3890ef15581aa64c09c0552c3974473e1742cbe6200bd37d6475ad34ec051e83d4fbf0a33f320dbc0cc'
+            '3265c1cc903ee878fecc0a98be935c4471c89c4ed0def6c0862d581b7ca84e97b402dd6e532127d5eca7b04d8f78127116c06324c1bf5199994406cc6c37006e')
 
+prepare() {
+  cd "$srcdir"/toolbelt-$pkgver
+  patch -p1 <"$srcdir"/7188b06330e5260be20bce8cbcf0d5ae44e34eaf.patch
+}
+
 build() {
   cd "$srcdir"/toolbelt-$pkgver
   python setup.py build



More information about the arch-commits mailing list