]> git.pld-linux.org Git - packages/firefox.git/blobdiff - firefox-system-virtualenv.patch
up to 96.0.2
[packages/firefox.git] / firefox-system-virtualenv.patch
index 3650d5697d974a2f36573b77a98fd3a6ebd9e257..e124386e7f704a0182ed66d71611ba8fd85ac4f2 100644 (file)
@@ -1,12 +1,14 @@
---- xulrunner-27.0/mozilla/python/mozbuild/mozbuild/virtualenv.py~     2013-05-11 21:19:23.000000000 +0200
-+++ xulrunner-27.0/mozilla/python/mozbuild/mozbuild/virtualenv.py      2013-05-14 22:51:32.136719267 +0200
-@@ -37,8 +37,7 @@
-     @property
-     def virtualenv_script_path(self):
-         """Path to virtualenv's own populator script."""
--        return os.path.join(self.topsrcdir, 'python', 'virtualenv',
--            'virtualenv.py')
-+        return '/usr/bin/virtualenv'
+--- firefox-96.0/python/mach/mach/site.py.orig 2022-01-06 19:32:46.000000000 +0100
++++ firefox-96.0/python/mach/mach/site.py      2022-01-12 13:21:03.273897180 +0100
+@@ -848,10 +848,7 @@
  
-     @property
-     def python_path(self):
+ def _virtualenv_py_path(topsrcdir):
+-    return os.path.join(
+-        topsrcdir, "third_party", "python", "virtualenv", "virtualenv.py"
+-    )
+-
++    return '/usr/bin/virtualenv-3'
+ def _system_python_env_variable_present():
+     return any(
This page took 0.035455 seconds and 4 git commands to generate.