Morten Linderud pushed to branch main at Arch Linux / Packaging / Packages / python-google-api-python-client
Commits: 3a52911d by loqs at 2026-02-07T21:02:28+00:00 SPDX license identifier https://github.com/googleapis/google-api-python-client/blob/v2.140.0/LICENSE - - - - - 5e6e8132 by loqs at 2026-02-07T21:09:26+00:00 Use PEP 517 for building Related https://archlinux.org/todo/use-pep-517-for-building-if-supported/. - - - - - 436ec3c5 by Morten Linderud at 2026-02-09T23:09:00+01:00 Merge remote-tracking branch 'origin/merge-requests/1' * origin/merge-requests/1: Use PEP 517 for building SPDX license identifier - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -4,8 +4,11 @@ pkgbase = python-google-api-python-client pkgrel = 3 url = https://github.com/google/google-api-python-client arch = any - license = Apache + license = Apache-2.0 + makedepends = python-build + makedepends = python-installer makedepends = python-setuptools + makedepends = python-wheel depends = python-google-auth-httplib2 depends = python-uritemplate depends = python-google-api-core ===================================== PKGBUILD ===================================== @@ -8,23 +8,19 @@ pkgrel=3 pkgdesc="Google API Client Library for Python" arch=('any') url="https://github.com/google/google-api-python-client" -license=('Apache') +license=('Apache-2.0') depends=('python-google-auth-httplib2' 'python-uritemplate' 'python-google-api-core') optdepends=('python-oauth2client: optional backend') -makedepends=('python-setuptools') +makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') source=("google-api-python-client-${pkgver}.tar.gz::https://github.com/google/google-api-python-client/archive/v${pkgver}.tar.gz") sha256sums=('eb1658d1a8df9067949f7841abe8bc111698b3cbe0aa150fa9d1028760163853') build() { cd "google-api-python-client-${pkgver}" - python setup.py build + python -m build --wheel --no-isolation } package() { cd "google-api-python-client-$pkgver" - python setup.py install --skip-build --root="$pkgdir" --optimize=1 - - # Workaround for FS#47243 - _site_packages=`python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"` - chmod -R a+r "$pkgdir$_site_packages" + python -m installer --destdir="$pkgdir" dist/*.whl } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-google-api-python-client/-/compare/058122f7d384c5fa36767853d3677f41b173159e...436ec3c5eea7d58f70b05f7d887842ab7b85969f -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-google-api-python-client/-/compare/058122f7d384c5fa36767853d3677f41b173159e...436ec3c5eea7d58f70b05f7d887842ab7b85969f You're receiving this email because of your account on gitlab.archlinux.org.
