[arch-commits] Commit in python-ldap3/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 9 16:56:07 UTC 2020


    Date: Monday, November 9, 2020 @ 16:56:06
  Author: felixonmars
Revision: 747708

archrelease: copy trunk to community-staging-any

Added:
  python-ldap3/repos/community-staging-any/
  python-ldap3/repos/community-staging-any/PKGBUILD
    (from rev 747707, python-ldap3/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: python-ldap3/repos/community-staging-any/PKGBUILD (from rev 747707, python-ldap3/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 16:56:06 UTC (rev 747708)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
+# Contributor: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-ldap3
+pkgver=2.8.1
+pkgrel=2
+pkgdesc="A strictly RFC 4510 conforming LDAP V3 pure Python client library"
+url="https://github.com/cannatag/ldap3"
+license=('LGPL')
+arch=('any')
+depends=('python-pyasn1')
+makedepends=('python-setuptools')
+checkdepends=('python-nose')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/cannatag/ldap3/archive/v$pkgver.tar.gz")
+sha512sums=('f37e76e1008c990290285a757def6fe70e227393fbbdf84eb1130d5fdfd17db724c544848cc424ca7831f8cc9e8d25407fc139981ebd10818064f588adbafebf')
+
+build() {
+  cd "$srcdir"/ldap3-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/ldap3-$pkgver
+  nosetests3 -s test || echo "Tests require a running LDAP server"
+}
+
+package() {
+  cd ldap3-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list