Sven-Hendrik Haase pushed to branch main at Arch Linux / Packaging / Packages / 
python-ntlm-auth


Commits:
81ebb138 by loqs at 2026-02-14T20:59:51+00:00
Use PEP 517 for building

Related https://archlinux.org/todo/use-pep-517-for-building-if-supported/.

- - - - -
a843e17c by loqs at 2026-02-14T21:08:25+00:00
Package MIT license file

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -5,7 +5,10 @@ pkgbase = python-ntlm-auth
        url = https://github.com/jborean93/ntlm-auth
        arch = any
        license = MIT
+       makedepends = python-build
+       makedepends = python-installer
        makedepends = python-setuptools
+       makedepends = python-wheel
        depends = python
        depends = python-cryptography
        source = 
python-ntlm-auth-1.5.0.tar.gz::https://github.com/jborean93/ntlm-auth/archive/v1.5.0.tar.gz


=====================================
PKGBUILD
=====================================
@@ -8,7 +8,7 @@ pkgrel=11
 pkgdesc="Creates NTLM authentication structures"
 url="https://github.com/jborean93/ntlm-auth";
 depends=('python' 'python-cryptography')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
 license=('MIT')
 arch=('any')
 
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/jborean93/ntlm-auth/archive/v${pkgver}.tar.gz";)
@@ -16,10 +16,11 @@ 
sha512sums=('cf08b23e49d45c528404b70b6be88f6c3edee9fd0d4584f3962931a08a0982cdad4
 
 build() {
     cd "${_module}-${pkgver}"
-    python setup.py build
+    python -m build --wheel --no-isolation
 }
 
 package() {
     cd "${_module}-${pkgver}"
-    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+    python -m installer --destdir="${pkgdir}" dist/*.whl
+    install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/$pkgname/
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-ntlm-auth/-/compare/a4f334e26462b8fe7091581a3e4ff363e7671663...a843e17c5bc8e65450a5504e7c8b81eb00671831

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-ntlm-auth/-/compare/a4f334e26462b8fe7091581a3e4ff363e7671663...a843e17c5bc8e65450a5504e7c8b81eb00671831
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to