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

Sven-Hendrik Haase svenstaro at archlinux.org
Sat Dec 12 11:55:12 UTC 2020


    Date: Saturday, December 12, 2020 @ 11:55:12
  Author: svenstaro
Revision: 773271

archrelease: copy trunk to community-any

Added:
  python-gast03/repos/community-any/
  python-gast03/repos/community-any/PKGBUILD
    (from rev 773270, python-gast03/trunk/PKGBUILD)

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

Copied: python-gast03/repos/community-any/PKGBUILD (from rev 773270, python-gast03/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-12-12 11:55:12 UTC (rev 773271)
@@ -0,0 +1,24 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+pkgname=python-gast03
+pkgver=0.3.3
+pkgrel=1
+pkgdesc="AST that abstracts the underlying Python version"
+url="https://github.com/serge-sans-paille/gast"
+arch=('any')
+license=('BSD')
+conflicts=('python-gast')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://pypi.io/packages/source/g/gast/gast-${pkgver}.tar.gz")
+sha512sums=('36869a5e0976223a5a82be8bf25a01654896f4de70affe0fec5252104ea6d1fea3eb8c5153530fcac8addc47b51535b02e3920a0e82aad11ba1ca8350cd11341')
+
+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