wok-current view python-ldap/receipt @ rev 25119

updated peazip (6.8.0 -> 8.4.0)
author Hans-G?nter Theisgen
date Sun Jun 26 09:56:47 2022 +0100 (2022-06-26)
parents ba584564da08
children
line source
1 # SliTaz package receipt.
3 PACKAGE="python-ldap"
4 VERSION="3.1.0"
5 CATEGORY="development"
6 SHORT_DESC="An object-oriented API to access LDAP directory servers."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="PSL"
9 WEB_SITE="https://www.python-ldap.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://files.pythonhosted.org/packages/source/p/$PACKAGE/$TARBALL"
14 DEPENDS="cyrus-sasl openldap openssl python"
15 BUILD_DEPENDS="cyrus-sasl-dev openldap-dev openssl-dev python-dev python-setuptools"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/python-ldap/python-ldap/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py build &&
28 python setup.py install --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/lib $fs/usr
36 }