[Python-apps-commits] r12407 - in packages/hovercraft/trunk/debian (control rules)
danstender-guest at users.alioth.debian.org
danstender-guest at users.alioth.debian.org
Wed Sep 23 19:38:58 UTC 2015
Date: Wednesday, September 23, 2015 @ 19:38:57
Author: danstender-guest
Revision: 12407
run tests with a little hack to replace stripped python-logo
Modified:
packages/hovercraft/trunk/debian/control
packages/hovercraft/trunk/debian/rules
Modified: packages/hovercraft/trunk/debian/control
===================================================================
--- packages/hovercraft/trunk/debian/control 2015-09-23 19:18:13 UTC (rev 12406)
+++ packages/hovercraft/trunk/debian/control 2015-09-23 19:38:57 UTC (rev 12407)
@@ -9,6 +9,7 @@
python3,
python3-setuptools,
python3-svg.path,
+ python3-manuel,
python-sphinx (>= 1.0.7+dfsg-1~),
python-pygments
Standards-Version: 3.9.6
Modified: packages/hovercraft/trunk/debian/rules
===================================================================
--- packages/hovercraft/trunk/debian/rules 2015-09-23 19:18:13 UTC (rev 12406)
+++ packages/hovercraft/trunk/debian/rules 2015-09-23 19:38:57 UTC (rev 12407)
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
#export DH_VERBOSE=1
-export DEB_BUILD_OPTIONS=nocheck # needs python3-manuel and fix for removed Python logo image
+#export DEB_BUILD_OPTIONS=nocheck
export PYBUILD_NAME=hovercraft
DEBDATE := $(shell dpkg-parsechangelog -Sdate | date -u +%F -f -)
@@ -8,6 +8,12 @@
%:
dh $@ --with python3,sphinxdoc --buildsystem=pybuild
+override_dh_auto_test:
+ ln -s $(CURDIR)/docs/examples/images/hovercraft_logo.png $(CURDIR)/hovercraft/tests/test_data/images/python-logo-master-v3-TM.png
+ ln -s $(CURDIR)/docs/examples/images/hovercraft_logo.png $(CURDIR)/hovercraft/tests/test_data/maximal/images/python-logo-master-v3-TM.png
+ dh_auto_test
+ find $(CURDIR)/hovercraft/tests/test_data -type l -delete
+
override_dh_auto_install:
python3 setup.py install --root=debian/hovercraft --install-layout=deb --install-lib=/usr/share/hovercraft --install-scripts=/usr/share/hovercraft
find debian/hovercraft -type d -name tests -print | xargs /bin/rm -rf
More information about the Python-apps-commits
mailing list