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

Evangelos Foutras foutrelis at archlinux.org
Wed Nov 11 14:41:34 UTC 2020


    Date: Wednesday, November 11, 2020 @ 14:41:34
  Author: foutrelis
Revision: 750789

Add fix for Python 3.9

Modified:
  python-ipy/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-11 14:40:11 UTC (rev 750788)
+++ PKGBUILD	2020-11-11 14:41:34 UTC (rev 750789)
@@ -11,11 +11,14 @@
 depends=('python')
 makedepends=('python-setuptools')
 checkdepends=('python-pytest')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('94a8f26cad0d966fdf8d4e57284eadf4cfde88515af6f5aafc8f9597eb0758324b876039d1a121021ba1ac26be2e2ffa89a3f5803dddefdee03fdb5d65b07a81')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"
+        $pkgname-py39.patch::https://github.com/autocracy/python-ipy/commit/d4cf6781fbc4.patch)
+sha512sums=('94a8f26cad0d966fdf8d4e57284eadf4cfde88515af6f5aafc8f9597eb0758324b876039d1a121021ba1ac26be2e2ffa89a3f5803dddefdee03fdb5d65b07a81'
+            '2f98bd4c68944d0aa43f5b1152a4c1bdbc2e9a7820016b48e028a6b4b7db4a69971995b4c9a1f83bc881e405bf1b6c0a7c0a465f2b420d33be151f98d008d11f')
 
 prepare() {
   mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
+  patch -Np1 -d "$pkgname-$pkgver" <$pkgname-py39.patch
 }
 
 build() {



More information about the arch-commits mailing list