Date: Tuesday, November 30, 2021 @ 18:30:19
  Author: felixonmars
Revision: 1057889

archrelease: copy trunk to community-staging-any

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

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

Copied: python-gast/repos/community-staging-any/PKGBUILD (from rev 1057888, 
python-gast/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2021-11-30 18:30:19 UTC (rev 1057889)
@@ -0,0 +1,23 @@
+# Maintainer: Sven-Hendrik Haase <[email protected]>
+pkgname=python-gast
+pkgver=0.5.2
+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=('2a06245ba93f2c0715f662e32e0865732828deb672bc70c3d70a4969c8a2e4c518354a4a63760eddeba53932d4f8bf0ae0ffab64f1a1ad3b20d5b2d18285cd6a')
+
+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
+}

Reply via email to