wok-next annotate python-punjab/receipt @ rev 20976

Follow recent changes in the Python renames
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Sep 25 17:35:51 2018 +0300 (2018-09-25)
parents c9a7a7b42a86
children
rev   line source
al@20927 1 # SliTaz package receipt v2.
al@20927 2
al@20972 3 ORIGIN="punjab"
al@20927 4 PACKAGE="python-punjab"
al@20972 5 VERSION="0.15"
al@20927 6 CATEGORY="network"
al@20927 7 SHORT_DESC="HTTP jabber proxy allowing persistent client connections"
al@20927 8 MAINTAINER="pascal.bellard@slitaz.org"
al@20927 9 LICENSE="GPL2"
al@20972 10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
al@20927 11 HOST_ARCH="any"
al@20927 12 REPOLOGY="python:punjab"
al@20927 13
al@20972 14 BUILD_DEPENDS="python python3"
al@20972 15 SPLIT="${PACKAGE/python/python3}:3"
al@20927 16
al@20927 17 compile_rules() {
al@20972 18 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
al@20927 19 }
al@20927 20
al@20927 21 genpkg_rules() {
al@20927 22 copy @std
al@20972 23 py="${PACKAGE%%-*}" # python/python3
al@20976 24 DEPENDS="$python $py-twisted $py-pyopenssl"
al@20927 25 CONFIG_FILES="/etc/punjab.tac"
al@20927 26 }