Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages /
python-google-auth-oauthlib
Commits:
be8681b5 by Jelle van der Waa at 2024-03-02T15:00:11+01:00
Don't hardcode the Python site-packages path
- - - - -
1 changed file:
- PKGBUILD
Changes:
=====================================
PKGBUILD
=====================================
@@ -27,5 +27,6 @@ package() {
install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
# Remove conflicting files
- rm -r "${pkgdir}"/usr/lib/python3.11/site-packages/docs
+ local python_version=$(python -c 'import sys; print(".".join(map(str,
sys.version_info[:2])))')
+ rm -r "${pkgdir}/usr/lib/python${python_version}/site-packages/docs"
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-google-auth-oauthlib/-/commit/be8681b5c7ba0cec9198a5c0069a8036564be83d
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-google-auth-oauthlib/-/commit/be8681b5c7ba0cec9198a5c0069a8036564be83d
You're receiving this email because of your account on gitlab.archlinux.org.