[arch-commits] Commit in python-ldap3/repos/community-testing-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Aug 1 18:35:44 UTC 2018


    Date: Wednesday, August 1, 2018 @ 18:35:44
  Author: felixonmars
Revision: 367189

archrelease: copy trunk to community-testing-any

Added:
  python-ldap3/repos/community-testing-any/PKGBUILD
    (from rev 367188, python-ldap3/trunk/PKGBUILD)
Deleted:
  python-ldap3/repos/community-testing-any/PKGBUILD

----------+
 PKGBUILD |  102 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 51 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-01 18:35:24 UTC (rev 367188)
+++ PKGBUILD	2018-08-01 18:35:44 UTC (rev 367189)
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
-# Contributor: Kyle Keen <keenerd at gmail.com>
-
-pkgbase=python-ldap3
-pkgname=(python-ldap3 python2-ldap3)
-pkgver=2.5
-pkgrel=2
-pkgdesc="A strictly RFC 4510 conforming LDAP V3 pure Python client library"
-url="https://github.com/cannatag/ldap3"
-license=('LGPL')
-arch=('any')
-makedepends=('python-pyasn1' 'python2-pyasn1' 'python-setuptools' 'python2-setuptools')
-checkdepends=('python-nose' 'python2-nose')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/cannatag/ldap3/archive/v$pkgver.tar.gz")
-sha512sums=('c5ac00af528ff88ce0b56c6d9186d0c0561394e5262cf712d060c1c4217337e8d6c569d2caa1f748d76e0fffc90a9db2cc1135a317d045621fadba1f0de0c362')
-
-prepare() {
-  cp -a ldap3-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/ldap3-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/ldap3-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/ldap3-$pkgver
-  nosetests3 -s test || warning "Tests require a running LDAP server"
-
-  cd "$srcdir"/ldap3-$pkgver-py2
-  nosetests2 -s test || warning "Tests require a running LDAP server"
-}
-
-package_python-ldap3() {
-  depends=('python-pyasn1')
-
-  cd ldap3-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-ldap3() {
-  depends=('python2-pyasn1')
-
-  cd ldap3-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-ldap3/repos/community-testing-any/PKGBUILD (from rev 367188, python-ldap3/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-01 18:35:44 UTC (rev 367189)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
+# Contributor: Kyle Keen <keenerd at gmail.com>
+
+pkgbase=python-ldap3
+pkgname=(python-ldap3 python2-ldap3)
+pkgver=2.5.1
+pkgrel=1
+pkgdesc="A strictly RFC 4510 conforming LDAP V3 pure Python client library"
+url="https://github.com/cannatag/ldap3"
+license=('LGPL')
+arch=('any')
+makedepends=('python-pyasn1' 'python2-pyasn1' 'python-setuptools' 'python2-setuptools')
+checkdepends=('python-nose' 'python2-nose')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/cannatag/ldap3/archive/$pkgver.tar.gz")
+sha512sums=('15b49efee10ae34d7a0a4ca156bbed1bec1e86cfd918b1e6853bee0fd3cb2c82246b04328964079c1681a9a8a2fd212208250007a68b10abbd4f11c84a140a11')
+
+prepare() {
+  cp -a ldap3-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/ldap3-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/ldap3-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/ldap3-$pkgver
+  nosetests3 -s test || warning "Tests require a running LDAP server"
+
+  cd "$srcdir"/ldap3-$pkgver-py2
+  nosetests2 -s test || warning "Tests require a running LDAP server"
+}
+
+package_python-ldap3() {
+  depends=('python-pyasn1')
+
+  cd ldap3-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-ldap3() {
+  depends=('python2-pyasn1')
+
+  cd ldap3-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list