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

Felix Yan felixonmars at archlinux.org
Sun Dec 22 19:39:59 UTC 2019


    Date: Sunday, December 22, 2019 @ 19:39:59
  Author: felixonmars
Revision: 372075

upgpkg: python-pycurl 7.43.0.3-4

fixes DeprecationWarning in Python 3.8 (FS#64812)

Modified:
  python-pycurl/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-22 16:46:03 UTC (rev 372074)
+++ PKGBUILD	2019-12-22 19:39:59 UTC (rev 372075)
@@ -5,7 +5,7 @@
 pkgbase=python-pycurl
 pkgname=('python-pycurl' 'python2-pycurl')
 pkgver=7.43.0.3
-pkgrel=3
+pkgrel=4
 arch=('x86_64')
 url="http://pycurl.sourceforge.net/"
 license=('LGPL' 'MIT')
@@ -12,11 +12,14 @@
 makedepends=('python' 'python2' 'curl')
 checkdepends=('python-bottle' 'python2-bottle' 'python-nose-show-skipped' 'python2-nose-show-skipped'
               'vsftpd' 'python-flaky' 'python2-flaky' 'python-pyflakes' 'python2-pyflakes')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/pycurl/pycurl/archive/REL_${pkgver//./_}.tar.gz")
-sha512sums=('1c210be7dde473a524fbc3084066b0aaa13c0a50cc2ab03bceb49030897058ae09bb4b8b5961823184469dc0901a5aae0f67992f408f37bb9bcb0c34ea014aec')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/pycurl/pycurl/archive/REL_${pkgver//./_}.tar.gz"
+        python3.8.patch::https://github.com/pycurl/pycurl/pull/600.patch)
+sha512sums=('1c210be7dde473a524fbc3084066b0aaa13c0a50cc2ab03bceb49030897058ae09bb4b8b5961823184469dc0901a5aae0f67992f408f37bb9bcb0c34ea014aec'
+            '982275200c5c9145bf3ed69050bc9b93b7697355baf0cade0c21043103440f930e81792e11bc18a072f4a767cf7f2fcf21b9a8a8adaf5bf2a2d3bf049685a094')
 
 prepare() {
   mv pycurl-REL_${pkgver//./_} pycurl-$pkgver
+  patch -d pycurl-$pkgver -p1 -i ../python3.8.patch
   cp -a pycurl-$pkgver{,-py2}
 
   cd "$srcdir"/pycurl-$pkgver


More information about the arch-commits mailing list