summaryrefslogtreecommitdiff
path: root/packages/python/python-pysqlite2_2.4.0.bb
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-03-21 23:25:31 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-03-21 23:25:31 +0000
commite737833493b9017bbfd3ab0dba6a2d26f85eebd8 (patch)
tree2d4844eeac8121281e65c3b9ded2c39f59b10f67 /packages/python/python-pysqlite2_2.4.0.bb
parent7e3f573b1510d10f5a126662d933a70e56be9e1e (diff)
python 2.5 improve pysqlite2|3 packaging. Patch based on work by Aloisios Almeida.
Diffstat (limited to 'packages/python/python-pysqlite2_2.4.0.bb')
-rw-r--r--packages/python/python-pysqlite2_2.4.0.bb17
1 files changed, 16 insertions, 1 deletions
diff --git a/packages/python/python-pysqlite2_2.4.0.bb b/packages/python/python-pysqlite2_2.4.0.bb
index 751122e10e..50adcba006 100644
--- a/packages/python/python-pysqlite2_2.4.0.bb
+++ b/packages/python/python-pysqlite2_2.4.0.bb
@@ -4,9 +4,10 @@ PRIORITY = "optional"
LICENSE = "BSD"
DEPENDS = "sqlite3"
SRCNAME = "pysqlite"
+PR = "ml1"
SRC_URI = "http://initd.org/pub/software/pysqlite/releases/2.4/${PV}/${SRCNAME}-${PV}.tar.gz \
- file://fix-setup.patch;patch=1"
+ file://fix-setup.patch;patch=1"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit distutils
@@ -15,3 +16,17 @@ do_install_append() {
install -d ${D}${datadir}/doc/
mv ${D}${datadir}/pysqlite2-doc ${D}${datadir}/doc/${PN}
}
+
+RDEPENDS = "\
+ python-datetime \
+ python-lang \
+ python-crypt \
+ python-io \
+ python-threading \
+ python-unittest \
+ python-zlib \
+"
+
+PACKAGES =+ "${PN}-tests"
+FILES_${PN}-tests = "${libdir}/${PYTHON_DIR}/pysqlite2/test"
+RDEPENDS_${PN}-tests = "${PN}"