summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ec4647d7b92dc095701455b9eca6bdaf480d6d9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# PKGBUILD generated by pipman
# Python package author: Andrew Trask <contact@openmined.org>
pkgname=python-syft
pkgver=0.2.4
pkgrel=10
pkgdesc="A Library for Private, Secure Deep Learning"
arch=(any)
url="https://github.com/OpenMined/PySyft"
license=(Apache-2.0)
makedepends=("python" "python-pip")
build() {
  pip install --no-deps --target="syft" syft==0.2.4
}
package() {
  depends=('python-tf-encrypted'
    'python-tblib'
    'python-websockets'
    'python-websocket-client'
    'python-msgpack'
    'python-lz4'
    'python-zstandard'
    'tensorboard')
  sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
  mkdir -p $pkgdir/"$sitepackages"
  cp -r $srcdir/syft/* $pkgdir/"$sitepackages"
}