Date: Monday, August 29, 2022 @ 14:40:29 Author: yan12125 Revision: 1285265
python-autobahn: fix building with newer setuptools See: https://wiki.archlinux.org/index.php?title=Python_package_guidelines&type=revision&diff=743435&oldid=742361 See: https://github.com/pypa/distutils/pull/133 Modified: python-autobahn/trunk/PKGBUILD ----------+ PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-08-29 14:40:05 UTC (rev 1285264) +++ PKGBUILD 2022-08-29 14:40:29 UTC (rev 1285265) @@ -54,11 +54,11 @@ check() { cd "$srcdir/autobahn-$pkgver" - pyver=$(python -c "import sys; print('{}.{}'.format(*sys.version_info[:2]))") + pyver=$(python -c "import sys; print('{}{}'.format(*sys.version_info[:2]))") # "autobahn on asyncio is tested using pytest, while for twisted we are using twisted trial" # https://github.com/crossbario/autobahn-python/issues/1235#issuecomment-522440810 - USE_TWISTED=1 PYTHONPATH=.:build/lib.linux-$CARCH-$pyver trial autobahn - USE_ASYNCIO=1 PYTHONPATH=.:build/lib.linux-$CARCH-$pyver pytest autobahn + USE_TWISTED=1 PYTHONPATH=.:build/lib.linux-$CARCH-cpython-$pyver trial autobahn + USE_ASYNCIO=1 PYTHONPATH=.:build/lib.linux-$CARCH-cpython-$pyver pytest autobahn } package() {
