wok-next view 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 source
1 # SliTaz package receipt v2.
3 ORIGIN="cffi"
4 PACKAGE="python-cffi"
5 VERSION="1.11.5"
6 CATEGORY="python"
7 SHORT_DESC="Foreign Function Interface for Python calling C code"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="Apache2"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 #HOST_ARCH
12 REPOLOGY="python:cffi"
14 BUILD_DEPENDS="python python-pycparser python3 python3-pycparser"
15 SPLIT="$PACKAGE-dev \
16 ${PACKAGE/python/python3}:3 ${PACKAGE/python/python3}-dev:3"
18 compile_rules() {
19 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
20 }
22 genpkg_rules() {
23 case $PACKAGE in
24 *-dev)
25 copy @dev
26 DEPENDS="${PACKAGE%%-dev}"
27 ;;
28 *)
29 copy @std
30 py="${PACKAGE%%-*}" # python/python3
31 DEPENDS="$py $py-pycparser"
32 ;;
33 esac
34 }