[arch-commits] Commit in python-typed-ast/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Jun 30 16:08:40 UTC 2018
Date: Saturday, June 30, 2018 @ 16:08:40
Author: felixonmars
Revision: 348390
archrelease: copy trunk to community-staging-x86_64
Added:
python-typed-ast/repos/community-staging-x86_64/
python-typed-ast/repos/community-staging-x86_64/PKGBUILD
(from rev 348389, python-typed-ast/trunk/PKGBUILD)
----------+
PKGBUILD | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
Copied: python-typed-ast/repos/community-staging-x86_64/PKGBUILD (from rev 348389, python-typed-ast/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-06-30 16:08:40 UTC (rev 348390)
@@ -0,0 +1,23 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+pkgname=python-typed-ast
+pkgver=1.1.0
+pkgrel=3
+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