Date: Monday, June 17, 2019 @ 22:55:10 Author: svenstaro Revision: 482046
archrelease: copy trunk to community-any Added: python-tensorflow-estimator/repos/community-any/PKGBUILD (from rev 482045, python-tensorflow-estimator/trunk/PKGBUILD) Deleted: python-tensorflow-estimator/repos/community-any/PKGBUILD ----------+ PKGBUILD | 72 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 37 insertions(+), 35 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-06-17 22:55:05 UTC (rev 482045) +++ PKGBUILD 2019-06-17 22:55:10 UTC (rev 482046) @@ -1,35 +0,0 @@ -# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> -# Maintainer: Konstantin Gizdov (kgizdov) <a...@kge.pw> - -pkgname=python-tensorflow-estimator -pkgver=1.13.0 -pkgrel=2 -pkgdesc="A high-level TensorFlow API that greatly simplifies machine learning programming" -url="https://github.com/tensorflow/estimator" -license=('APACHE') -arch=('any') -makedepends=('bazel' 'python-wheel' 'python-setuptools' 'python-pip' 'python-tensorflow') -source=("https://github.com/tensorflow/estimator/archive/v${pkgver}.tar.gz") -sha512sums=('e4be92b805776d2be5f391f737f1043b994f42721173c4d4a7dbf3fac9b00121cb072091a474bf71c7dcd952fc8b330cf9254c7a5ad9d096ba1cdc12ba12078b') - -build() { - cd estimator-${pkgver} - - bazel build //tensorflow_estimator/tools/pip_package:build_pip_package - bazel-bin/tensorflow_estimator/tools/pip_package/build_pip_package ${srcdir}/estimator_pip -} - -check() { - cd estimator-${pkgver} - - # Of course, upstream doesn't care about working tests... - # Revisit this at some point. - # bazel test //tensorflow_estimator/... -} - -package() { - cd estimator-${pkgver} - - WHEEL_PACKAGE=$(find ${srcdir}/estimator_pip -name "tensor*.whl") - pip install --ignore-installed --upgrade --root "$pkgdir"/ $WHEEL_PACKAGE --no-dependencies -} Copied: python-tensorflow-estimator/repos/community-any/PKGBUILD (from rev 482045, python-tensorflow-estimator/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-06-17 22:55:10 UTC (rev 482046) @@ -0,0 +1,37 @@ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Maintainer: Konstantin Gizdov (kgizdov) <a...@kge.pw> + +pkgname=python-tensorflow-estimator +pkgver=1.14.0rc1 +_pkgver=1.14.0-rc1 +pkgrel=1 +pkgdesc="A high-level TensorFlow API that greatly simplifies machine learning programming" +url="https://github.com/tensorflow/estimator" +license=('APACHE') +arch=('any') +depends=('python-wrapt') +makedepends=('bazel' 'python-wheel' 'python-setuptools' 'python-pip' 'python-tensorflow') +source=("https://github.com/tensorflow/estimator/archive/v${_pkgver}.tar.gz") +sha512sums=('59d9505b01c8bb1f88ab310f341c8a96c3699676e0440b04ade76d66a3940c94b50a2f8ba1704873aae9c6dde0be3d734f0c8f3cf99901b17baa82704d784085') + +build() { + cd estimator-${_pkgver} + + bazel build //tensorflow_estimator/tools/pip_package:build_pip_package + bazel-bin/tensorflow_estimator/tools/pip_package/build_pip_package ${srcdir}/estimator_pip +} + +check() { + cd estimator-${_pkgver} + + # Of course, upstream doesn't care about working tests... + # Revisit this at some point. + # bazel test //tensorflow_estimator/... +} + +package() { + cd estimator-${_pkgver} + + WHEEL_PACKAGE=$(find ${srcdir}/estimator_pip -name "tensor*.whl") + pip install --ignore-installed --upgrade --root "$pkgdir"/ $WHEEL_PACKAGE --no-dependencies +}