Felix Yan pushed to branch main at Arch Linux / Packaging / Packages /
python-ldap3
Commits:
6d9e09c7 by Felix Yan at 2026-03-04T05:15:22+08:00
upgpkg: 2.9.1-10
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,16 +1,17 @@
pkgbase = python-ldap3
pkgdesc = A strictly RFC 4510 conforming LDAP V3 pure Python client
library
pkgver = 2.9.1
- pkgrel = 9
+ pkgrel = 10
url = https://github.com/cannatag/ldap3
arch = any
license = LGPL-3.0-or-later
+ makedepends = git
makedepends = python-build
makedepends = python-installer
makedepends = python-setuptools
makedepends = python-wheel
depends = python-pyasn1
- source =
python-ldap3-2.9.1.tar.gz::https://github.com/cannatag/ldap3/archive/v2.9.1.tar.gz
- sha512sums =
bf07ebca9a53a8c225bc3106d3bd45eb26557c6e5a3d6d45a7f8c149d938ad43825eed0d406a57b93e2e675ed7aa262828f022ab82eb683f0e3029e3ad823106
+ source = git+https://github.com/cannatag/ldap3.git#tag=v2.9.1
+ sha512sums =
73715a98d898eda8fc5bfd5d34a825151e97e97112398f83bc580ee1bb35c2ac45488d6923c7d499b8fc1fdbfe75d489eb381911963348b5ebd3a9c98e5d0651
pkgname = python-ldap3
=====================================
PKGBUILD
=====================================
@@ -4,35 +4,35 @@
pkgname=python-ldap3
pkgver=2.9.1
-pkgrel=9
+pkgrel=10
pkgdesc="A strictly RFC 4510 conforming LDAP V3 pure Python client library"
url="https://github.com/cannatag/ldap3"
license=('LGPL-3.0-or-later')
arch=('any')
depends=('python-pyasn1')
-makedepends=('python-build' 'python-installer' 'python-setuptools'
'python-wheel')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/cannatag/ldap3/archive/v$pkgver.tar.gz")
-sha512sums=('bf07ebca9a53a8c225bc3106d3bd45eb26557c6e5a3d6d45a7f8c149d938ad43825eed0d406a57b93e2e675ed7aa262828f022ab82eb683f0e3029e3ad823106')
+makedepends=('git' 'python-build' 'python-installer' 'python-setuptools'
'python-wheel')
+source=("git+https://github.com/cannatag/ldap3.git#tag=v$pkgver")
+sha512sums=('73715a98d898eda8fc5bfd5d34a825151e97e97112398f83bc580ee1bb35c2ac45488d6923c7d499b8fc1fdbfe75d489eb381911963348b5ebd3a9c98e5d0651')
prepare() {
- cd "$srcdir"/ldap3-$pkgver
+ cd ldap3
# Remove test should be run with a server but is not marked as such
# https://github.com/cannatag/ldap3/issues/1145
rm test/testLDIF-change.py
}
build() {
- cd "$srcdir"/ldap3-$pkgver
+ cd ldap3
python -m build --wheel --no-isolation
}
check() {
- cd "$srcdir"/ldap3-$pkgver
+ cd ldap3
export SERVER="NONE"
python -m unittest discover -vs .
}
package() {
- cd ldap3-$pkgver
+ cd ldap3
python -m installer --destdir="$pkgdir" dist/*.whl
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-ldap3/-/commit/6d9e09c73e480ac5c19d231b547c4e4b156a8b65
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-ldap3/-/commit/6d9e09c73e480ac5c19d231b547c4e4b156a8b65
You're receiving this email because of your account on gitlab.archlinux.org.