Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / python-ldap3
Commits: 3560eaa2 by loqs at 2026-02-11T23:17:23+00:00 SPDX license identifier https://github.com/cannatag/ldap3/blob/v2.9.1/LICENSE.txt - - - - - 34ef31b6 by loqs at 2026-02-11T23:18:06+00:00 Use PEP 517 for building Related https://archlinux.org/todo/use-pep-517-for-building-if-supported/. - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -4,8 +4,11 @@ pkgbase = python-ldap3 pkgrel = 9 url = https://github.com/cannatag/ldap3 arch = any - license = LGPL + license = LGPL-3.0-or-later + 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 ===================================== PKGBUILD ===================================== @@ -7,10 +7,10 @@ pkgver=2.9.1 pkgrel=9 pkgdesc="A strictly RFC 4510 conforming LDAP V3 pure Python client library" url="https://github.com/cannatag/ldap3" -license=('LGPL') +license=('LGPL-3.0-or-later') arch=('any') depends=('python-pyasn1') -makedepends=('python-setuptools') +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') @@ -23,7 +23,7 @@ prepare() { build() { cd "$srcdir"/ldap3-$pkgver - python setup.py build + python -m build --wheel --no-isolation } check() { @@ -34,5 +34,5 @@ check() { package() { cd ldap3-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 + python -m installer --destdir="$pkgdir" dist/*.whl } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-ldap3/-/compare/d369368dbd59224f4268058f9c7178282c20fd02...34ef31b636dcfe0949be9baf2bb463c4cd934f46 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-ldap3/-/compare/d369368dbd59224f4268058f9c7178282c20fd02...34ef31b636dcfe0949be9baf2bb463c4cd934f46 You're receiving this email because of your account on gitlab.archlinux.org.
