Date: Saturday, September 9, 2017 @ 09:37:39 Author: svenstaro Revision: 256638
upgpkg: tensorflow 1.3.0-4 Leave pycache in the package Modified: tensorflow/trunk/PKGBUILD ----------+ PKGBUILD | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-09-09 09:23:16 UTC (rev 256637) +++ PKGBUILD 2017-09-09 09:37:39 UTC (rev 256638) @@ -5,7 +5,7 @@ pkgbase=tensorflow pkgname=(tensorflow tensorflow-cuda python-tensorflow python-tensorflow-cuda) pkgver=1.3.0 -pkgrel=3 +pkgrel=4 pkgdesc="Library for computation using data flow graphs for scalable machine learning" url="https://www.tensorflow.org/" license=('Apache2') @@ -90,7 +90,6 @@ WHEEL_PACKAGE=$(find ${srcdir}/tmp -name "tensor*.whl") pip install --ignore-installed --upgrade --root $pkgdir/ $WHEEL_PACKAGE --no-dependencies - find ${pkgdir} -name __pycache__ -exec rm -r {} + # tensorboard has been separated from upstream but they still install it with # tensorflow. I don't know what kind of sense that makes but we have to clean @@ -109,12 +108,10 @@ WHEEL_PACKAGE=$(find ${srcdir}/tmpcuda -name "tensor*.whl") pip install --ignore-installed --upgrade --root $pkgdir/ $WHEEL_PACKAGE --no-dependencies - find ${pkgdir} -name __pycache__ -exec rm -r {} + # tensorboard has been separated from upstream but they still install it with # tensorflow. I don't know what kind of sense that makes but we have to clean # it out from this pacakge. - rm -rf ${pkgdir}/usr/lib/python3.6/site-packages/tensorflow/contrib/tensorboard rm -rf ${pkgdir}/usr/bin/tensorboard install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE