[Python-apps-commits] r12501 - in packages/hovercraft/trunk/debian (control rules)

danstender-guest at users.alioth.debian.org danstender-guest at users.alioth.debian.org
Mon Oct 19 19:26:20 UTC 2015


    Date: Monday, October 19, 2015 @ 19:26:18
  Author: danstender-guest
Revision: 12501

deb/rules: use packaged impress.js instead of covenience code for binary

Modified:
  packages/hovercraft/trunk/debian/control
  packages/hovercraft/trunk/debian/rules

Modified: packages/hovercraft/trunk/debian/control
===================================================================
--- packages/hovercraft/trunk/debian/control	2015-10-19 19:03:47 UTC (rev 12500)
+++ packages/hovercraft/trunk/debian/control	2015-10-19 19:26:18 UTC (rev 12501)
@@ -22,6 +22,7 @@
 Package: hovercraft
 Architecture: all
 Depends: python3-docutils,
+         libjs-impress,
          ${misc:Depends},
          ${python3:Depends},
          ${sphinxdoc:Depends}

Modified: packages/hovercraft/trunk/debian/rules
===================================================================
--- packages/hovercraft/trunk/debian/rules	2015-10-19 19:03:47 UTC (rev 12500)
+++ packages/hovercraft/trunk/debian/rules	2015-10-19 19:26:18 UTC (rev 12501)
@@ -17,7 +17,10 @@
 
 override_dh_auto_install:
 	python3 setup.py install --root=debian/hovercraft --install-layout=deb --install-lib=/usr/share/hovercraft --install-scripts=/usr/share/hovercraft
+	# strip tests from binary, they're not running due to missing python-logo-master-v3-TM.png:
 	find debian/hovercraft -type d -name tests -print | xargs /bin/rm -rf
+	# use packaged impress.js instead of covenience code for binary:
+	find debian/hovercraft -name impress.js -exec ln -sfv /usr/share/javascript/impress/impress.js '{}' \;
 
 override_dh_installdocs:
 ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))




More information about the Python-apps-commits mailing list