Date: Tuesday, October 1, 2019 @ 07:14:57 Author: svenstaro Revision: 512312
archrelease: copy trunk to community-any Added: python-tensorflow-estimator/repos/community-any/PKGBUILD (from rev 512311, python-tensorflow-estimator/trunk/PKGBUILD) Deleted: python-tensorflow-estimator/repos/community-any/PKGBUILD ----------+ PKGBUILD | 74 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 37 insertions(+), 37 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-10-01 07:14:52 UTC (rev 512311) +++ PKGBUILD 2019-10-01 07:14:57 UTC (rev 512312) @@ -1,37 +0,0 @@ -# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> -# Maintainer: Konstantin Gizdov (kgizdov) <a...@kge.pw> - -pkgname=python-tensorflow-estimator -pkgver=1.14.0 -_pkgver=1.14.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=("https://github.com/tensorflow/estimator/archive/v${_pkgver}.tar.gz") -sha512sums=('65d21f4d275edc57feb0b36775f275d7b7adc1f5c2958b8269dcf61bed0189570adcb2eaf981e2ae4ba7e6ccec6d4d467384a267a6a29c325dc8126b1bdced5a') - -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 512311, python-tensorflow-estimator/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-10-01 07:14:57 UTC (rev 512312) @@ -0,0 +1,37 @@ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Maintainer: Konstantin Gizdov (kgizdov) <a...@kge.pw> + +pkgname=python-tensorflow-estimator +pkgver=2.0.0 +_pkgver=2.0.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=('99bbdb4be9cd9f46128657b262fc6daa61a1dbfad6c430c43bb62ef99cefec10b10bf03090adcb21bdac0404e00084b4e5c4961761a52462afdeb105ef1e0c73') + +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 +}