wok-next diff python-repoze.lru/receipt @ rev 21226

updated chocolate-doom (1.4.0 -> 3.0.0)
author Hans-G?nter Theisgen
date Tue Dec 03 16:21:36 2019 +0100 (2019-12-03)
parents 92698cd69f34
children
line diff
     1.1 --- a/python-repoze.lru/receipt	Fri Jul 13 17:30:55 2018 +0300
     1.2 +++ b/python-repoze.lru/receipt	Tue Dec 03 16:21:36 2019 +0100
     1.3 @@ -1,22 +1,25 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6 +ORIGIN="repoze.lru"
     1.7  PACKAGE="python-repoze.lru"
     1.8 -VERSION="latest"
     1.9 -CATEGORY="development"
    1.10 +VERSION="0.7"
    1.11 +CATEGORY="python"
    1.12  SHORT_DESC="A tiny LRU cache implementation and decorator"
    1.13  MAINTAINER="al.bobylev@gmail.com"
    1.14  LICENSE="BSD"
    1.15 -WEB_SITE="https://pypi.org/project/repoze.lru/"
    1.16 +WEB_SITE="https://pypi.org/project/$ORIGIN/"
    1.17 +HOST_ARCH="any"
    1.18  REPOLOGY="python:repoze.lru"
    1.19  
    1.20 -BUILD_DEPENDS="python"
    1.21 +BUILD_DEPENDS="python python3"
    1.22 +SPLIT="${PACKAGE/python/python3}:3"
    1.23  
    1.24  compile_rules() {
    1.25 -	pip install --no-compile --root=$DESTDIR repoze.lru
    1.26 +	pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
    1.27  }
    1.28  
    1.29  genpkg_rules() {
    1.30 -	VERSION=$(sed -n '/^Successfully installed/ s|.*repoze.lru-||p' $LOGS/$PACKAGE.log)
    1.31  	copy @std
    1.32 -	DEPENDS="python"
    1.33 +	py="${PACKAGE%%-*}" # python/python3
    1.34 +	DEPENDS="$py"
    1.35  }