summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Thompson <will@willthompson.co.uk>2018-09-19 10:28:15 +0100
committerWill Thompson <will@willthompson.co.uk>2018-09-19 11:32:04 +0100
commit1e31d1bddf84c8d004c2a16475b0ea239df14bf9 (patch)
tree289bf7a8e54cbde191a9f3cf9f9145f235f98389
parent45a1146e1122b376ddac312687e8e27d4e0a8076 (diff)
downloadd-feet-1e31d1bddf84c8d004c2a16475b0ea239df14bf9.tar.gz
flatpak: build with Python 3
Python 2 is not included in the 3.30/master runtime (though it is included in the SDK).
-rw-r--r--org.gnome.dfeet.json16
1 files changed, 8 insertions, 8 deletions
diff --git a/org.gnome.dfeet.json b/org.gnome.dfeet.json
index d1e6dab..3ae2608 100644
--- a/org.gnome.dfeet.json
+++ b/org.gnome.dfeet.json
@@ -14,12 +14,17 @@
"--filesystem=xdg-run/dconf", "--filesystem=~/.config/dconf:ro",
"--talk-name=ca.desrt.dconf", "--env=DCONF_USER_CONFIG_DIR=.config/dconf"
],
+ "build-options" : {
+ "env": {
+ "PYTHON": "/usr/bin/python3"
+ }
+ },
"modules": [
{
"name": "pycairo",
"buildsystem": "simple",
"build-commands": [
- "python2 setup.py install --prefix=/app"
+ "python3 setup.py install --prefix=/app"
],
"sources": [
{
@@ -36,13 +41,8 @@
"name": "pygobject",
"buildsystem": "simple",
"build-commands": [
- "python2 setup.py install --prefix=/app"
+ "python3 setup.py install --prefix=/app"
],
- "build-options" : {
- "env": {
- "PYTHON": "/usr/bin/python2"
- }
- },
"ensure-writable" : [
"/lib/python*/site-packages/easy-install.pth"
],
@@ -55,7 +55,7 @@
"cleanup": [
"/include",
"/lib/pkgconfig",
- "/lib/python2.7/site-packages/gi/*.la"
+ "/lib/python*/site-packages/gi/*.la"
]
},
{