summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMihai Prica <mihai.prica@intel.com>2013-05-07 10:50:19 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2013-05-10 11:02:38 +0200
commit4ef9139be2f21dabd313d25e000e0285f5a2be82 (patch)
tree8b6de411d68d82e171dd88d7dc7a4f7d88743007
parentc326bde764bcfdf882aa685ada6d71ea7aa556d3 (diff)
downloadmeta-openembedded-4ef9139be2f21dabd313d25e000e0285f5a2be82.tar.gz
mysql-python: Added recipe for mysql-python
This package provides an interface to MySQL for Python. Signed-off-by: Mihai Prica <mihai.prica@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/recipes-support/mysql/mysql-python/remove-distribute.patch17
-rw-r--r--meta-oe/recipes-support/mysql/mysql-python_1.2.4.bb18
2 files changed, 35 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/mysql/mysql-python/remove-distribute.patch b/meta-oe/recipes-support/mysql/mysql-python/remove-distribute.patch
new file mode 100644
index 0000000000..0ce750d63d
--- /dev/null
+++ b/meta-oe/recipes-support/mysql/mysql-python/remove-distribute.patch
@@ -0,0 +1,17 @@
1Upstream-Status: Innapropriate
2
3Index: MySQL-python-1.2.4/setup.py
4===================================================================
5--- MySQL-python-1.2.4.orig/setup.py
6+++ MySQL-python-1.2.4/setup.py
7@@ -3,8 +3,8 @@
8 import os
9 import sys
10
11-from distribute_setup import use_setuptools
12-use_setuptools()
13+#from distribute_setup import use_setuptools
14+#use_setuptools()
15 from setuptools import setup, Extension
16
17 if not hasattr(sys, "hexversion") or sys.hexversion < 0x02040000:
diff --git a/meta-oe/recipes-support/mysql/mysql-python_1.2.4.bb b/meta-oe/recipes-support/mysql/mysql-python_1.2.4.bb
new file mode 100644
index 0000000000..37ad21c8e7
--- /dev/null
+++ b/meta-oe/recipes-support/mysql/mysql-python_1.2.4.bb
@@ -0,0 +1,18 @@
1DESCRIPTION = "Python interface to MySQL"
2HOMEPAGE = "https://github.com/farcepest/MySQLdb1"
3SECTION = "devel/python"
4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://GPL-2.0;md5=b234ee4d69f5fce4486a80fdaf4a4263"
6
7PR = "r0"
8SRCNAME = "MySQL-python"
9
10SRC_URI = "https://pypi.python.org/packages/source/M/${SRCNAME}/${SRCNAME}-${PV}.zip \
11 file://remove-distribute.patch"
12
13SRC_URI[md5sum] = "ddf2386daf10a97af115ffad2ed4a9a0"
14SRC_URI[sha256sum] = "e405f9d6be33923d428acaa4db4f4470427f1d15ea0d2d82a933449ace26bbd9"
15
16S = "${WORKDIR}/${SRCNAME}-${PV}"
17
18inherit setuptools