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

Balló György bgyorgy at archlinux.org
Mon Mar 16 19:01:42 UTC 2020


    Date: Monday, March 16, 2020 @ 19:01:41
  Author: bgyorgy
Revision: 599841

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-16 19:01:37 UTC (rev 599840)
+++ PKGBUILD	2020-03-16 19:01:41 UTC (rev 599841)
@@ -1,50 +0,0 @@
-# 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.7
-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/v$pkgver.tar.gz")
-sha512sums=('52b9e8632a8d0b5cfdd801d165f72cfa78b6fa56e1c5e1b3b0b44ad1f1d695a55506b324d88af429319bc9b7b2a5d67d8f0eb6b7c305aa06a7ed9fec8aedbd94')
-
-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-any/PKGBUILD (from rev 599840, python-ldap3/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-16 19:01:41 UTC (rev 599841)
@@ -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.7
+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=('52b9e8632a8d0b5cfdd801d165f72cfa78b6fa56e1c5e1b3b0b44ad1f1d695a55506b324d88af429319bc9b7b2a5d67d8f0eb6b7c305aa06a7ed9fec8aedbd94')
+
+build() {
+  cd "$srcdir"/ldap3-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/ldap3-$pkgver
+  nosetests3 -s test || warning "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