community/python-autobahn to 20.6.2-2

This commit is contained in:
Kevin Mihelich 2020-07-13 11:51:31 +00:00
parent 477b667b3a
commit ac91a7e4ee

View file

@ -7,7 +7,7 @@
pkgname=python-autobahn pkgname=python-autobahn
pkgver=20.6.2 pkgver=20.6.2
pkgrel=1 pkgrel=2
pkgdesc='Real-time framework for Web, Mobile & Internet of Things' pkgdesc='Real-time framework for Web, Mobile & Internet of Things'
arch=(x86_64) arch=(x86_64)
url='https://crossbar.io/autobahn/' url='https://crossbar.io/autobahn/'
@ -36,6 +36,15 @@ optdepends=(
source=(https://files.pythonhosted.org/packages/source/a/autobahn/autobahn-$pkgver.tar.gz) source=(https://files.pythonhosted.org/packages/source/a/autobahn/autobahn-$pkgver.tar.gz)
sha256sums=('6ac6b6653b8d20d632b034adccf6a566154d4efbeaa23abf7c3995fd601e9a01') 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() { build() {
cd "$srcdir/autobahn-$pkgver" cd "$srcdir/autobahn-$pkgver"
python setup.py build python setup.py build