From ac91a7e4eeb8e8e6aa318888d9228221698fb48e Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Mon, 13 Jul 2020 11:51:31 +0000 Subject: [PATCH] community/python-autobahn to 20.6.2-2 --- community/python-autobahn/PKGBUILD | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/community/python-autobahn/PKGBUILD b/community/python-autobahn/PKGBUILD index c506f8258..f637adb32 100644 --- a/community/python-autobahn/PKGBUILD +++ b/community/python-autobahn/PKGBUILD @@ -7,7 +7,7 @@ pkgname=python-autobahn pkgver=20.6.2 -pkgrel=1 +pkgrel=2 pkgdesc='Real-time framework for Web, Mobile & Internet of Things' arch=(x86_64) url='https://crossbar.io/autobahn/' @@ -36,6 +36,15 @@ optdepends=( source=(https://files.pythonhosted.org/packages/source/a/autobahn/autobahn-$pkgver.tar.gz) sha256sums=('6ac6b6653b8d20d632b034adccf6a566154d4efbeaa23abf7c3995fd601e9a01') +prepare() { + cd "$srcdir/autobahn-$pkgver" + # For reproducibility + # If Arch decides to increase CPU requirements [1], -march=x86-64 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 + sed -i 's#-march=native#-march=x86-64#' autobahn/nvx/_utf8validator.py +} + build() { cd "$srcdir/autobahn-$pkgver" python setup.py build