wok-next diff python-dulwich/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 d24f5052ae8c
children
line diff
     1.1 --- a/python-dulwich/receipt	Wed Aug 22 11:18:36 2018 +0300
     1.2 +++ b/python-dulwich/receipt	Sat Nov 21 14:32:44 2020 +0100
     1.3 @@ -1,22 +1,26 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6 +ORIGIN="dulwich"
     1.7  PACKAGE="python-dulwich"
     1.8 -VERSION="latest"
     1.9 -CATEGORY="development"
    1.10 +VERSION="0.19.6"
    1.11 +CATEGORY="python"
    1.12  SHORT_DESC="Git files formats and protocols for Python"
    1.13  MAINTAINER="pascal.bellard@slitaz.org"
    1.14  LICENSE="GPL2"
    1.15 -WEB_SITE="https://pypi.org/project/dulwich/"
    1.16 +WEB_SITE="https://pypi.org/project/$ORIGIN/"
    1.17 +#HOST_ARCH
    1.18  REPOLOGY="python:dulwich"
    1.19  
    1.20 -BUILD_DEPENDS="python-dev python-urllib3 python-certifi"
    1.21 +BUILD_DEPENDS="python-dev python-urllib3 python-certifi \
    1.22 +python3-dev python3-urllib3 python3-certifi"
    1.23 +SPLIT="${PACKAGE/python/python3}:3"
    1.24  
    1.25  compile_rules() {
    1.26 -	pip install --no-compile --root=$DESTDIR dulwich
    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|.*dulwich-||p' $LOGS/$PACKAGE.log)
    1.32  	copy @std @dev
    1.33 -	DEPENDS="python python-urllib3 python-certifi"
    1.34 +	py=${PACKAGE%%-*} # python/python3
    1.35 +	DEPENDS="$py $py-urllib3 $py-certifi"
    1.36  }