]> git.pld-linux.org Git - packages/libprelude.git/blame - python-install.patch
- up to 4.1.0
[packages/libprelude.git] / python-install.patch
CommitLineData
e4dc5952
JB
1--- libprelude-3.1.0/bindings/python/Makefile.am.orig 2016-10-09 10:39:49.724308046 +0200
2+++ libprelude-3.1.0/bindings/python/Makefile.am 2016-10-09 14:42:44.384141631 +0200
25f258d7 3@@ -10,17 +10,17 @@
718d2808 4
25f258d7
JB
5 python-build: _prelude.cxx
6 if HAVE_PYTHON2
7- CC="$(CXX)" $(PYTHON2) setup.py build
8+ CC="$(CXX)" $(PYTHON2) setup.py build --build-base=build-2
9 endif
10 if HAVE_PYTHON3
11- CC="$(CXX)" $(PYTHON3) setup.py build
12+ CC="$(CXX)" $(PYTHON3) setup.py build --build-base=build-3
13 endif
718d2808 14 install-exec-hook:
25f258d7 15 if HAVE_PYTHON2
e4dc5952
JB
16- $(PYTHON2) setup.py install `test -n "$(DESTDIR)" && echo --root $(DESTDIR)` --prefix @prefix@
17+ $(PYTHON2) setup.py build --build-base=build-2 install `test -n "$(DESTDIR)" && echo --root $(DESTDIR)` --skip-build --prefix @prefix@ --install-purelib $(pythondir) --install-platlib $(pyexecdir) --optimize=2
25f258d7
JB
18 endif
19 if HAVE_PYTHON3
e4dc5952
JB
20- $(PYTHON3) setup.py install `test -n "$(DESTDIR)" && echo --root $(DESTDIR)` --prefix @prefix@
21+ $(PYTHON3) setup.py build --build-base=build-3 install `test -n "$(DESTDIR)" && echo --root $(DESTDIR)` --skip-build --prefix @prefix@ --install-purelib $(python3dir) --install-platlib $(py3execdir) --optimize=2
25f258d7 22 endif
718d2808
JR
23
24 uninstall-hook:
This page took 0.083698 seconds and 4 git commands to generate.