Add an ebuild to install MySQLdb for python.
Copied in dev-python/python-mysql from portage upstream and modified it to
allow for cross-compiling.
* Requires binutils to build.
* Searches the SYSROOT for mysql_config rather than /usr/local/bin
* Points the linker correctly to the required libraries.
BUG=chromium:342619
TEST=Built stumpy_moblab and ensured I can now import MySQLdb.
Change-Id: I019f4cb118e456f211f42553030047f7406c79fb
Reviewed-on: https://chromium-review.googlesource.com/185946
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Simran Basi <sbasi@chromium.org>
Tested-by: Simran Basi <sbasi@chromium.org>
diff --git a/dev-python/mysql-python/Manifest b/dev-python/mysql-python/Manifest
new file mode 100644
index 0000000..1330a7a
--- /dev/null
+++ b/dev-python/mysql-python/Manifest
@@ -0,0 +1 @@
+DIST MySQL-python-1.2.3.tar.gz 70305 SHA256 7de66fbbf923634e7c965aeaefa74642ba75ae20ee1cefcefc3009595b7a7e6e SHA512 8c1c88ccf833744ac1f78673cb306cafe7f9bfc85ab2ce6dee1024b86571c17f006e3ab8452dba3527976f39aca64757b2d961c30ef4ac61c9a27e60a5f1abf5 WHIRLPOOL 31e294d658d80b876e54d9825252b0fcffd369a8c80926c78b5830401125761ecfc2d0faa49669d8a404228fc6395ef2bcf7c614d47c13e6a2438e66af36dcd6