wok-next view python-pyserial/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 8b5b2a6d07b8
children
line source
1 # SliTaz package receipt v2.
3 ORIGIN=pyserial
4 PACKAGE="python-pyserial"
5 VERSION="3.4"
6 CATEGORY="python"
7 SHORT_DESC="Python Serial Port Extension"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="PSL"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 HOST_ARCH="any"
12 REPOLOGY="python:pyserial"
14 BUILD_DEPENDS="python-dev python3-dev"
15 SPLIT="${PACKAGE/python/python3}:3"
17 compile_rules() {
18 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
20 # option '--no-compile' provided, but these files still exists
21 find $install -type f -name '*.pyc' -delete
22 }
24 genpkg_rules() {
25 copy @std
26 py="${PACKAGE%%-*}" # python/python3
27 DEPENDS="$py"
28 }