aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools/python/python-pysqlite_2.8.3.bb
blob: 2f4d6fe64649847c27133e503c21d4450a25196b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
SUMMARY = "DB-API 2.0 interface for SQLite 3.x"
DESCRIPTION = "pysqlite is an interface to the SQLite 3.x embedded relational \
database engine. It is almost fully compliant with the Python database API \
version 2.0 also exposes the unique features of SQLite."
HOMEPAGE = "http://github.com/ghaering/pysqlite"
LICENSE = "Zlib"
LIC_FILES_CHKSUM = "file://LICENSE;md5=28ad4f115e06c88bd737372a453369d8"

SRC_URI[md5sum] = "033f17b8644577715aee55e8832ac9fc"
SRC_URI[sha256sum] = "17d3335863e8cf8392eea71add33dab3f96d060666fe68ab7382469d307f4490"

inherit pypi setuptools

DEPENDS += "${PYTHON_PN}-pip"

RDEPENDS_${PN}_class-target += "\
    ${PYTHON_PN}-datetime \
    sqlite3 \
"

FILES_${PN}-doc += "${datadir}"

PNBLACKLIST[python-pysqlite] ?= "${@bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', '', 'python2 is out of support for long time, read https://www.python.org/doc/sunset-python-2/ https://python3statement.org/ and if you really have to temporarily use this, then set I_SWEAR_TO_MIGRATE_TO_PYTHON3 to "yes"', d)}"