mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
community/python-autobahn to 20.6.2-2
This commit is contained in:
parent
477b667b3a
commit
ac91a7e4ee
1 changed files with 10 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue