]> git.pld-linux.org Git - packages/mozjs68.git/blob - system-virtualenv.patch
icu rebuild
[packages/mozjs68.git] / system-virtualenv.patch
1 diff -urN mozjs-60.1.0.orig/python/mozbuild/mozbuild/virtualenv.py mozjs-60.1.0/python/mozbuild/mozbuild/virtualenv.py
2 --- mozjs-60.1.0.orig/python/mozbuild/mozbuild/virtualenv.py    2018-06-19 00:24:05.000000000 +0200
3 +++ mozjs-60.1.0/python/mozbuild/mozbuild/virtualenv.py 2019-01-27 14:30:42.181096929 +0100
4 @@ -66,8 +66,7 @@
5      @property
6      def virtualenv_script_path(self):
7          """Path to virtualenv's own populator script."""
8 -        return os.path.join(self.topsrcdir, 'third_party', 'python',
9 -            'virtualenv', 'virtualenv.py')
10 +        return '/usr/bin/virtualenv-2'
11  
12      @property
13      def bin_path(self):
14 @@ -424,7 +424,7 @@
15                  handle_package(package)
16  
17              sitecustomize = os.path.join(
18 -                os.path.dirname(os.__file__), 'sitecustomize.py')
19 +                os.path.dirname(distutils.sysconfig.get_python_lib()), 'sitecustomize.py')
20              with open(sitecustomize, 'w') as f:
21                  f.write(
22                      '# Importing mach_bootstrap has the side effect of\n'
This page took 0.038816 seconds and 3 git commands to generate.