wok-next annotate python-pysqlite/receipt @ rev 21661
updated fonttosfnt (1.0.5 -> 1.1.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 27 13:41:53 2020 +0100 (2020-06-27) |
parents | c9a7a7b42a86 |
children |
rev | line source |
---|---|
al@20972 | 1 # SliTaz package receipt v2. |
claudinei@3413 | 2 |
al@20972 | 3 ORIGIN="pysqlite" |
claudinei@3413 | 4 PACKAGE="python-pysqlite" |
al@20972 | 5 VERSION="2.8.3" |
al@20972 | 6 CATEGORY="python" |
al@20972 | 7 SHORT_DESC="DB-API 2.0 interface for SQLite 3.x" |
al@21020 | 8 MAINTAINER="devel@slitaz.org" |
pascal@15378 | 9 LICENSE="zlib/libpng" |
al@20972 | 10 WEB_SITE="https://pypi.org/project/$ORIGIN/" |
al@20972 | 11 #HOST_ARCH |
al@20887 | 12 REPOLOGY="python:pysqlite" |
al@20887 | 13 |
al@20972 | 14 BUILD_DEPENDS="python-dev sqlite3-dev" |
claudinei@3413 | 15 |
al@20972 | 16 compile_rules() { |
al@20972 | 17 # Python3 based compilation produce error: |
al@20972 | 18 # pysqlite is not supported on Python 3. When using Python 3, use the |
al@20972 | 19 # sqlite3 module from the standard library. |
al@20972 | 20 pip install --no-compile --root=$install $ORIGIN==$VERSION |
claudinei@3413 | 21 } |
claudinei@3413 | 22 |
al@20972 | 23 genpkg_rules() { |
al@20972 | 24 copy @std |
al@20972 | 25 DEPENDS="python libsqlite3" |
claudinei@3413 | 26 } |