nghttp2/nghttp2-remove-python-build.patch

22 lines
643 B
Diff

Index: nghttp2-1.24.0/python/Makefile.am
===================================================================
--- nghttp2-1.24.0.orig/python/Makefile.am
+++ nghttp2-1.24.0/python/Makefile.am
@@ -29,16 +29,6 @@ EXTRA_DIST = cnghttp2.pxd nghttp2.pyx CM
if ENABLE_PYTHON_BINDINGS
-all-local: nghttp2.c
- $(PYTHON) setup.py build
-
-install-exec-local:
- $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix)
-
-uninstall-local:
- rm -f $(DESTDIR)$(libdir)/python*/site-packages/nghttp2.so
- rm -f $(DESTDIR)$(libdir)/python*/site-packages/python_nghttp2-*.egg
-
clean-local:
$(PYTHON) setup.py clean --all
-rm -f $(builddir)/nghttp2.c