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

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 19:02:54 UTC 2020


    Date: Thursday, November 12, 2020 @ 19:02:54
  Author: foutrelis
Revision: 753318

archrelease: copy trunk to community-staging-any

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

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

Copied: python-gast02/repos/community-staging-any/PKGBUILD (from rev 753317, python-gast02/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 19:02:54 UTC (rev 753318)
@@ -0,0 +1,23 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+pkgname=python-gast02
+pkgver=0.2.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')
+conflicts=('python-gast')
+makedepends=('python-setuptools')
+source=("https://pypi.io/packages/source/g/gast/gast-${pkgver}.tar.gz")
+sha512sums=('0be9b2b66b7815153e6f294b4db6b028c321d8a94d97c89d89b026df73e0c95dc2ee8af5c10f2eee51cbfb94af4b5a0da8a682896861870b98dec4c6c59a5dd3')
+
+build() {
+  cd "${srcdir}"/gast-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd "${srcdir}/gast-$pkgver"
+  python setup.py install --root=${pkgdir} --optimize=1
+}


More information about the arch-commits mailing list