From 3e2abf71a78d1f57f5d2ad1e1e3717880d205ccd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Mon, 19 Oct 2020 22:02:39 +0700 Subject: [PATCH] mypaint: rebuild for Python 3.9 Close #25739 --- srcpkgs/mypaint/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/mypaint/template b/srcpkgs/mypaint/template index 4bd41c073f3..f3d5266c14b 100644 --- a/srcpkgs/mypaint/template +++ b/srcpkgs/mypaint/template @@ -1,7 +1,7 @@ # Template file for 'mypaint' pkgname=mypaint version=2.0.0 -revision=1 +revision=2 build_style=python3-module pycompile_dirs="/usr/share/mypaint" hostmakedepends="swig pkg-config gettext python3-setuptools python3-numpy python3" @@ -18,4 +18,6 @@ python_version=3 post_install() { # Fix SVG icons vsed -i 's/xmlns:ns7/xmlns:xlink/g' ${DESTDIR}/usr/share/icons/hicolor/{24x24,scalable}/actions/mypaint-*.svg + mv $DESTDIR/usr/lib/mypaint/lib/_mypaintlib.cpython*.so \ + $DESTDIR/usr/lib/mypaint/lib/_mypaintlib.so }