Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / python-factory-boy
Commits: 868ecea1 by Rafael Fontenelle at 2024-02-26T14:22:06-03:00 Remove hardcoded Python version - - - - - 1 changed file: - PKGBUILD Changes: ===================================== PKGBUILD ===================================== @@ -35,7 +35,8 @@ build() { check() { cd factory_boy-$pkgver python -m installer -d tmp_install dist/*.whl - PYTHONPATH=tmp_install/usr/lib/python3.11/site-packages pytest + local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") + PYTHONPATH=tmp_install/"${site_packages}" pytest } package() { View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-factory-boy/-/commit/868ecea1ea47ae3313be44ef51982f7b60d503c7 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-factory-boy/-/commit/868ecea1ea47ae3313be44ef51982f7b60d503c7 You're receiving this email because of your account on gitlab.archlinux.org.