Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / 
python-gcp-devrel-py-tools


Commits:
3940e0e5 by loqs at 2026-02-07T18:58:05+00:00
SPDX license identifier

https://github.com/GoogleCloudPlatform/python-repo-tools/blob/dbc02f5ec965a6672d47a0e8963365970d96db17/LICENSE

- - - - -
d079b545 by loqs at 2026-02-07T18:59:22+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,10 @@ pkgbase = python-gcp-devrel-py-tools
        pkgrel = 9
        url = https://github.com/GoogleCloudPlatform/python-repo-tools
        arch = any
-       license = Apache
+       license = Apache-2.0
+       makedepends = python-build
+       makedepends = python-installer
+       makedepends = python-wheel
        depends = python-setuptools
        depends = python-requests
        depends = python-retrying


=====================================
PKGBUILD
=====================================
@@ -6,20 +6,21 @@ _commit=dbc02f5ec965a6672d47a0e8963365970d96db17
 pkgrel=9
 pkgdesc='Tools for Cloud Platform Python libraries and samples'
 arch=('any')
-license=('Apache')
+license=('Apache-2.0')
 url='https://github.com/GoogleCloudPlatform/python-repo-tools'
 depends=('python-setuptools' 'python-requests' 'python-retrying' 
'python-packaging' 'python-pylint')
+makedepends=('python-build' 'python-installer' 'python-wheel')
 
source=("$pkgname-$_commit.tar.gz::https://github.com/GoogleCloudPlatform/python-repo-tools/archive/$_commit.tar.gz";)
 
sha512sums=('8e1963d9cf15aee6c11bf99236f6d86ba72a56a8bb41c20b7d28786669551a35204755c9abcccc617ac4384b9f68e53a0a04d70726849fd0cd3c89f0aae15b76')
 
 build() {
   cd "$srcdir"/python-repo-tools-$_commit
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 package() {
   cd python-repo-tools-$_commit
-  python setup.py install --root="$pkgdir" --optimize=1
+  python -m installer --destdir="$pkgdir" dist/*.whl
 }
 
 # vim:set ts=2 sw=2 et:



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-gcp-devrel-py-tools/-/compare/24da0e60d6b73d78322e9fd17af74a82d14131dc...d079b5451a73811c334bffd86c4c9a6e900d3792

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-gcp-devrel-py-tools/-/compare/24da0e60d6b73d78322e9fd17af74a82d14131dc...d079b5451a73811c334bffd86c4c9a6e900d3792
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to