[crux-commits] ports/core (3.6): python3: fix build with mpdecimal 2.5

crux at crux.nu crux at crux.nu
Thu Jul 16 17:17:39 UTC 2020


commit a0e7b4d0ad9bbed90f380a4553a085800eaad45e
Author: Juergen Daubert <jue at jue.li>
Date:   Thu Jul 16 17:17:30 2020 +0000

    python3: fix build with mpdecimal 2.5

diff --git a/python3/.signature b/python3/.signature
index c1acfd96..a4859a62 100644
--- a/python3/.signature
+++ b/python3/.signature
@@ -1,5 +1,6 @@
 untrusted comment: verify with /etc/ports/core.pub
-RWRJc1FUaeVeqsY5DD3GmW+NTjGQivIkJAbCQ3flj/e/G/rUypSEqZyzuO0qA1yyxQemNwgRl13cqGz9RnSOKHa2TybL/yBNrAY=
-SHA256 (Pkgfile) = ddb5ebca19efddcce61fc1b053b89aa3ca1072fd29337a8e3c30f310c76a50d4
+RWRJc1FUaeVeqrzlL4spUPbA7O8tMF8cMpafXwODo+0RUKq4MA9PlfVUH8zf7CE1r98j1nXZQdF1Z6XjWEogLoDyqrla5wksNQo=
+SHA256 (Pkgfile) = c5783e5d79bbcd09951e3ca382ed209bfba1f6ea3a43856f7941508829b14d8a
 SHA256 (.footprint) = 73cac86f9e9bf3ef0f55ec06191c21c5b383f62dca0ebead96bdd7ad6a837bec
 SHA256 (Python-3.8.3.tar.xz) = dfab5ec723c218082fe3d5d7ae17ecbdebffa9a1aea4d64aa3a2ecdd2e795864
+SHA256 (mpdecimal-2.5.patch) = 3a72812cb774610dea8abcac9ebe79d4e2ee3eb3d12be529a9865483dd9379db
diff --git a/python3/Pkgfile b/python3/Pkgfile
index 2ecde9d8..6ccb9643 100644
--- a/python3/Pkgfile
+++ b/python3/Pkgfile
@@ -5,12 +5,15 @@
 
 name=python3
 version=3.8.3
-release=2
-source=(https://www.python.org/ftp/python/$version/Python-$version.tar.xz)
+release=3
+source=(https://www.python.org/ftp/python/$version/Python-$version.tar.xz
+        mpdecimal-2.5.patch)
 
 build() {
 	cd Python-$version
 
+	patch -p1 -i $SRC/mpdecimal-2.5.patch
+
 	# Ensure that we are using the system copy of various libraries
 	rm -r Modules/expat
 	rm -r Modules/_ctypes/{darwin,libffi}*


More information about the crux-commits mailing list