]> git.pld-linux.org Git - packages/firefox.git/blobdiff - firefox-system-virtualenv.patch
Release 2 (by relup.sh)
[packages/firefox.git] / firefox-system-virtualenv.patch
index c97400c212daf89526490eaab45400bc29084d97..d412b6593547e7aba1fda18ce209df1266d9dbf5 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-2'
+--- 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 _resolve_installed_packages(python_executable):
+     pip_json = subprocess.check_output(
This page took 0.032444 seconds and 4 git commands to generate.