wok-next view python-ldap3/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents
children
line source
1 # SliTaz package receipt v2.
3 ORIGIN="ldap3"
4 PACKAGE="python-ldap3"
5 VERSION="2.5.1"
6 CATEGORY="python"
7 SHORT_DESC="A strictly RFC 4510 conforming LDAP V3 pure Python client library"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 HOST_ARCH="any"
12 REPOLOGY="python:ldap3"
14 BUILD_DEPENDS="python python-pyasn1 python3 python3-pyasn1 \
15 openldap-dev openssl-dev cyrus-sasl-dev"
16 SPLIT="${PACKAGE/python/python3}:3"
18 compile_rules() {
19 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
20 }
22 genpkg_rules() {
23 copy @std
24 py=${PACKAGE%%-*} # python/python3
25 DEPENDS="$py $py-pyasn1 openldap openssl cyrus-sasl"
26 }