Date: Monday, March 4, 2019 @ 21:02:36
  Author: svenstaro
Revision: 437618

Rename tensorflow-estimator to python-tensorflow-estimator

Added:
  python-tensorflow-estimator/
  python-tensorflow-estimator/repos/
  python-tensorflow-estimator/repos/community-any/
  python-tensorflow-estimator/repos/community-any/PKGBUILD
  python-tensorflow-estimator/trunk/
  python-tensorflow-estimator/trunk/PKGBUILD
Deleted:
  tensorflow-estimator/

------------------------------+
 repos/community-any/PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 trunk/PKGBUILD               |   35 +++++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

Added: python-tensorflow-estimator/repos/community-any/PKGBUILD
===================================================================
--- python-tensorflow-estimator/repos/community-any/PKGBUILD                    
        (rev 0)
+++ python-tensorflow-estimator/repos/community-any/PKGBUILD    2019-03-04 
21:02:36 UTC (rev 437618)
@@ -0,0 +1,35 @@
+# Maintainer: Sven-Hendrik Haase <[email protected]>
+# Maintainer: Konstantin Gizdov (kgizdov) <[email protected]>
+
+pkgname=tensorflow-estimator
+pkgver=1.13.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')
+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 ${srcdir}/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 ${srcdir}/estimator-${pkgver}
+
+  # Of course, upstream doesn't care about working tests...
+  # Revisit this at some point.
+  # bazel test //tensorflow_estimator/...
+}
+
+package() {
+  cd ${srcdir}/estimator-${pkgver}
+
+  WHEEL_PACKAGE=$(find ${srcdir}/estimator_pip -name "tensor*.whl")
+  pip install --ignore-installed --upgrade --root $pkgdir/ $WHEEL_PACKAGE 
--no-dependencies
+}

Added: python-tensorflow-estimator/trunk/PKGBUILD
===================================================================
--- python-tensorflow-estimator/trunk/PKGBUILD                          (rev 0)
+++ python-tensorflow-estimator/trunk/PKGBUILD  2019-03-04 21:02:36 UTC (rev 
437618)
@@ -0,0 +1,35 @@
+# Maintainer: Sven-Hendrik Haase <[email protected]>
+# Maintainer: Konstantin Gizdov (kgizdov) <[email protected]>
+
+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
+}

Reply via email to