From 8cc396c20398e01f4af76d386d87a38811cead06 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Thu, 17 Aug 2017 21:42:19 -0400 Subject: T353: add the Python library for reading VyOS config to the new package. --- debian/control | 4 ++-- debian/rules | 9 ++++++++- 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'debian') 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 -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 .. + -- cgit v1.2.3