



















Needs another change for new python 3.9
Probably should change that tests rm line to be something like this
rm -r ${pkgdir}/usr/lib/python3.*/site-packages/tests/
or
python -c "import sys;print(f'{sys.version_info[0]}.{sys.version_info[1]}')"
Yeah thats is a no brainer after watching the output the 2nd time and your comment the solution was easy :D when aur asks to edit the package build file, change the following line: rm -r ${pkgdir}/usr/lib/python3.7/site-packages/tests/ to: rm -r ${pkgdir}/usr/lib/python3.8/site-packages/tests/
best wishes
rm: cannot remove '/tmp/makepkg/python-crccheck/pkg/python-crccheck/usr/lib/python3.7/site-packages/tests/': No such file or directory
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
Thanks for the advice. I updated the PKGBUILD, please test it. I didn't get an error with 3.9 version because I didn't clear the cache of pacman/yay.