wok-next diff python-bcrypt/receipt @ rev 21505

updated audit (2.8.4 -> 2.8.5)
author Hans-G?nter Theisgen
date Fri Jun 19 07:56:59 2020 +0100 (2020-06-19)
parents 8b5b2a6d07b8
children
line diff
     1.1 --- a/python-bcrypt/receipt	Fri Sep 14 01:56:52 2018 +0300
     1.2 +++ b/python-bcrypt/receipt	Fri Jun 19 07:56:59 2020 +0100
     1.3 @@ -1,23 +1,26 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6 +ORIGIN="bcrypt"
     1.7  PACKAGE="python-bcrypt"
     1.8 -ORIGIN="bcrypt"
     1.9 -VERSION="latest"
    1.10 +VERSION="3.1.4"
    1.11  CATEGORY="python"
    1.12  SHORT_DESC="Modern password hashing for your software and your servers"
    1.13  MAINTAINER="al.bobylev@gmail.com"
    1.14  LICENSE="Apache2"
    1.15 -WEB_SITE="https://pypi.org/project/bcrypt/"
    1.16 +WEB_SITE="https://pypi.org/project/$ORIGIN/"
    1.17 +#HOST_ARCH
    1.18  REPOLOGY="python:bcrypt"
    1.19  
    1.20 -BUILD_DEPENDS="python python-six python-cffi"
    1.21 +BUILD_DEPENDS="python python-six python-cffi \
    1.22 +python3 python3-six python3-cffi"
    1.23 +SPLIT="${PACKAGE/python/python3}:3"
    1.24  
    1.25  compile_rules() {
    1.26 -	pip install --no-compile --root=$DESTDIR $ORIGIN
    1.27 +	pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
    1.28  }
    1.29  
    1.30  genpkg_rules() {
    1.31 -	VERSION=$(sed -n "/^Successfully installed/ s|.*$ORIGIN-||p" $LOGS/$PACKAGE.log)
    1.32  	copy @std
    1.33 -	DEPENDS="python"
    1.34 +	py="${PACKAGE%%-*}" # python/python3
    1.35 +	DEPENDS="$py $py-six $py-cffi"
    1.36  }