wok-next annotate python-pyte/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
rev   line source
al@20972 1 # SliTaz package receipt v2.
paul@18817 2
al@20972 3 ORIGIN="pyte"
paul@18817 4 PACKAGE="python-pyte"
al@20972 5 VERSION="0.8.0"
al@20972 6 CATEGORY="python"
al@20972 7 SHORT_DESC="Simple VTXXX-compatible terminal emulator"
paul@18817 8 MAINTAINER="paul@slitaz.org"
paul@18817 9 LICENSE="LGPL3"
al@20972 10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
al@20972 11 HOST_ARCH="any"
al@20887 12 REPOLOGY="python:pyte"
al@20887 13
al@20972 14 BUILD_DEPENDS="python python-wcwidth python3 python3-wcwidth"
al@20972 15 SPLIT="${PACKAGE/python/python3}:3"
paul@18817 16
al@20972 17 compile_rules() {
al@20972 18 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
paul@18817 19 }
paul@18817 20
al@20972 21 genpkg_rules() {
al@20972 22 copy @std
al@20972 23 py=${PACKAGE%%-*} # python/python3
al@20972 24 DEPENDS="$py $py-wcwidth"
paul@18817 25 }