wok-next view python-cryptography/receipt @ rev 20996
Move fonts-liberation*
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Oct 04 16:01:47 2018 +0300 (2018-10-04) |
parents | 92f1f4b98170 |
children |
line source
1 # SliTaz package receipt v2.
3 ORIGIN="cryptography"
4 PACKAGE="python-cryptography"
5 VERSION="2.3.1"
6 CATEGORY="python"
7 SHORT_DESC="Provide cryptographic recipes and primitives"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="BSD"
10 WEB_SITE="https://pypi.org/project/cryptography/"
11 #HOST_ARCH
12 REPOLOGY="python:cryptography"
14 BUILD_DEPENDS="python python-asn1crypto python-cffi python-enum34 python-idna \
15 python-ipaddress python-six \
16 python3 python3-asn1crypto python3-cffi python3-idna python3-six"
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 case $PACKAGE in
27 python-*)
28 DEPENDS="$py $py-asn1crypto $py-cffi $py-enum34 $py-idna \
29 $py-ipaddress $py-six"
30 ;;
31 python3-*)
32 DEPENDS="$py $py-asn1crypto $py-cffi $py-idna $py-six"
33 ;;
34 esac
35 }