Date: Thursday, November 21, 2019 @ 02:10:31
  Author: svenstaro
Revision: 530983

Add python-gast02 for tensorflow

Added:
  python-gast02/
  python-gast02/repos/
  python-gast02/trunk/
  python-gast02/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

Added: python-gast02/trunk/PKGBUILD
===================================================================
--- python-gast02/trunk/PKGBUILD                                (rev 0)
+++ python-gast02/trunk/PKGBUILD        2019-11-21 02:10:31 UTC (rev 530983)
@@ -0,0 +1,23 @@
+# Maintainer: Sven-Hendrik Haase <svenst...@gmail.com>
+pkgname=python-gast02
+pkgver=0.2.2
+pkgrel=1
+pkgdesc="AST that abstracts the underlying Python version"
+url="https://github.com/serge-sans-paille/gast";
+arch=(any)
+license=('BSD')
+depends=('python')
+conflicts=('python-gast')
+makedepends=('python-setuptools')
+source=("https://pypi.io/packages/source/g/gast/gast-${pkgver}.tar.gz";)
+sha512sums=('0be9b2b66b7815153e6f294b4db6b028c321d8a94d97c89d89b026df73e0c95dc2ee8af5c10f2eee51cbfb94af4b5a0da8a682896861870b98dec4c6c59a5dd3')
+
+build() {
+  cd "${srcdir}"/gast-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd "${srcdir}/gast-$pkgver"
+  python setup.py install --root=${pkgdir} --optimize=1
+}

Reply via email to