[arch-commits] Commit in (4 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Sat Dec 12 11:55:06 UTC 2020


    Date: Saturday, December 12, 2020 @ 11:55:05
  Author: svenstaro
Revision: 773270

Add python-gast03 for tensorflow

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

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

Added: python-gast03/trunk/PKGBUILD
===================================================================
--- python-gast03/trunk/PKGBUILD	                        (rev 0)
+++ python-gast03/trunk/PKGBUILD	2020-12-12 11:55:05 UTC (rev 773270)
@@ -0,0 +1,24 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+pkgname=python-gast03
+pkgver=0.3.3
+pkgrel=1
+pkgdesc="AST that abstracts the underlying Python version"
+url="https://github.com/serge-sans-paille/gast"
+arch=('any')
+license=('BSD')
+conflicts=('python-gast')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://pypi.io/packages/source/g/gast/gast-${pkgver}.tar.gz")
+sha512sums=('36869a5e0976223a5a82be8bf25a01654896f4de70affe0fec5252104ea6d1fea3eb8c5153530fcac8addc47b51535b02e3920a0e82aad11ba1ca8350cd11341')
+
+build() {
+  cd gast-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd gast-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list