[arch-commits] Commit in (4 files)

Morten Linderud foxboron at archlinux.org
Sun May 6 15:08:33 UTC 2018


    Date: Sunday, May 6, 2018 @ 15:08:32
  Author: foxboron
Revision: 319020

Added python-typed-ast

Added:
  python-typed-ast/
  python-typed-ast/repos/
  python-typed-ast/trunk/
  python-typed-ast/trunk/PKGBUILD

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

Added: python-typed-ast/trunk/PKGBUILD
===================================================================
--- python-typed-ast/trunk/PKGBUILD	                        (rev 0)
+++ python-typed-ast/trunk/PKGBUILD	2018-05-06 15:08:32 UTC (rev 319020)
@@ -0,0 +1,24 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+pkgname=python-typed-ast
+pkgver=1.1.0
+pkgrel=2
+pkgdesc="a fork of Python 2 and 3 ast modules with type comment support"
+arch=('x86_64')
+url="https://github.com/python/typed_ast"
+license=('Apache')
+depends=('python')
+makedepends=('python-setuptools')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/python/typed_ast/archive/1.1.0.tar.gz")
+sha256sums=('4a1dc8888f032fec709d947b64b8eeca26b5952c6ea5152780a0e02c715e0ed7')
+
+build(){
+  cd "typed_ast-$pkgver"
+  python setup.py build
+}
+
+
+package(){
+  cd "typed_ast-$pkgver"
+  python setup.py install --prefix="usr/" --root="$pkgdir/" --optimize=1 --skip-build
+}



More information about the arch-commits mailing list