wok-next annotate python-apsw/receipt @ rev 21467
updated tahoe-lafs (1.10.1 -> 1.13.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue May 12 17:47:20 2020 +0100 (2020-05-12) |
parents | 9b3461bf373c |
children |
rev | line source |
---|---|
al@19763 | 1 # SliTaz package receipt v2. |
pascal@14376 | 2 |
pascal@14376 | 3 PACKAGE="python-apsw" |
al@20972 | 4 VERSION="3.24.0" |
pascal@14376 | 5 CATEGORY="development" |
al@19763 | 6 SHORT_DESC="Python wrapper for SQLite" |
pascal@14376 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15378 | 8 LICENSE="zlib/libpng" |
al@20737 | 9 WEB_SITE="https://rogerbinns.github.io/apsw/" |
al@20972 | 10 #HOST_ARCH |
al@20885 | 11 REPOLOGY="python:apsw" |
pascal@14376 | 12 |
al@20972 | 13 TARBALL="$PACKAGE-$VERSION-r1.tar.gz" |
al@20972 | 14 WGET_URL="https://github.com/rogerbinns/apsw/archive/$VERSION-r1.tar.gz" |
al@19763 | 15 |
al@20972 | 16 BUILD_DEPENDS="python-dev sqlite3-dev python3-dev" |
al@20972 | 17 SPLIT="${PACKAGE/python/python3}:3" |
pascal@14376 | 18 |
al@20737 | 19 compile_rules() { |
al@20972 | 20 python$SET -B setup.py install --root=$install |
pascal@14376 | 21 } |
pascal@14376 | 22 |
al@20737 | 23 genpkg_rules() { |
al@19763 | 24 copy @std |
al@20972 | 25 py="${PACKAGE%%-*}" # python/python3 |
al@20972 | 26 DEPENDS="$py libsqlite3" |
pascal@14376 | 27 } |