[Python-modules-commits] r30181 - in packages/pyopenssl/trunk/debian (rules)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Sun Aug 17 01:32:31 UTC 2014


    Date: Sunday, August 17, 2014 @ 01:32:30
  Author: morph
Revision: 30181

remove last calls for dbg pkgs

Modified:
  packages/pyopenssl/trunk/debian/rules

Modified: packages/pyopenssl/trunk/debian/rules
===================================================================
--- packages/pyopenssl/trunk/debian/rules	2014-08-17 00:30:37 UTC (rev 30180)
+++ packages/pyopenssl/trunk/debian/rules	2014-08-17 01:32:30 UTC (rev 30181)
@@ -14,7 +14,6 @@
 	set -e; \
 	for py in $(PYVERS); do  \
 	    python$$py setup.py build; \
-	    python$$py-dbg setup.py build; \
 	done
 
 	$(MAKE) -C doc html
@@ -26,7 +25,6 @@
 	    for test in OpenSSL/test/test*; do \
 	        echo "running $$test for python$$py ..."; \
 	        PYTHONPATH=build/lib.$(DEB_BUILD_ARCH_OS)-$(shell uname -m)-$$py python$$py $$test; \
-	        PYTHONPATH=`ls -d build/lib_d.*-$$py || ls -d build/lib.*-$$py-pydebug` python$$py-dbg $$test; \
 	    done; \
 	done
 endif
@@ -35,7 +33,6 @@
 override_dh_auto_clean:
 	-for py in $(PYVERS); do \
 	    python$$py setup.py clean --all; \
-	    python$$py-dbg setup.py clean --all; \
 	done
 
 	rm -rf build
@@ -52,24 +49,12 @@
 	for py in $(PY2VERS); do \
 	    echo "installing for python$$py ..."; \
  	    python$$py setup.py install --root=$(CURDIR)/debian/python-openssl --install-layout=deb; \
-	    echo "installing for python$$py-dbg ..."; \
-	    python$$py-dbg setup.py install --root=$(CURDIR)/debian/python-openssl-dbg --install-layout=deb; \
  	done
 	set -e; \
 	for py in $(PY3VERS); do \
 	    echo "installing for python$$py ..."; \
  	    python$$py setup.py install --root=$(CURDIR)/debian/python3-openssl --install-layout=deb; \
-	    echo "installing for python$$py-dbg ..."; \
-	    python$$py-dbg setup.py install --root=$(CURDIR)/debian/python3-openssl-dbg --install-layout=deb; \
  	done
-	find debian/python-openssl-dbg ! -type d ! -name '*_d.so' | xargs rm -f
-	find debian/python-openssl-dbg -depth -empty -exec rmdir {} \;
 
 override_dh_installchangelogs:
 	dh_installchangelogs ChangeLog
-
-override_dh_strip:
-	dh_strip -ppython-openssl --dbg-package=python-openssl-dbg
-	dh_strip -ppython3-openssl --dbg-package=python3-openssl-dbg
-	rm -rf debian/python-openssl-dbg/usr/share/doc/python-openssl-dbg
-	ln -s python-openssl debian/python-openssl-dbg/usr/share/doc/python-openssl-dbg




More information about the Python-modules-commits mailing list