wok-next view python-pyopenssl/receipt @ rev 21175

rsh-redone: fix function names
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 14 16:29:51 2019 +0200 (2019-04-14)
parents
children
line source
1 # SliTaz package receipt v2.
3 ORIGIN="pyOpenSSL"
4 PACKAGE="python-pyopenssl"
5 VERSION="18.0.0"
6 CATEGORY="python"
7 SHORT_DESC="OpenSSL library subset wrapper for Python"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="Apache"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 HOST_ARCH="any"
12 REPOLOGY="python:pyopenssl"
14 BUILD_DEPENDS="python python-cryptography python-six \
15 python3 python3-cryptography python3-six \
16 openssl-dev"
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-cryptography $py-six openssl"
27 }