summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorParide Legovini <paride.legovini@canonical.com>2020-01-24 21:12:11 +0100
committerDaniel Watkins <oddbloke@ubuntu.com>2020-01-24 15:12:11 -0500
commitc99cfb21164b24644fec56013449b2b1e3b54fb3 (patch)
tree884c86d37e85af02fd1e43ad594ba82b222e936a /packages
parent42788bf24a1a0a5421a2d00a7f59b59e38ba1a14 (diff)
downloadvyos-cloud-init-c99cfb21164b24644fec56013449b2b1e3b54fb3.tar.gz
vyos-cloud-init-c99cfb21164b24644fec56013449b2b1e3b54fb3.zip
Make the RPM build use Python 3 (#190)
* packages/brpm: switch to python3 No changes needed other than changing the shebang interpreter. * pkg-deps.json: bump the redhat build dependencies to python36 CentOS 7 (our standard target for the COPR test builds) uses python3.6 as its default python3 interpreter, so let's bump the build dependencies accordingly.
Diffstat (limited to 'packages')
-rwxr-xr-xpackages/brpm2
-rw-r--r--packages/pkg-deps.json12
2 files changed, 7 insertions, 7 deletions
diff --git a/packages/brpm b/packages/brpm
index a154ef29..4004fd0e 100755
--- a/packages/brpm
+++ b/packages/brpm
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import argparse
import glob
diff --git a/packages/pkg-deps.json b/packages/pkg-deps.json
index 72409dd8..cf065219 100644
--- a/packages/pkg-deps.json
+++ b/packages/pkg-deps.json
@@ -29,27 +29,27 @@
],
"renames" : {
"jinja2" : {
- "3" : "python34-jinja2"
+ "3" : "python36-jinja2"
},
"jsonschema" : {
- "3" : "python34-jsonschema"
+ "3" : "python36-jsonschema"
},
"pyflakes" : {
"2" : "pyflakes",
- "3" : "python34-pyflakes"
+ "3" : "python36-pyflakes"
},
"pyyaml" : {
"2" : "PyYAML",
- "3" : "python34-PyYAML"
+ "3" : "python36-PyYAML"
},
"pyserial" : {
"2" : "pyserial"
},
"requests" : {
- "3" : "python34-requests"
+ "3" : "python36-requests"
},
"six" : {
- "3" : "python34-six"
+ "3" : "python36-six"
}
},
"requires" : [