commit cea85b2cb85628d5c499130790755405f2d1b476
Author: Jan Palus <[email protected]>
Date:   Wed Jan 19 01:46:21 2022 +0100

    use get_python_lib() to determine target for sitecustomize.py
    
    follows mozjs78

 seamonkey-system-virtualenv.patch | 9 +++++++++
 1 file changed, 9 insertions(+)
---
diff --git a/seamonkey-system-virtualenv.patch 
b/seamonkey-system-virtualenv.patch
index 81c7663..42a8aea 100644
--- a/seamonkey-system-virtualenv.patch
+++ b/seamonkey-system-virtualenv.patch
@@ -10,3 +10,12 @@
  
      @property
      def bin_path(self):
+@@ -424,7 +424,7 @@
+                 handle_package(package)
+ 
+             sitecustomize = os.path.join(
+-                os.path.dirname(os.__file__), 'sitecustomize.py')
++                os.path.dirname(distutils.sysconfig.get_python_lib()), 
'sitecustomize.py')
+             with open(sitecustomize, 'w') as f:
+                 f.write(
+                     '# Importing mach_bootstrap has the side effect of\n'
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/seamonkey.git/commitdiff/cea85b2cb85628d5c499130790755405f2d1b476

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to