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

Sven-Hendrik Haase svenstaro at archlinux.org
Wed Mar 25 00:57:29 UTC 2020


    Date: Wednesday, March 25, 2020 @ 00:57:28
  Author: svenstaro
Revision: 603961

archrelease: copy trunk to community-any

Added:
  python-astunparse/repos/community-any/
  python-astunparse/repos/community-any/PKGBUILD
    (from rev 603960, python-astunparse/trunk/PKGBUILD)

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

Copied: python-astunparse/repos/community-any/PKGBUILD (from rev 603960, python-astunparse/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-03-25 00:57:28 UTC (rev 603961)
@@ -0,0 +1,28 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Andrew Steinke <rkcf at rkcf.me>
+
+pkgname=python-astunparse
+_pkgname=astunparse
+pkgrel=2
+pkgver=1.6.2
+pkgdesc="An AST unparser for Python"
+depends=('python' 'python-six')
+makedepends=('python-setuptools' 'python-wheel')
+url="https://github.com/simonpercivall/astunparse"
+license=('python')
+arch=('any')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/simonpercivall/astunparse/archive/v$pkgver.tar.gz")
+sha512sums=('b1913f9e9a11154c0f802c3b93fcfe456012e90e3371924f717c07430fc50336cff8b02d125c622e1696a2632d49ec9a8ff0e1ed94c609579a9c2eb941f4facb')
+
+build() {
+  cd "$srcdir/$_pkgname-$pkgver"
+  python setup.py build
+}
+
+package() {
+  cd "$srcdir/$_pkgname-$pkgver"
+  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list