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

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
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 }