diff options
author | Scott Moser <smoser@ubuntu.com> | 2015-02-10 20:32:32 +0000 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2015-02-10 20:32:32 +0000 |
commit | a4a6702758cf60ecb8742d78e576733dbbdbb9a0 (patch) | |
tree | b5f23eff4f9c7e87fe2b09cdbe1d1b38aa518929 /packages/debian/control.in | |
parent | 888db3e6bb9076973d2f6a73e0c4f691caa89603 (diff) | |
download | vyos-cloud-init-a4a6702758cf60ecb8742d78e576733dbbdbb9a0.tar.gz vyos-cloud-init-a4a6702758cf60ecb8742d78e576733dbbdbb9a0.zip |
make bddeb work with python3 or python2
painful, and not perfect, but at this point the output builds
on a vivid system python2 (bddeb --python2) or python3.
* remove use of cheetah by bddeb in favor of builtin renderer
* add '--python2' flag to bddeb and knowledge of python 2 and python3
package names.
* read-dependencies can now read test-requirements also.
* differenciate from build-requirements and runtime requirements.
Diffstat (limited to 'packages/debian/control.in')
-rw-r--r-- | packages/debian/control.in | 29 |
1 files changed, 10 insertions, 19 deletions
diff --git a/packages/debian/control.in b/packages/debian/control.in index 9207e5f4..bd6e3867 100644 --- a/packages/debian/control.in +++ b/packages/debian/control.in @@ -1,4 +1,4 @@ -## This is a cheetah template +## template:basic Source: cloud-init Section: admin Priority: optional @@ -6,31 +6,22 @@ Maintainer: Scott Moser <smoser@ubuntu.com> Build-Depends: debhelper (>= 9), dh-python, dh-systemd, - python (>= 2.6.6-3~), - python-nose, pyflakes, - python-setuptools, - python-selinux, - python-cheetah, - python-mocker, - python-httpretty, -#for $r in $requires - ${r}, -#end for + ${python}, + ${test_requires}, + ${requires} XS-Python-Version: all -Standards-Version: 3.9.3 +Standards-Version: 3.9.6 Package: cloud-init Architecture: all Depends: procps, - python, -#for $r in $requires - ${r}, -#end for - python-software-properties | software-properties-common, - \${misc:Depends}, + ${python}, + ${requires}, + software-properties-common, + ${misc:Depends}, Recommends: sudo -XB-Python-Version: \${python:Versions} +XB-Python-Version: ${python:Versions} Description: Init scripts for cloud instances Cloud instances need special scripts to run during initialisation to retrieve and install ssh keys and to let the user run various scripts. |