summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: db8a7ebae786ebfec70f45a5bfdf600c85b7cb64 (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
# PKGBUILD generated by pipman
# Python package author: Andrew Trask <contact@openmined.org>
pkgname=python-syft
pkgver=0.1.19a1
pkgrel=7
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.1.19a1
}
package() {
  depends=('python-tf-encrypted'
    'python-tblib'
    'python-websockets'
    'python-websocket-client'
    'python-msgpack'
    'python-lz4')
  sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
  mkdir -p $pkgdir/"$sitepackages"
  cp -r $srcdir/syft/* $pkgdir/"$sitepackages"
}