diff options
Diffstat (limited to 'sci-chemistry/mdtraj/files/mdtraj-1.9.7-python311.patch')
-rw-r--r-- | sci-chemistry/mdtraj/files/mdtraj-1.9.7-python311.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sci-chemistry/mdtraj/files/mdtraj-1.9.7-python311.patch b/sci-chemistry/mdtraj/files/mdtraj-1.9.7-python311.patch new file mode 100644 index 000000000000..303c819aaee4 --- /dev/null +++ b/sci-chemistry/mdtraj/files/mdtraj-1.9.7-python311.patch @@ -0,0 +1,16 @@ +Index: mdtraj/setup.py +=================================================================== +--- mdtraj.orig/setup.py 2023-01-18 15:26:51.424826255 +0100 ++++ mdtraj/setup.py 2023-01-18 15:26:51.420826223 +0100 +@@ -298,6 +298,10 @@ + + for e in extensions: + e.include_dirs.append(np.get_include()) +- metadata['ext_modules'] = cythonize(extensions, language_level=sys.version_info[0]) ++ metadata['ext_modules'] = cythonize( ++ extensions, ++ language_level=sys.version_info[0], ++ force=True, ++ ) + + setup(**metadata) |