[arch-commits] Commit in (4 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Sun Oct 7 21:28:28 UTC 2018


    Date: Sunday, October 7, 2018 @ 21:28:27
  Author: svenstaro
Revision: 391044

Move python-gast from AUR for tensorflow

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

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

Added: python-gast/trunk/PKGBUILD
===================================================================
--- python-gast/trunk/PKGBUILD	                        (rev 0)
+++ python-gast/trunk/PKGBUILD	2018-10-07 21:28:27 UTC (rev 391044)
@@ -0,0 +1,21 @@
+pkgname=python-gast
+pkgver=0.2.0
+pkgrel=1
+pkgdesc="AST that abstracts the underlying Python version "
+url="https://github.com/serge-sans-paille/gast"
+arch=(any)
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://pypi.io/packages/source/g/gast/gast-${pkgver}.tar.gz")
+sha512sums=('651719c3035d21e02e39cd83fd54212a12c39addf69f7c9e8810ccb7bb9aae7828e176ad0adf55182f0628f18d76cb1e286e498a9665ddb12e91a51dc2303381')
+
+build() {
+  cd "${srcdir}"/gast-$pkgver
+  python setup.py build
+}
+
+package_python-gast() {
+  cd "${srcdir}/gast-$pkgver"
+  python setup.py install --root=${pkgdir} --optimize=1
+}



More information about the arch-commits mailing list