pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/converters/py-reedsolo



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Jan 25 10:40:23 UTC 2022

Modified Files:
        pkgsrc/converters/py-reedsolo: distinfo
Added Files:
        pkgsrc/converters/py-reedsolo/patches: patch-setup.py

Log Message:
py-reedsolo: fix build with python 3.10


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/converters/py-reedsolo/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/converters/py-reedsolo/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/converters/py-reedsolo/distinfo
diff -u pkgsrc/converters/py-reedsolo/distinfo:1.3 pkgsrc/converters/py-reedsolo/distinfo:1.4
--- pkgsrc/converters/py-reedsolo/distinfo:1.3  Tue Oct 26 10:06:50 2021
+++ pkgsrc/converters/py-reedsolo/distinfo      Tue Jan 25 10:40:22 2022
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 10:06:50 nia Exp $
+$NetBSD: distinfo,v 1.4 2022/01/25 10:40:22 wiz Exp $
 
 BLAKE2s (reedsolo-1.5.4.tar.gz) = 7c70f109d3c329f1759a883fa5b9c7d87117e9ff0a115f82dfc76b1c9a4e2897
 SHA512 (reedsolo-1.5.4.tar.gz) = f41203bbdae9012e72f723d38dd8ee93c9f9fbab62f4ed5dd1c2b9ca9b7e87f5fc91871049d7d952d8ee6be25ed2793c90ac7134eda5cc351e1adf8ed460e8df
 Size (reedsolo-1.5.4.tar.gz) = 271280 bytes
+SHA1 (patch-setup.py) = bce91d0950b473a27002667f69e244285f8dd8fa

Added files:

Index: pkgsrc/converters/py-reedsolo/patches/patch-setup.py
diff -u /dev/null pkgsrc/converters/py-reedsolo/patches/patch-setup.py:1.1
--- /dev/null   Tue Jan 25 10:40:23 2022
+++ pkgsrc/converters/py-reedsolo/patches/patch-setup.py        Tue Jan 25 10:40:23 2022
@@ -0,0 +1,16 @@
+$NetBSD: patch-setup.py,v 1.1 2022/01/25 10:40:23 wiz Exp $
+
+Fix build with python 3.10.
+https://github.com/tomerfiliba/reedsolomon/pull/38
+
+--- setup.py.orig      2020-05-20 06:35:49.000000000 +0000
++++ setup.py
+@@ -31,7 +31,7 @@ try:
+     # If Cython is installed, transpile the optimized Cython module to C and compile as a .pyd to be distributed
+     from Cython.Build import cythonize
+     print("Cython is installed, building creedsolo module")
+-    extensions = cythonize([ Extension('creedsolo', ['creedsolo.pyx']) ])
++    extensions = cythonize([ Extension('creedsolo', ['creedsolo.pyx']) ], force=True)
+ except ImportError:
+     # Else Cython is not installed (or user explicitly wanted to skip)
+     if '--native-compile' in sys.argv:



Home | Main Index | Thread Index | Old Index