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


Commits:
d600be0c by loqs at 2026-01-30T21:20:58+00:00
SPDX license identifier

https://github.com/openstack/python-cinderclient/blob/9.6.0/LICENSE

- - - - -
190cea8f by loqs at 2026-01-30T21:21:05+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-cinderclient
        pkgrel = 3
        url = https://docs.openstack.org/developer/python-cinderclient
        arch = any
-       license = Apache
+       license = Apache-2.0
        checkdepends = python-ddt
        checkdepends = python-fixtures
        checkdepends = python-requests-mock
@@ -12,6 +12,10 @@ pkgbase = python-cinderclient
        checkdepends = python-stestr
        checkdepends = python-oslo-serialization
        makedepends = git
+       makedepends = python-build
+       makedepends = python-installer
+       makedepends = python-setuptools
+       makedepends = python-wheel
        depends = python-pbr
        depends = python-prettytable
        depends = python-keystoneauth1


=====================================
PKGBUILD
=====================================
@@ -8,10 +8,10 @@ pkgrel=3
 pkgdesc="OpenStack Block Storage API Client Library"
 arch=('any')
 url="https://docs.openstack.org/developer/python-cinderclient";
-license=('Apache')
+license=('Apache-2.0')
 depends=('python-pbr' 'python-prettytable' 'python-keystoneauth1' 
'python-oslo-i18n'
          'python-oslo-utils' 'python-requests' 'python-stevedore')
-makedepends=('git')
+makedepends=('git' 'python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
 checkdepends=('python-ddt' 'python-fixtures' 'python-requests-mock' 
'python-testtools'
               'python-stestr' 'python-oslo-serialization')
 source=(
@@ -28,7 +28,7 @@ prepare() {
 
 build() {
   cd python-cinderclient
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -38,5 +38,5 @@ check() {
 
 package() {
   cd python-cinderclient
-  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-cinderclient/-/compare/3ce4a61c70f0872d2e47caf984538f69086c34ea...190cea8fa52cb8aa8d2fd21ffa7ca49d11751f43

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-cinderclient/-/compare/3ce4a61c70f0872d2e47caf984538f69086c34ea...190cea8fa52cb8aa8d2fd21ffa7ca49d11751f43
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to