python/hypothesis: update to 6.121.0
[oi-userland.git] / components / print / system-config-printer / patches / 01-vendor-packages.patch
blob6e1a7cf807fdacaf76ee292e35e3f208e9e3c8d4
1 This is to get similar results as with the setup.py build style
2 (see setup.py.mk).
4 --- system-config-printer-1.5.18/configure.orig
5 +++ system-config-printer-1.5.18/configure
6 @@ -7750,7 +7750,7 @@
7 else:
8 from distutils import sysconfig
9 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
10 -sys.stdout.write(sitedir)"`
11 +sys.stdout.write(sitedir)" | sed -e 's/site-packages/vendor-packages/g'`
13 case $am_cv_python_pythondir in
14 $am_py_prefix*)
15 @@ -7793,7 +7793,7 @@
16 else:
17 from distutils import sysconfig
18 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
19 -sys.stdout.write(sitedir)"`
20 +sys.stdout.write(sitedir)" | sed -e 's/site-packages/vendor-packages/g'`
22 case $am_cv_python_pyexecdir in
23 $am_py_exec_prefix*)
24 --- system-config-printer-1.5.18/Makefile.am.orig
25 +++ system-config-printer-1.5.18/Makefile.am
26 @@ -63,7 +63,7 @@
28 # Use distutils to install the module.
29 install-exec-local: .stamp-distutils-in-builddir
30 - $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix)
31 + $(PYTHON) setup.py install --root $(DESTDIR) --install-lib=$(pythondir) --skip-build
33 # Uninstall the module, crossing our fingers that we know enough
34 # about how distutils works to do this. Unfortunately, distutils