[arch-commits] Commit in python-ldap/repos/community-x86_64 (PKGBUILD PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Mon May 10 15:50:41 UTC 2021
Date: Monday, May 10, 2021 @ 15:50:41
Author: foxboron
Revision: 929557
archrelease: copy trunk to community-x86_64
Added:
python-ldap/repos/community-x86_64/PKGBUILD
(from rev 929556, python-ldap/trunk/PKGBUILD)
Deleted:
python-ldap/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 63 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 32 insertions(+), 31 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-10 15:50:32 UTC (rev 929556)
+++ PKGBUILD 2021-05-10 15:50:41 UTC (rev 929557)
@@ -1,31 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Contributor: Maikel Wever <maikelwever at gmail.com>
-
-pkgname=python-ldap
-pkgver=3.3.1
-pkgrel=3
-pkgdesc="LDAP client API for Python"
-url="https://python-ldap.readthedocs.io/"
-arch=('x86_64')
-license=('MIT')
-depends=('python-pyasn1' 'python-pyasn1-modules' 'libldap')
-makedepends=('python-setuptools' 'python-coverage')
-checkdepends=('openldap' 'python-pyasn1' 'python-pyasn1-modules')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/python-ldap/python-ldap/archive/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('014681ee155a61fde50cf3f19a2f85c5c094439da695968f7fcdf75e95db84f9')
-
-build(){
- cd "$pkgbase-$pkgbase-$pkgver"
- python setup.py build
-}
-
-check(){
- cd "$pkgbase-$pkgbase-$pkgver"
- python -m coverage run --parallel setup.py test
-}
-
-package() {
- 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 929556, python-ldap/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-10 15:50:41 UTC (rev 929557)
@@ -0,0 +1,32 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Maikel Wever <maikelwever at gmail.com>
+
+pkgname=python-ldap
+pkgver=3.3.1
+pkgrel=4
+pkgdesc="LDAP client API for Python"
+url="https://python-ldap.readthedocs.io/"
+arch=('x86_64')
+license=('MIT')
+depends=('python-pyasn1' 'python-pyasn1-modules' 'libldap')
+makedepends=('python-setuptools' 'python-coverage')
+checkdepends=('openldap' 'python-pyasn1' 'python-pyasn1-modules')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/python-ldap/python-ldap/archive/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('014681ee155a61fde50cf3f19a2f85c5c094439da695968f7fcdf75e95db84f9')
+
+build(){
+ cd "$pkgbase-$pkgbase-$pkgver"
+ python setup.py build
+}
+
+check(){
+ cd "$pkgbase-$pkgbase-$pkgver"
+ python -m coverage run --parallel setup.py test
+}
+
+package() {
+ cd "$pkgbase-$pkgbase-$pkgver"
+ export PYTHONHASHSEED=0
+ 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