[Python-apps-team] Bug#934661: [PATCH] Keep help files in upstream location

Aaron Schrab aaron at schrab.com
Wed Aug 14 02:36:22 BST 2019


tags 934661 patch
thanks

----- >8 -----

Removing the entire contents due to the missing __init__.py file.
Removing the markdown files from this location prevents the help from
being displayed through the web UI.
---
 debian/python3-fava.docs | 1 -
 debian/rules             | 4 ----
 2 files changed, 5 deletions(-)

diff --git a/debian/python3-fava.docs b/debian/python3-fava.docs
index bd619a9..a1320b1 100644
--- a/debian/python3-fava.docs
+++ b/debian/python3-fava.docs
@@ -1,2 +1 @@
 README.rst
-fava/help/
diff --git a/debian/rules b/debian/rules
index f1bf718..d6e9c81 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,6 @@ include /usr/share/dpkg/pkg-info.mk
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie
 
-export PYBUILD_AFTER_INSTALL=rm -rf '{destdir}/{install_dir}/fava/help'
 export PYBUILD_NAME=fava
 %:
 	dh $@ --with python3 --buildsystem=pybuild
@@ -26,6 +25,3 @@ endif
 override_dh_auto_clean:
 	dh_auto_clean
 	rm -f debian/manpages/fava.1
-
-override_dh_installdocs:
-	dh_installdocs -X __init__.py -X __pycache__
-- 
2.23.0.rc1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 549 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/python-apps-team/attachments/20190813/2b7fd581/attachment.sig>


More information about the Python-apps-team mailing list