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

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


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

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-18 17:49:42 UTC (rev 726758)
+++ PKGBUILD	2020-10-18 17:49:49 UTC (rev 726759)
@@ -1,22 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-pkgname=python-gast
-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')
-depends=('python')
-makedepends=('python-setuptools')
-source=("https://pypi.io/packages/source/g/gast/gast-${pkgver}.tar.gz")
-sha512sums=('36869a5e0976223a5a82be8bf25a01654896f4de70affe0fec5252104ea6d1fea3eb8c5153530fcac8addc47b51535b02e3920a0e82aad11ba1ca8350cd11341')
-
-build() {
-  cd "${srcdir}"/gast-$pkgver
-  python setup.py build
-}
-
-package_python-gast() {
-  cd "${srcdir}/gast-$pkgver"
-  python setup.py install --root=${pkgdir} --optimize=1
-}

Copied: python-gast/repos/community-any/PKGBUILD (from rev 726758, python-gast/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-10-18 17:49:49 UTC (rev 726759)
@@ -0,0 +1,23 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+pkgname=python-gast
+pkgver=0.4.0
+pkgrel=1
+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=('d132884c51f7172db9b807095619b2cf3ef92acea18aa1de65f6a338b381b7d3fb3f79ff0c1f9ef9388ef885700b7e58309bd95ccebce46bd3173cc484c9c4f5')
+
+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