Date: Thursday, April 6, 2023 @ 02:13:15
  Author: felixonmars
Revision: 1438068

archrelease: copy trunk to community-staging-any

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

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

Copied: python-gast/repos/community-staging-any/PKGBUILD (from rev 1438066, 
python-gast/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-06 02:13:15 UTC (rev 1438068)
@@ -0,0 +1,23 @@
+# Maintainer: Sven-Hendrik Haase <[email protected]>
+pkgname=python-gast
+pkgver=0.5.3
+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=('a836be76303591ca7c40596d98a29dbd53f281e277c8c23e3821b2003d4e8aaf4d806e7f532f27c0eadd4bdca5a28dc0a3902245505ab97497b9afbfee0c2e52')
+
+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