[gnome-continuous] pygobject: build with distutils [v2]



commit 1c130b4792d12377afe4502b745b8ed563a8596c
Author: Christoph Reiter <reiter christoph gmail com>
Date:   Sat Mar 24 10:33:03 2018 +0100

    pygobject: build with distutils [v2]
    
    This time with the distutils workaround from
    3b3b0d6e873af175a1ecc8
    
    https://bugzilla.gnome.org/show_bug.cgi?id=794664

 manifest.json                    |    5 +++--
 patches/pygobject-buildsys.patch |   38 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+), 2 deletions(-)
---
diff --git a/manifest.json b/manifest.json
index 02c76d8..cfd9985 100644
--- a/manifest.json
+++ b/manifest.json
@@ -509,8 +509,9 @@
                {"src": "git:https://github.com/pygobject/pycairo.git";,
                 "patches": ["pycairo-buildsys.patch"]},
 
-               {"src": "gnome:pygobject",
-                "config-opts": ["--with-python=python3"]},
+               {"src": "gnome-gitlab:GNOME/pygobject.git",
+                "name": "pygobject",
+                "patches": ["pygobject-buildsys.patch"]},
 
                {"src": "fd-NM:NetworkManager",
                  "tag": "22ffd53369d89bd8b7f34a20800dee9ca287f7e2",
diff --git a/patches/pygobject-buildsys.patch b/patches/pygobject-buildsys.patch
new file mode 100644
index 0000000..552efd4
--- /dev/null
+++ b/patches/pygobject-buildsys.patch
@@ -0,0 +1,38 @@
+From 315f9df9848421df7bf67543f38536d735186cf1 Mon Sep 17 00:00:00 2001
+From: Christoph Reiter <reiter christoph gmail com>
+Date: Sat, 24 Mar 2018 10:26:46 +0100
+Subject: [PATCH] Implement the Build API for GNOME Continuous.
+
+---
+ Makefile  | 7 +++++++
+ configure | 4 ++++
+ 2 files changed, 11 insertions(+)
+ create mode 100644 Makefile
+ create mode 100755 configure
+
+diff --git a/Makefile b/Makefile
+new file mode 100644
+index 00000000..d4caea5f
+--- /dev/null
++++ b/Makefile
+@@ -0,0 +1,7 @@
++CC ?= gcc
++
++all:
++      env CC=$(CC) python3 setup.py build
++
++install:
++      python3 setup.py install --root=$(DESTDIR)
+diff --git a/configure b/configure
+new file mode 100755
+index 00000000..04d14327
+--- /dev/null
++++ b/configure
+@@ -0,0 +1,4 @@
++#!/bin/bash
++# http://people.gnome.org/~walters/docs/build-api.txt
++#buildapi-variable-no-builddir
++exec true
+-- 
+2.16.3
+


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