[gnome-continuous] Patch python-requests in order to build it
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous] Patch python-requests in order to build it
- Date: Fri, 19 Feb 2016 11:12:49 +0000 (UTC)
commit 6aa317d8de65c986eea3a32a9f447b240865f231
Author: Emmanuele Bassi <ebassi gnome org>
Date: Fri Feb 19 11:12:17 2016 +0000
Patch python-requests in order to build it
We need to call setup.py.
manifest.json | 1 +
patches/python-requests-buildsys.patch | 40 ++++++++++++++++++++++++++++++++
2 files changed, 41 insertions(+), 0 deletions(-)
---
diff --git a/manifest.json b/manifest.json
index 32167f2..95fb8b7 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1394,6 +1394,7 @@
{"src": "tarball:https://pypi.python.org/packages/source/r/requests/requests-2.9.1.tar.gz";,
"name": "python-requests",
"checksum": "c577815dd00f1394203fc44eb979724b098f88264a9ef898ee45b8e5e9cf587f"},
+ "patches": ["python-requests-buildsys.patch"]},
{"src": "gnome:gnome-music"}
],
diff --git a/patches/python-requests-buildsys.patch b/patches/python-requests-buildsys.patch
new file mode 100644
index 0000000..828dd36
--- /dev/null
+++ b/patches/python-requests-buildsys.patch
@@ -0,0 +1,40 @@
+From a5556fc1e10503bcf74779b340b659594197d9ef Mon Sep 17 00:00:00 2001
+From: Emmanuele Bassi <ebassi gnome org>
+Date: Fri, 19 Feb 2016 11:11:04 +0000
+Subject: [PATCH] build-sys: Add configure and Makefile
+
+Implement the GNOME Build API for Continuous.
+
+See: http://people.gnome.org/~walters/docs/build-api.txt
+---
+ Makefile | 6 ++++++
+ configure | 4 ++++
+ 2 files changed, 10 insertions(+)
+ create mode 100644 Makefile
+ create mode 100755 configure
+
+diff --git a/Makefile b/Makefile
+new file mode 100644
+index 0000000..721635d
+--- /dev/null
++++ b/Makefile
+@@ -0,0 +1,6 @@
++# python-requests *development* Makefile
++all:
++ python setup.py build
++
++install:
++ python setup.py install --root=$(DESTDIR)
+diff --git a/configure b/configure
+new file mode 100755
+index 0000000..fb22862
+--- /dev/null
++++ b/configure
+@@ -0,0 +1,4 @@
++#!/bin/bash
++# http://people.gnome.org/~walters/docs/build-api.txt
++#buildapi-variable-no-builddir
++exec python setup.py build
+--
+2.5.0
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]