summaryrefslogtreecommitdiffstats
path: root/tests/t301/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'tests/t301/debian/rules')
-rwxr-xr-xtests/t301/debian/rules25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/t301/debian/rules b/tests/t301/debian/rules
new file mode 100755
index 0000000..9c1bdff
--- /dev/null
+++ b/tests/t301/debian/rules
@@ -0,0 +1,25 @@
+#!/usr/bin/make -f
+%:
+ dh $@ --buildsystem=python_distutils
+
+override_dh_auto_install:
+ python3 setup.py install --root=debian/python3-foo/
+
+override_dh_install:
+ dh_install
+ find debian/ -name jquery.js -exec \
+ ln -fs /usr/share/javascript/jquery/jquery.js '{}' \;
+ DH_VERBOSE=1 ../../dh_python3\
+ --depends 'SQLAlchemy >= 0.6.1'\
+ --recommends Mako\
+ --suggests 'Foo >= 0.1'\
+ --suggests 'bar >= 1.0'
+
+clean:
+ rm -rf build
+ dh clean
+
+override_dh_auto_build:
+
+override_dh_auto_clean:
+ #python3 setup.py clean