[gnome-builder] manifest: use python3 wheel for docutils



commit e97b7a44b3fd43cdbd89bda3548a992769bbb5e4
Author: Christian Hergert <chergert redhat com>
Date:   Sun Mar 19 20:45:52 2017 -0700

    manifest: use python3 wheel for docutils
    
    This is particularly difficult to compile on org.gnome.Sdk right now as it
    is missing the lib2to3 in python3. However, the wheel works just fine and
    is noarch, so might as well just use it.

 build/flatpak/docutils-makefile |    6 ------
 org.gnome.Builder.json          |   14 ++++++--------
 2 files changed, 6 insertions(+), 14 deletions(-)
---
diff --git a/org.gnome.Builder.json b/org.gnome.Builder.json
index 0bbfc16..1fc6cfa 100644
--- a/org.gnome.Builder.json
+++ b/org.gnome.Builder.json
@@ -209,17 +209,15 @@
         },
         {
             "name": "python3-docutils",
-            "no-autogen": true,
+            "buildsystem": "simple",
+            "build-commands": [
+                "pip3.5 install --prefix=/app docutils-0.13.1-py3-none-any.whl"
+            ],
             "sources": [
                 {
-                    "type": "archive",
-                    "url": 
"https://pypi.python.org/packages/05/25/7b5484aca5d46915493f1fd4ecb63c38c333bd32aa9ad6e19da8d08895ae/docutils-0.13.1.tar.gz";,
-                    "sha256": "718c0f5fb677be0f34b781e04241c4067cbd9327b66bdd8e763201130f5175be"
-                },
-                {
                     "type": "file",
-                    "path": "build/flatpak/docutils-makefile",
-                    "dest-filename": "Makefile"
+                    "url": 
"https://pypi.python.org/packages/7c/30/8fb30d820c012a6f701a66618ce065b6d61d08ac0a77e47fc7808dbaee47/docutils-0.13.1-py3-none-any.whl";,
+                    "sha256": "cb3ebcb09242804f84bdbf0b26504077a054da6772c6f4d625f335cc53ebf94d"
                 }
             ]
         },


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]