[gnome-builder] manifest: build docutils with py2 and py3
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] manifest: build docutils with py2 and py3
- Date: Mon, 20 Mar 2017 03:48:45 +0000 (UTC)
commit 3d2172e1c5895744d3a2451d69efa28ab837259d
Author: Christian Hergert <chergert redhat com>
Date: Sun Mar 19 18:45:52 2017 -0700
manifest: build docutils with py2 and py3
build/flatpak/docutils-makefile | 6 ++++++
org.gnome.Builder.json | 6 +-----
2 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/build/flatpak/docutils-makefile b/build/flatpak/docutils-makefile
new file mode 100644
index 0000000..51c9608
--- /dev/null
+++ b/build/flatpak/docutils-makefile
@@ -0,0 +1,6 @@
+all:
+ # Run build with python2 which is required for lib2to3
+ python ./setup.py build
+
+install:
+ python3 ./setup.py install --prefix=/app --skip-build --optimize=1
diff --git a/org.gnome.Builder.json b/org.gnome.Builder.json
index 5ce22a5..0bbfc16 100644
--- a/org.gnome.Builder.json
+++ b/org.gnome.Builder.json
@@ -218,12 +218,8 @@
},
{
"type": "file",
- "path": "build/flatpak/setuptools-makefile",
+ "path": "build/flatpak/docutils-makefile",
"dest-filename": "Makefile"
- },
- {
- "type": "patch",
- "path": "build/flatpak/docutils-fix-python3-shebang.patch"
}
]
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]