diff options
author | trougnouf | 2019-08-11 17:14:37 +0200 |
---|---|---|
committer | trougnouf | 2019-08-11 17:14:37 +0200 |
commit | 3837a9cec9cd533b463719df8a092be449cb3a7a (patch) | |
tree | ba47cb69c684c47380c3aa0f71530c29fe264867 /PKGBUILD | |
download | aur-python-tensorflow2.tar.gz |
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cddfdae43141 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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 +} |