wok-next annotate python-cryptography/receipt @ rev 21338

OpenSSL 1.0.2t -> 1.0.2u: overflow bug CVE-2019-1551
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Dec 21 08:55:46 2019 +0000 (2019-12-21)
parents 92f1f4b98170
children
rev   line source
al@20924 1 # SliTaz package receipt v2.
al@20924 2
al@20972 3 ORIGIN="cryptography"
al@20924 4 PACKAGE="python-cryptography"
al@20972 5 VERSION="2.3.1"
al@20924 6 CATEGORY="python"
al@20924 7 SHORT_DESC="Provide cryptographic recipes and primitives"
al@20924 8 MAINTAINER="al.bobylev@gmail.com"
al@20924 9 LICENSE="BSD"
al@20924 10 WEB_SITE="https://pypi.org/project/cryptography/"
al@20972 11 #HOST_ARCH
al@20924 12 REPOLOGY="python:cryptography"
al@20924 13
al@20972 14 BUILD_DEPENDS="python python-asn1crypto python-cffi python-enum34 python-idna \
al@20972 15 python-ipaddress python-six \
al@20972 16 python3 python3-asn1crypto python3-cffi python3-idna python3-six"
al@20972 17 SPLIT="${PACKAGE/python/python3}:3"
al@20924 18
al@20924 19 compile_rules() {
al@20972 20 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
al@20924 21 }
al@20924 22
al@20924 23 genpkg_rules() {
al@20924 24 copy @std
al@20972 25 py="${PACKAGE%%-*}" # python/python3
al@20972 26 case $PACKAGE in
al@20972 27 python-*)
al@20972 28 DEPENDS="$py $py-asn1crypto $py-cffi $py-enum34 $py-idna \
al@20972 29 $py-ipaddress $py-six"
al@20972 30 ;;
al@20972 31 python3-*)
al@20972 32 DEPENDS="$py $py-asn1crypto $py-cffi $py-idna $py-six"
al@20972 33 ;;
al@20972 34 esac
al@20924 35 }