wok-next view python-service_identity/receipt @ rev 21724

busybox: update configs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 11:04:25 2020 +0000 (2020-09-01)
parents
children
line source
1 # SliTaz package receipt v2.
3 ORIGIN="service_identity"
4 PACKAGE="python-service_identity"
5 VERSION="17.0.0"
6 CATEGORY="python"
7 SHORT_DESC="Service identity verification for pyOpenSSL"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="MIT"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 HOST_ARCH="any"
12 REPOLOGY="python:service-identity"
14 BUILD_DEPENDS="python python-attrs python-pyasn1 python-pyasn1-modules \
15 python-pyopenssl \
16 python3 python3-attrs python3-pyasn1 python3-pyasn1-modules python3-pyopenssl"
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-attrs $py-pyasn1 $py-pyasn1-modules $py-pyopenssl"
27 }