[gnome-continuous] pygobject: build with distutils



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

    pygobject: build with distutils
    
    https://bugzilla.gnome.org/show_bug.cgi?id=794664

 manifest.json                    |    5 +++--
 patches/pygobject-buildsys.patch |   36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 39 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..89c435b
--- /dev/null
+++ b/patches/pygobject-buildsys.patch
@@ -0,0 +1,36 @@
+From 43075341a4a4edc797e511e3819eea246fd545fa 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  | 5 +++++
+ configure | 4 ++++
+ 2 files changed, 9 insertions(+)
+ create mode 100644 Makefile
+ create mode 100755 configure
+
+diff --git a/Makefile b/Makefile
+new file mode 100644
+index 00000000..bd614163
+--- /dev/null
++++ b/Makefile
+@@ -0,0 +1,5 @@
++all:
++      python3 setup.py build
++
++install:
++      python3 setup.py install --root=$(DESTDIR) --prefix /usr
+diff --git a/configure b/configure
+new file mode 100755
+index 00000000..1c8e45fa
+--- /dev/null
++++ b/configure
+@@ -0,0 +1,4 @@
++#!/bin/bash
++# http://people.gnome.org/~walters/docs/build-api.txt
++#buildapi-variable-no-builddir
++exec python3 setup.py build
+-- 
+2.16.3
+


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