diff options
author | Daniil Baturin <daniil@baturin.org> | 2017-08-17 21:42:19 -0400 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2017-08-17 21:42:19 -0400 |
commit | 8cc396c20398e01f4af76d386d87a38811cead06 (patch) | |
tree | 733de904aa6062bddce67159b602585b6ff099db /debian | |
parent | 6b3040c5b6cf3a7b545875e646c450cbb96ae8d6 (diff) | |
download | vyos-1x-8cc396c20398e01f4af76d386d87a38811cead06.tar.gz vyos-1x-8cc396c20398e01f4af76d386d87a38811cead06.zip |
T353: add the Python library for reading VyOS config to the new package.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/control | 4 | ||||
-rwxr-xr-x | debian/rules | 9 |
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 .. + |