summaryrefslogtreecommitdiff
path: root/packages/python/python-pysqlite2_2.2.2.bb
blob: 89d4030f5c14d505f41bf347511f75587be215ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
DESCRIPTION = "A Python extension for the SQLite Embedded Relational Database"
SECTION = "devel/python"
PRIORITY = "optional"
LICENSE = "PSF"
RDEPENDS = "python-core python-re python-lang python-datetime"
DEPENDS = "sqlite3"
SRCNAME = "pysqlite2"
PR = "ml2"

SRC_URI = "http://initd.org/pub/software/pysqlite/releases/2.2/${PV}/pysqlite-${PV}.tar.gz"
S = "${WORKDIR}/pysqlite-${PV}"

inherit distutils

do_install_append() {
    install -d ${D}${docdir}/doc
    mv ${D}/${datadir}/pysqlite2-doc ${D}${docdir}/${SRCNAME}
}