SHA256
1
0
forked from pool/python312
python312/python-3.3.0b1-localpath.patch
Matej Cepl c8f2873f34 Accepting request 1090373 from home:dgarcia:branches:devel:languages:python:Factory
- Add 00398-fix-stack-overwrite-on-32-bit-in-perf-map-test-harness-gh-104811-104823.patch
  gh#python/cpython#104811
- Refresh all patches
- Update to 3.12.0b1:
  Full changelog can be found here
  https://docs.python.org/dev/whatsnew/changelog.html#python-3-12-0-beta-1

OBS-URL: https://build.opensuse.org/request/show/1090373
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python312?expand=0&rev=7
2023-06-02 19:32:04 +00:00

14 lines
537 B
Diff

Index: Python-3.12.0b1/Lib/site.py
===================================================================
--- Python-3.12.0b1.orig/Lib/site.py
+++ Python-3.12.0b1/Lib/site.py
@@ -76,7 +76,7 @@ import _sitebuiltins
import io
# Prefixes for site-packages; add additional prefixes like /usr/local here
-PREFIXES = [sys.prefix, sys.exec_prefix]
+PREFIXES = [sys.prefix, sys.exec_prefix, '/usr/local']
# Enable per user site-packages directory
# set it to False to disable the feature or True to force the feature
ENABLE_USER_SITE = None