aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorLibravatar Mubashshir <ahm@jadupc.com>2023-08-03 16:33:41 +0600
committerLibravatar Mubashshir <ahm@jadupc.com>2023-08-03 16:33:41 +0600
commit70faa8e9a0ff3cba74b4f753e257d56b768fcbd2 (patch)
tree3a49460715f7319d100e0cc9c1a278758500c7c8 /debian/rules
downloadaptdaemon-70faa8e9a0ff3cba74b4f753e257d56b768fcbd2.tar.gz
aptdaemon-70faa8e9a0ff3cba74b4f753e257d56b768fcbd2.zip
Import Upstream version 1.1.1+bzr982
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..3e9ea40
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+
+#DH_VERBOSE=1
+
+PYTHON3=$(shell py3versions -vr)
+
+%:
+ dh $@ --with=python3,translations --buildsystem=pybuild
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -rf build *.egg-info po/aptdaemon.pot
+
+# ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+# test-python%:
+# # wait until previous xvfb-run has finished
+# while [ -e /tmp/.X99-lock ]; do sleep 1; done
+# xvfb-run python$* setup.py test -vv
+
+# override_dh_auto_test: $(PYTHON3:%=test-python%)
+# endif
+
+override_dh_auto_test:
+ true