14
0
2025-06-10 15:03:42 +00:00
committed by Git OBS Bridge
commit b29143ed03
15 changed files with 404 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
Index: python-prctl-1.8.1/test_prctl.py
===================================================================
--- python-prctl-1.8.1.orig/test_prctl.py
+++ python-prctl-1.8.1/test_prctl.py
@@ -20,7 +20,7 @@ except ImportError:
pass
curdir = os.path.dirname(__file__)
-builddir = os.path.join(curdir, 'build', 'lib.%s-%s' % (distutils.util.get_platform(), sys.version[0:3]))
+builddir = os.path.join(curdir, 'build', 'lib.%s-%s' % (distutils.util.get_platform(), '.'.join([str(x) for x in sys.version_info[:2]])))
# Always run from the builddir
if not os.path.exists(builddir) or \