wok-next diff python-apsw/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 9b3461bf373c
children
line diff
     1.1 --- a/python-apsw/receipt	Fri Jul 13 13:52:56 2018 +0300
     1.2 +++ b/python-apsw/receipt	Sat Nov 21 14:32:44 2020 +0100
     1.3 @@ -1,25 +1,27 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="python-apsw"
     1.7 -VERSION="3.19.3-r1"
     1.8 +VERSION="3.24.0"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Python wrapper for SQLite"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="zlib/libpng"
    1.13  WEB_SITE="https://rogerbinns.github.io/apsw/"
    1.14 +#HOST_ARCH
    1.15  REPOLOGY="python:apsw"
    1.16  
    1.17 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WGET_URL="https://github.com/rogerbinns/apsw/archive/$VERSION.tar.gz"
    1.19 +TARBALL="$PACKAGE-$VERSION-r1.tar.gz"
    1.20 +WGET_URL="https://github.com/rogerbinns/apsw/archive/$VERSION-r1.tar.gz"
    1.21  
    1.22 -BUILD_DEPENDS="python-dev sqlite3-dev"
    1.23 +BUILD_DEPENDS="python-dev sqlite3-dev python3-dev"
    1.24 +SPLIT="${PACKAGE/python/python3}:3"
    1.25  
    1.26  compile_rules() {
    1.27 -	python setup.py build &&
    1.28 -	python setup.py install --root=$DESTDIR
    1.29 +	python$SET -B setup.py install --root=$install
    1.30  }
    1.31  
    1.32  genpkg_rules() {
    1.33  	copy @std
    1.34 -	DEPENDS="python libsqlite3"
    1.35 +	py="${PACKAGE%%-*}" # python/python3
    1.36 +	DEPENDS="$py libsqlite3"
    1.37  }