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

Felix Yan felixonmars at archlinux.org
Sat Nov 14 13:28:05 UTC 2020


    Date: Saturday, November 14, 2020 @ 13:28:05
  Author: felixonmars
Revision: 754104

add fixes for python 3.9

Modified:
  python-fs/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-14 13:25:31 UTC (rev 754103)
+++ PKGBUILD	2020-11-14 13:28:05 UTC (rev 754104)
@@ -10,9 +10,15 @@
 depends=('python-appdirs' 'python-pytz' 'python-setuptools' 'python-six')
 checkdepends=('python-pytest-runner' 'fuse2' 'python-mock' 'python-pyftpdlib' 'python-psutil'
               'python-pysendfile')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/PyFilesystem/pyfilesystem2/archive/v$pkgver.tar.gz")
-sha512sums=('fe4596bf213f9b1721cd3c665e6af180d6617eea07afbaa9d83847dc3f7dfe64bca16c8ccb337d48bbb49bf0d2fef90903e3c4aecc63f61faac6a2b6f6c59cf6')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/PyFilesystem/pyfilesystem2/archive/v$pkgver.tar.gz"
+        $pkgname-python3.9.patch::https://github.com/PyFilesystem/pyfilesystem2/pull/424.patch)
+sha512sums=('fe4596bf213f9b1721cd3c665e6af180d6617eea07afbaa9d83847dc3f7dfe64bca16c8ccb337d48bbb49bf0d2fef90903e3c4aecc63f61faac6a2b6f6c59cf6'
+            '2d1088f46174700ef36d0759993650feccdbd231830d316fdda6dd8fd03e4831ba009cc37a3ed19a6ae1a3cbb6fcce292212b56cdbe87fd3d2af261de4648120')
 
+prepare() {
+  patch -d pyfilesystem2-$pkgver -p1 < $pkgname-python3.9.patch || :
+}
+
 build() {
   cd pyfilesystem2-$pkgver
   python setup.py build



More information about the arch-commits mailing list