wok-next view python-pysqlite/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | c9a7a7b42a86 |
children |
line source
1 # SliTaz package receipt v2.
3 ORIGIN="pysqlite"
4 PACKAGE="python-pysqlite"
5 VERSION="2.8.3"
6 CATEGORY="python"
7 SHORT_DESC="DB-API 2.0 interface for SQLite 3.x"
8 MAINTAINER="devel@slitaz.org"
9 LICENSE="zlib/libpng"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 #HOST_ARCH
12 REPOLOGY="python:pysqlite"
14 BUILD_DEPENDS="python-dev sqlite3-dev"
16 compile_rules() {
17 # Python3 based compilation produce error:
18 # pysqlite is not supported on Python 3. When using Python 3, use the
19 # sqlite3 module from the standard library.
20 pip install --no-compile --root=$install $ORIGIN==$VERSION
21 }
23 genpkg_rules() {
24 copy @std
25 DEPENDS="python libsqlite3"
26 }