From: Jeremy Laine Date: Fri, 7 Dec 2007 12:25:16 +0000 (+0000) Subject: python-pysqlite2: add pysqlite Python interface to SQLite 3 X-Git-Tag: Release-2010-05/1~8180^2~4^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40706bdd536c7e23644d5502267b1e5f691864fc;p=openembedded.git python-pysqlite2: add pysqlite Python interface to SQLite 3 --- diff --git a/packages/python/python-pysqlite2/.mtn2git_empty b/packages/python/python-pysqlite2/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/python/python-pysqlite2/fix-setup.patch b/packages/python/python-pysqlite2/fix-setup.patch new file mode 100644 index 0000000000..fb732a1c3d --- /dev/null +++ b/packages/python/python-pysqlite2/fix-setup.patch @@ -0,0 +1,9 @@ +diff -urN pysqlite-2.4.0.orig/setup.cfg pysqlite-2.4.0/setup.cfg +--- pysqlite-2.4.0.orig/setup.cfg 2007-11-25 17:56:17.000000000 +0100 ++++ pysqlite-2.4.0/setup.cfg 2007-12-07 09:59:36.000000000 +0100 +@@ -1,5 +1,3 @@ + [build_ext] + define= +-include_dirs=/usr/include +-library_dirs=/usr/lib + libraries=sqlite3 diff --git a/packages/python/python-pysqlite2_2.4.0.bb b/packages/python/python-pysqlite2_2.4.0.bb new file mode 100644 index 0000000000..751122e10e --- /dev/null +++ b/packages/python/python-pysqlite2_2.4.0.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "Python interface to SQLite 3" +SECTION = "devel/python" +PRIORITY = "optional" +LICENSE = "BSD" +DEPENDS = "sqlite3" +SRCNAME = "pysqlite" + +SRC_URI = "http://initd.org/pub/software/pysqlite/releases/2.4/${PV}/${SRCNAME}-${PV}.tar.gz \ + file://fix-setup.patch;patch=1" +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit distutils + +do_install_append() { + install -d ${D}${datadir}/doc/ + mv ${D}${datadir}/pysqlite2-doc ${D}${datadir}/doc/${PN} +}