wok-next view python-cffi/receipt @ rev 20924

paramiko -> python-paramiko
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Aug 22 16:45:51 2018 +0300 (2018-08-22)
parents
children c9a7a7b42a86
line source
1 # SliTaz package receipt v2.
3 PACKAGE="python-cffi"
4 VERSION="latest"
5 CATEGORY="python"
6 SHORT_DESC="Foreign Function Interface for Python calling C code"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="Apache2"
9 WEB_SITE="https://pypi.org/project/cffi/"
10 REPOLOGY="python:cffi"
12 BUILD_DEPENDS="python python-pycparser"
13 SPLIT="$PACKAGE-dev"
15 compile_rules() {
16 pip install --no-compile --root=$DESTDIR cffi
17 }
19 genpkg_rules() {
20 VERSION=$(sed -n '/^Successfully installed/ s|.*cffi-||p' $LOGS/${PACKAGE%-dev}.log)
21 case $PACKAGE in
22 *-dev)
23 copy @dev
24 ;;
25 *)
26 copy @std
27 DEPENDS="python python-pycparser"
28 ;;
29 esac
30 }