wok-current view python-ldap/receipt @ rev 25453
BootProg/boot16.asm: too small fat16 support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 17 08:17:46 2022 +0000 (2022-09-17) |
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 }