[arch-commits] Commit in python-gast/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Nov 10 04:07:06 UTC 2020


    Date: Tuesday, November 10, 2020 @ 04:07:06
  Author: felixonmars
Revision: 748493

archrelease: copy trunk to community-staging-any

Added:
  python-gast/repos/community-staging-any/
  python-gast/repos/community-staging-any/PKGBUILD
    (from rev 748492, python-gast/trunk/PKGBUILD)

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

Copied: python-gast/repos/community-staging-any/PKGBUILD (from rev 748492, python-gast/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 04:07:06 UTC (rev 748493)
@@ -0,0 +1,23 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+pkgname=python-gast
+pkgver=0.4.0
+pkgrel=2
+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=('d132884c51f7172db9b807095619b2cf3ef92acea18aa1de65f6a338b381b7d3fb3f79ff0c1f9ef9388ef885700b7e58309bd95ccebce46bd3173cc484c9c4f5')
+
+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