]> git.pld-linux.org Git - packages/firefox.git/blobdiff - firefox-system-virtualenv.patch
extract bcond for lowering build's memory footprint
[packages/firefox.git] / firefox-system-virtualenv.patch
index fe9ce5c16d9a8630996f6eeab5ee928cf14091d9..35bb5b2cb1a364f2e71e05b37f21ab3a2dea6791 100644 (file)
@@ -1,12 +1,21 @@
 --- 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 @@
+@@ -71,8 +71,7 @@
      @property
      def virtualenv_script_path(self):
          """Path to virtualenv's own populator script."""
 -        return os.path.join(self.topsrcdir, 'third_party', 'python',
--            'virtualenv', 'virtualenv.py')
+-                            'virtualenv', 'virtualenv.py')
 +        return '/usr/bin/virtualenv-2'
  
      @property
-     def python_path(self):
+     def bin_path(self):
+@@ -294,7 +293,7 @@
+         into the wrong place. This is how virtualenv's work.
+         """
+         packages = self.packages()
+-        python_lib = distutils.sysconfig.get_python_lib()
++        python_lib = distutils.sysconfig.get_python_lib(1)
+         def handle_package(package):
+             if package[0] == 'setup.py':
This page took 0.092218 seconds and 4 git commands to generate.