wok-next view python-paramiko/receipt @ rev 20972

Improve Python packages: update, also provide Python3 packages where available
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Sep 22 16:05:26 2018 +0300 (2018-09-22)
parents 92f1f4b98170
children c88baf7ab6c5
line source
1 # SliTaz package receipt v2.
3 ORIGIN="paramiko"
4 PACKAGE="python-paramiko"
5 VERSION="2.4.2"
6 CATEGORY="python"
7 SHORT_DESC="SSH2 protocol library"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="LGPL2.1"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 HOST_ARCH="any"
12 REPOLOGY="python:paramiko"
14 BUILD_DEPENDS="python python-bcrypt python-cryptography python-pyasn1 \
15 python-pynacl \
16 python3 python3-bcrypt python3-cryptography python3-pyasn1 python3-pynacl"
17 SPLIT="${PACKAGE/python/python3}:3"
19 compile_rules() {
20 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
21 }
23 genpkg_rules() {
24 copy @std
25 py="${PACKAGE%%-*}" # python/python3
26 DEPENDS="$py $py-bcrypt $py-cryptography $py-pyasn1 $py-pynacl"
27 TAGS="ssh"
28 }