[arch-commits] Commit in python-gast02/repos (community-any community-any/PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Thu Nov 21 02:10:40 UTC 2019


    Date: Thursday, November 21, 2019 @ 02:10:39
  Author: svenstaro
Revision: 530984

archrelease: copy trunk to community-any

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

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

Copied: python-gast02/repos/community-any/PKGBUILD (from rev 530983, python-gast02/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2019-11-21 02:10:39 UTC (rev 530984)
@@ -0,0 +1,23 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+pkgname=python-gast02
+pkgver=0.2.2
+pkgrel=1
+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