Date: Saturday, January 29, 2022 @ 04:58:49 Author: yan12125 Revision: 1118874
upgpkg: python-autobahn 22.1.1-1; several minor cleanups & improvements * Drop AUTOBAHN_USE_NVX=1 as the NVX extension is built by default since upstream version 21.11.1 [1] * Update comments about -march= * Add a link to the changelog [1] https://github.com/crossbario/autobahn-python/pull/1493 Modified: python-autobahn/trunk/PKGBUILD ----------+ PKGBUILD | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-01-29 04:30:06 UTC (rev 1118873) +++ PKGBUILD 2022-01-29 04:58:49 UTC (rev 1118874) @@ -3,8 +3,9 @@ # Maintainer: Anatol Pomozov pkgname=python-autobahn -pkgver=21.11.1 -pkgrel=3 +# https://github.com/crossbario/autobahn-python/blob/master/docs/changelog.rst +pkgver=22.1.1 +pkgrel=1 pkgdesc='Real-time framework for Web, Mobile & Internet of Things' arch=(x86_64) url='https://crossbar.io/autobahn/' @@ -32,15 +33,15 @@ source=(https://files.pythonhosted.org/packages/source/a/autobahn/autobahn-$pkgver.tar.gz judge-sse-header.patch) -sha256sums=('bd6f46315419ca0a5be4109f737410208ad5f19718f67ca6a4a674cc66ca9b18' +sha256sums=('17e1b58b6ae1a63ca7d926b1d71bb9e4fd6b9ac9a1a2277d8ee40e0b61f54746' 'a6505b22363d7b1bbd6c9b4d503118e16129abf91e65885b7ee7f47f74ed9d00') prepare() { cd "$srcdir/autobahn-$pkgver" # For reproducibility - # If Arch decides to increase CPU requirements [1], -march=x86-64 can be + # If Arch decides to increase CPU requirements [1], -march=native can be # replaced with -march=nehalem so that the SSE 4.1 implementation is built - # [1] https://lists.archlinux.org/pipermail/arch-dev-public/2020-March/029914.html + # [1] https://gitlab.archlinux.org/archlinux/rfcs/-/blob/master/rfcs/0002-march.rst sed -i "s#, '-march=native'##" autobahn/nvx/_utf8validator.py patch -Np1 -i "${srcdir}/judge-sse-header.patch" } @@ -47,7 +48,7 @@ build() { cd "$srcdir/autobahn-$pkgver" - AUTOBAHN_USE_NVX=1 python setup.py build + python setup.py build } check() { @@ -61,6 +62,6 @@ package() { cd "$srcdir/autobahn-$pkgver" - AUTOBAHN_USE_NVX=1 python setup.py install --root="$pkgdir" --optimize=1 --skip-build + python setup.py install --root="$pkgdir" --optimize=1 --skip-build install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }
