summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/control4
-rwxr-xr-xdebian/rules9
2 files changed, 10 insertions, 3 deletions
diff --git a/debian/control b/debian/control
index 875b1135b..3c6abdb2b 100644
--- a/debian/control
+++ b/debian/control
@@ -2,11 +2,11 @@ Source: vyos-1x
Section: contrib/net
Priority: extra
Maintainer: VyOS Package Maintainers <maintainers@vyos.net>
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper (>= 9), python3, python3-setuptools, quilt
Standards-Version: 3.9.6
Package: vyos-1x
Architecture: all
-Depends: python3
+Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}
Description: VyOS configuration scripts and data
VyOS configuration scripts, interface definitions, and everything
diff --git a/debian/rules b/debian/rules
index 2d33f6ac8..e76b80267 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,11 @@
#!/usr/bin/make -f
%:
- dh $@
+ dh $@ --with python3, --with quilt
+
+override_dh_auto_build:
+
+override_dh_auto_install:
+ dh_install -pvyos-1x
+ cd python; python3 setup.py install --install-layout=deb --root ../debian/vyos-1x; cd ..
+