[arch-commits] Commit in python-ldap/repos/community-x86_64 (PKGBUILD PKGBUILD)

Morten Linderud foxboron at archlinux.org
Sun Jun 2 13:46:30 UTC 2019


    Date: Sunday, June 2, 2019 @ 13:46:30
  Author: foxboron
Revision: 476605

archrelease: copy trunk to community-x86_64

Added:
  python-ldap/repos/community-x86_64/PKGBUILD
    (from rev 476604, python-ldap/trunk/PKGBUILD)
Deleted:
  python-ldap/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  108 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 54 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-02 13:46:22 UTC (rev 476604)
+++ PKGBUILD	2019-06-02 13:46:30 UTC (rev 476605)
@@ -1,54 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Contributor: Maikel Wever <maikelwever at gmail.com>
-
-pkgbase=python-ldap
-pkgname=(python-ldap python2-ldap)
-pkgver=3.1.0
-pkgrel=2
-pkgdesc="LDAP client API for Python"
-url="http://python-ldap.readthedocs.io/"
-arch=('x86_64')
-license=('MIT')
-makedepends=('python' 'python-setuptools'
-             'python2' 'python2-setuptools'
-	     'python-coverage' 'python2-coverage')
-checkdepends=('openldap' 'python-pyasn1' 'python-pyasn1-modules'
-	      'python2-pyasn1' 'python2-pyasn1-modules')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/python-ldap/python-ldap/archive/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('11a20a0bdb4661d5463e7d288ef1f46a2345d1ecdfd433a21aef7ff7e8263b41')
-
-prepare() {
-  cp -a ${pkgbase}-${pkgbase}-$pkgver{,-py2}
-}
-
-build(){
-  cd "$srcdir/$pkgbase-$pkgbase-$pkgver"
-  python setup.py build
-
-  cd "$srcdir/$pkgbase-$pkgbase-$pkgver-py2"
-  python2 setup.py build
-}
-
-check(){
-  cd "$srcdir/$pkgbase-$pkgbase-$pkgver"
-  python -m coverage run --parallel setup.py test
-
-  cd "$srcdir/$pkgbase-$pkgbase-$pkgver-py2"
-  python2 -m coverage run --parallel setup.py test
-}
-
-package_python2-ldap() {
-  depends=('python2' 'python2-pyasn1' 'python2-pyasn1-modules' 'libldap')
-  cd "$srcdir/$pkgbase-$pkgbase-$pkgver-py2"
-  python2 setup.py install --root="$pkgdir/" --optimize=1 --skip-build
-  install -Dm 644 LICENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-
-}
-
-package_python-ldap() {
-  depends=('python' 'python-pyasn1' 'python-pyasn1-modules' 'libldap')
-  cd "$pkgbase-$pkgbase-$pkgver"
-  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
-  install -Dm 644 LICENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-

Copied: python-ldap/repos/community-x86_64/PKGBUILD (from rev 476604, python-ldap/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-02 13:46:30 UTC (rev 476605)
@@ -0,0 +1,54 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Maikel Wever <maikelwever at gmail.com>
+
+pkgbase=python-ldap
+pkgname=(python-ldap python2-ldap)
+pkgver=3.2.0
+pkgrel=1
+pkgdesc="LDAP client API for Python"
+url="http://python-ldap.readthedocs.io/"
+arch=('x86_64')
+license=('MIT')
+makedepends=('python' 'python-setuptools'
+             'python2' 'python2-setuptools'
+	     'python-coverage' 'python2-coverage')
+checkdepends=('openldap' 'python-pyasn1' 'python-pyasn1-modules'
+	      'python2-pyasn1' 'python2-pyasn1-modules')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/python-ldap/python-ldap/archive/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('ac6736345f5cdcd76fe54ac3ec6182b222c59c68d04c57690e44e449871e5730')
+
+prepare() {
+  cp -a ${pkgbase}-${pkgbase}-$pkgver{,-py2}
+}
+
+build(){
+  cd "$srcdir/$pkgbase-$pkgbase-$pkgver"
+  python setup.py build
+
+  cd "$srcdir/$pkgbase-$pkgbase-$pkgver-py2"
+  python2 setup.py build
+}
+
+check(){
+  cd "$srcdir/$pkgbase-$pkgbase-$pkgver"
+  python -m coverage run --parallel setup.py test
+
+  cd "$srcdir/$pkgbase-$pkgbase-$pkgver-py2"
+  python2 -m coverage run --parallel setup.py test
+}
+
+package_python2-ldap() {
+  depends=('python2' 'python2-pyasn1' 'python2-pyasn1-modules' 'libldap')
+  cd "$srcdir/$pkgbase-$pkgbase-$pkgver-py2"
+  python2 setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+  install -Dm 644 LICENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+}
+
+package_python-ldap() {
+  depends=('python' 'python-pyasn1' 'python-pyasn1-modules' 'libldap')
+  cd "$pkgbase-$pkgbase-$pkgver"
+  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+  install -Dm 644 LICENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+


More information about the arch-commits mailing list