Date: Sunday, July 26, 2020 @ 01:34:15 Author: svenstaro Revision: 665308
archrelease: copy trunk to community-any Added: python-tensorflow-estimator/repos/community-any/PKGBUILD (from rev 665307, python-tensorflow-estimator/trunk/PKGBUILD) Deleted: python-tensorflow-estimator/repos/community-any/PKGBUILD ----------+ PKGBUILD | 72 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-07-26 01:34:05 UTC (rev 665307) +++ PKGBUILD 2020-07-26 01:34:15 UTC (rev 665308) @@ -1,36 +0,0 @@ -# Maintainer: Sven-Hendrik Haase <svenst...@gmail.com> -# Maintainer: Konstantin Gizdov (kgizdov) <a...@kge.pw> - -pkgname=python-tensorflow-estimator -pkgver=2.2.0 -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=("${pkgname}-${pkgver}.tar.gz::https://github.com/tensorflow/estimator/archive/v${pkgver}.tar.gz") -sha512sums=('aaf743835e2c606439fcccb56742997e930ba0e72c01d51633ce86824bbfaacd64607dc1fd7fb9604cc444feb65ebae60c2266be084e1b49ef2a1a9ca5a3d60d') - -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 665307, python-tensorflow-estimator/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-07-26 01:34:15 UTC (rev 665308) @@ -0,0 +1,36 @@ +# Maintainer: Sven-Hendrik Haase <svenst...@gmail.com> +# Maintainer: Konstantin Gizdov (kgizdov) <a...@kge.pw> + +pkgname=python-tensorflow-estimator +pkgver=2.3.0 +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=("${pkgname}-${pkgver}.tar.gz::https://github.com/tensorflow/estimator/archive/v${pkgver}.tar.gz") +sha512sums=('0befc9c04650a0cd91ce90bc2e9a5d17ae3f7d8d8e4b8f763f223bbb891c73c7e2cbe91a2779af36342008e16f02d118120d94165c6a8e3c14a723b32ee29cb0') + +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 +}