[Python-modules-commits] [fabulous] 12/15: Install examples into docs examples directory

Ondřej Nový onovy at moszumanska.debian.org
Sun Aug 14 10:40:07 UTC 2016


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

onovy pushed a commit to branch master
in repository fabulous.

commit c389b69d296e41ece7b093d5a357cd8da4ecccdb
Author: Ondřej Nový <onovy at debian.org>
Date:   Sun Aug 14 12:31:01 2016 +0200

    Install examples into docs examples directory
---
 debian/changelog | 1 +
 debian/examples  | 2 ++
 debian/rules     | 3 +++
 3 files changed, 6 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 8406866..3021d2f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,6 +18,7 @@ fabulous (0.3.0+dfsg1-1) UNRELEASED; urgency=low
   * Added python-sphinxcontrib.programoutput to build depends
   * Fixed d/copyright for new release and install AUTHORS file
   * Added fonts-noto-hinted to recommends (Closes: #805473)
+  * Install examples into docs examples directory
 
  -- Simon Chopin <chopin.simon at gmail.com>  Wed, 10 Jul 2013 15:36:12 +0200
 
diff --git a/debian/examples b/debian/examples
new file mode 100644
index 0000000..54f91b6
--- /dev/null
+++ b/debian/examples
@@ -0,0 +1,2 @@
+fabulous/balls.png
+fabulous/demo.py
diff --git a/debian/rules b/debian/rules
index 188f15d..4477f29 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,6 +16,9 @@ override_dh_auto_build-indep:
 
 override_dh_auto_install-arch:
 	dh_auto_install -a
+	rm \
+		debian/tmp/usr/lib/python2*/dist-packages/fabulous/balls.png \
+		debian/tmp/usr/lib/python2*/dist-packages/fabulous/demo.py
 	mv xtermspeedup.so debian/tmp
 
 override_dh_auto_install-indep:

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



More information about the Python-modules-commits mailing list