nghttp2/nghttp2-remove-python-build.patch

22 lines
642 B
Diff

Index: nghttp2-1.1.1/python/Makefile.am
===================================================================
--- nghttp2-1.1.1.orig/python/Makefile.am
+++ nghttp2-1.1.1/python/Makefile.am
@@ -29,16 +29,6 @@ EXTRA_DIST = cnghttp2.pxd nghttp2.pyx
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-info
-
clean-local:
$(PYTHON) setup.py clean --all
-rm -f $(builddir)/nghttp2.c