Date: Tuesday, April 11, 2023 @ 18:29:43
Author: arojas
Revision: 1444735
upgpkg: mypaint 2.0.1-3: Python 3.11 rebuild
Modified:
mypaint/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-11 18:24:31 UTC (rev 1444734)
+++ PKGBUILD 2023-04-11 18:29:43 UTC (rev 1444735)
@@ -4,7 +4,7 @@
pkgname=mypaint
pkgver=2.0.1
-pkgrel=2
+pkgrel=3
pkgdesc='Fast and easy painting application for digital painters, with brush
dynamics'
arch=('x86_64')
url='http://mypaint.org/'
@@ -12,10 +12,17 @@
depends=('gtk3' 'libmypaint' 'mypaint-brushes' 'python-cairo' 'python-gobject'
'python-numpy')
makedepends=('python-setuptools' 'swig')
options=('!emptydirs')
-source=("https://github.com/mypaint/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz")
+source=("https://github.com/mypaint/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz"
+ https://github.com/mypaint/mypaint/commit/032a155b.patch)
#validpgpkeys=('C02391F4BBA4F0E2B27C6BFF6E3037E12878B299') # Andrew Chadwick
-sha256sums=('f3e437d7cdd5fd28ef6532e8ab6b4b05d842bcdd644f16a0162dad3d8e57bb16')
+sha256sums=('f3e437d7cdd5fd28ef6532e8ab6b4b05d842bcdd644f16a0162dad3d8e57bb16'
+ 'b893d4b94dea23f1c71e363893bba2439a824bec05575b1514d6821397fc3d53')
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p1 -i ../032a155b.patch # Fix install with Python 3.11
+}
+
build() {
cd $pkgname-$pkgver
python setup.py build