summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cddfdae431416690a4bf2d0c1fda1c5fbf485d6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: trougnouf (Benoit Brummer) < trougnouf at gmail dot com >

pkgname='python-tensorflow2'
_name='tensorflow'
pkgver="2.0.0b1"
_py=cp37
pkgrel=1
pkgdesc='An end-to-end open source machine learning platform (beta)'
url="https://www.${_name}.org"
depends=('python-numpy')
makedepends=('python-pip')
optdepends=('tensorboard')
provides=('python-tensorflow')
license=('Apache')
arch=('x86_64')
#source=("https://files.pythonhosted.org/packages/py3/${_name::1}/${_name}/${_name}-${_ver}-cp37-cp37m-manylinux1_x86_64.whl")
source=("https://files.pythonhosted.org/packages/$_py/${_name::1}/$_name/${_name/-/_}-$pkgver-$_py-${_py}m-manylinux1_x86_64.whl")
sha256sums=('9e8f0f4801eab024618684281b9d5f990f963bb1b872cf84e341fc5d73283fb7')

package() {
  PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps --no-warn-script-location *.whl
  rm -rf "${pkgdir}"/usr/bin/tensorboard
}