[arch-commits] Commit in python-gast/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Sun Oct 18 17:49:42 UTC 2020


    Date: Sunday, October 18, 2020 @ 17:49:42
  Author: svenstaro
Revision: 726758

upgpkg: python-gast 0.4.0-1

Modified:
  python-gast/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-18 16:50:19 UTC (rev 726757)
+++ PKGBUILD	2020-10-18 17:49:42 UTC (rev 726758)
@@ -1,6 +1,6 @@
 # Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
 pkgname=python-gast
-pkgver=0.3.3
+pkgver=0.4.0
 pkgrel=1
 pkgdesc="AST that abstracts the underlying Python version "
 url="https://github.com/serge-sans-paille/gast"
@@ -9,14 +9,15 @@
 depends=('python')
 makedepends=('python-setuptools')
 source=("https://pypi.io/packages/source/g/gast/gast-${pkgver}.tar.gz")
-sha512sums=('36869a5e0976223a5a82be8bf25a01654896f4de70affe0fec5252104ea6d1fea3eb8c5153530fcac8addc47b51535b02e3920a0e82aad11ba1ca8350cd11341')
+sha512sums=('d132884c51f7172db9b807095619b2cf3ef92acea18aa1de65f6a338b381b7d3fb3f79ff0c1f9ef9388ef885700b7e58309bd95ccebce46bd3173cc484c9c4f5')
 
 build() {
-  cd "${srcdir}"/gast-$pkgver
+  cd gast-$pkgver
   python setup.py build
 }
 
-package_python-gast() {
-  cd "${srcdir}/gast-$pkgver"
-  python setup.py install --root="${pkgdir}" --optimize=1
+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