[Python-modules-commits] [xhtml2pdf] 07/13: rationalise installation of executables

Drew Parsons dparsons at moszumanska.debian.org
Mon Oct 30 04:27:17 UTC 2017


This is an automated email from the git hooks/post-receive script.

dparsons pushed a commit to branch master
in repository xhtml2pdf.

commit b66b3d29ff72662548ae81d5f2515facb8023d1c
Author: Drew Parsons <dparsons at emerall.com>
Date:   Mon Oct 30 11:44:17 2017 +0800

    rationalise installation of executables
    
    don't install pisa
    
    install python3 version as xhtml2pdf3
    
    Apple reference file no longer appears, so no need to remove it from
    django example.
---
 debian/rules | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/debian/rules b/debian/rules
index ce5c5e7..f9906bf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,13 +20,11 @@ override_dh_auto_install:
 	dh_auto_install
 	# /usr/bin/xhtml2pdf and /usr/bin/pisa are the same thing,
 	# let's only install the one, that is documented
-	#rm debian/python-pisa/usr/bin/pisa
+	rm debian/python-xhtml2pdf/usr/bin/pisa
+	rm debian/python3-xhtml2pdf/usr/bin/pisa
+	mv debian/python3-xhtml2pdf/usr/bin/xhtml2pdf debian/python3-xhtml2pdf/usr/bin/xhtml2pdf3
 
 override_dh_clean:
 	-rm xhtml2pdf.1
 	dh_clean
 
-override_dh_installexamples:
-	dh_installexamples
-	# remove useless MacOSX resource fork file
-	#rm debian/python-pisa/usr/share/doc/python-pisa/examples/djangoproject/._views.py

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/xhtml2pdf.git



More information about the Python-modules-commits mailing list