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


Commits:
94bc4f92 by loqs at 2026-01-31T02:00:06+00:00
SPDX license identifier

https://github.com/openstack/debtcollector/blob/3.0.0/LICENSE

- - - - -
d3b0847c by loqs at 2026-02-01T16:50:10+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,9 +4,13 @@ pkgbase = python-debtcollector
        pkgrel = 5
        url = https://docs.openstack.org/developer/debtcollector
        arch = any
-       license = Apache
+       license = Apache-2.0
        checkdepends = python-stestr
+       makedepends = python-build
+       makedepends = python-installer
        makedepends = python-pbr
+       makedepends = python-setuptools
+       makedepends = python-wheel
        depends = python-wrapt
        source = 
https://github.com/openstack/debtcollector/archive/3.0.0/python-debtcollector-3.0.0.tar.gz
        sha512sums = 
f3e189b952db59e69dce79459b2a9cf0e795503b53bac9688a442dfcdecdd920477481e26bf552f88f0983d348f2605c176acefba5341066648e066f22f249f9


=====================================
PKGBUILD
=====================================
@@ -6,9 +6,9 @@ pkgrel=5
 arch=('any')
 pkgdesc='A collection of Python deprecation patterns and strategies that help 
you collect your technical debt in a non-destructive manner.'
 url='https://docs.openstack.org/developer/debtcollector'
-license=('Apache')
+license=('Apache-2.0')
 depends=('python-wrapt')
-makedepends=('python-pbr')
+makedepends=('python-build' 'python-installer' 'python-pbr' 
'python-setuptools' 'python-wheel')
 checkdepends=('python-stestr')
 
source=("https://github.com/openstack/debtcollector/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
 
sha512sums=('f3e189b952db59e69dce79459b2a9cf0e795503b53bac9688a442dfcdecdd920477481e26bf552f88f0983d348f2605c176acefba5341066648e066f22f249f9')
@@ -17,7 +17,7 @@ export PBR_VERSION=$pkgver
 
 build() {
   cd debtcollector-$pkgver
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 check() {
@@ -27,5 +27,5 @@ check() {
 
 package() {
   cd debtcollector-$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-debtcollector/-/compare/016c083ac616ecd0f0655e068e15e20cfb483581...d3b0847c80e86f3a543b5ef24e7128906ff56c2e

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-debtcollector/-/compare/016c083ac616ecd0f0655e068e15e20cfb483581...d3b0847c80e86f3a543b5ef24e7128906ff56c2e
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to