wok-next diff python-cffi/receipt @ rev 21566
updated cpio (2.12 -> 2.13)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jun 22 16:02:42 2020 +0100 (2020-06-22) |
parents | 92f1f4b98170 |
children |
line diff
1.1 --- a/python-cffi/receipt Wed Aug 22 16:45:51 2018 +0300 1.2 +++ b/python-cffi/receipt Mon Jun 22 16:02:42 2020 +0100 1.3 @@ -1,30 +1,34 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 +ORIGIN="cffi" 1.7 PACKAGE="python-cffi" 1.8 -VERSION="latest" 1.9 +VERSION="1.11.5" 1.10 CATEGORY="python" 1.11 SHORT_DESC="Foreign Function Interface for Python calling C code" 1.12 MAINTAINER="al.bobylev@gmail.com" 1.13 LICENSE="Apache2" 1.14 -WEB_SITE="https://pypi.org/project/cffi/" 1.15 +WEB_SITE="https://pypi.org/project/$ORIGIN/" 1.16 +#HOST_ARCH 1.17 REPOLOGY="python:cffi" 1.18 1.19 -BUILD_DEPENDS="python python-pycparser" 1.20 -SPLIT="$PACKAGE-dev" 1.21 +BUILD_DEPENDS="python python-pycparser python3 python3-pycparser" 1.22 +SPLIT="$PACKAGE-dev \ 1.23 +${PACKAGE/python/python3}:3 ${PACKAGE/python/python3}-dev:3" 1.24 1.25 compile_rules() { 1.26 - pip install --no-compile --root=$DESTDIR cffi 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|.*cffi-||p' $LOGS/${PACKAGE%-dev}.log) 1.32 case $PACKAGE in 1.33 *-dev) 1.34 copy @dev 1.35 + DEPENDS="${PACKAGE%%-dev}" 1.36 ;; 1.37 *) 1.38 copy @std 1.39 - DEPENDS="python python-pycparser" 1.40 + py="${PACKAGE%%-*}" # python/python3 1.41 + DEPENDS="$py $py-pycparser" 1.42 ;; 1.43 esac 1.44 }