Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / 
python-keystoneclient


Commits:
9583b9db by loqs at 2026-02-11T22:09:13+00:00
SPDX license identifier

https://github.com/openstack/python-keystoneclient/blob/5.7.0/LICENSE

- - - - -
8d956171 by loqs at 2026-02-11T22:10:21+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,7 +4,7 @@ pkgbase = python-keystoneclient
        pkgrel = 3
        url = https://docs.openstack.org/python-keystoneclient/latest/
        arch = any
-       license = Apache
+       license = Apache-2.0
        checkdepends = python-fixtures
        checkdepends = python-keyring
        checkdepends = python-lxml
@@ -17,7 +17,10 @@ pkgbase = python-keystoneclient
        checkdepends = python-testscenarios
        checkdepends = python-testtools
        makedepends = git
+       makedepends = python-build
+       makedepends = python-installer
        makedepends = python-setuptools
+       makedepends = python-wheel
        depends = python-pbr
        depends = python-debtcollector
        depends = python-oslo-config


=====================================
PKGBUILD
=====================================
@@ -6,11 +6,11 @@ pkgrel=3
 pkgdesc="Client Library for OpenStack Identity"
 arch=('any')
 url="https://docs.openstack.org/python-keystoneclient/latest/";
-license=('Apache')
+license=('Apache-2.0')
 depends=('python-pbr' 'python-debtcollector' 'python-oslo-config' 
'python-oslo-i18n'
          'python-oslo-serialization' 'python-oslo-utils' 'python-requests' 
'python-stevedore'
          'python-packaging')
-makedepends=('git' 'python-setuptools')
+makedepends=('git' 'python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
 checkdepends=('python-fixtures' 'python-keyring' 'python-lxml' 
'python-oauthlib'
               'python-os-client-config' 'python-oslotest' 
'python-requests-mock'
               'python-stestr' 'python-testresources' 'python-testscenarios' 
'python-testtools')
@@ -19,7 +19,7 @@ 
sha512sums=('08c9ecc167c8732e4db861cc7663a41748026324d553db46529a19751d884b148f7
 
 build() {
   cd python-keystoneclient
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -29,5 +29,5 @@ check() {
 
 package() {
   cd python-keystoneclient
-  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-keystoneclient/-/compare/d86f81b4a80b3be75221490b29f8ab8da25603d9...8d956171868e3f1642f611cdb3b0642d2ad67939

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-keystoneclient/-/compare/d86f81b4a80b3be75221490b29f8ab8da25603d9...8d956171868e3f1642f611cdb3b0642d2ad67939
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to