[arch-commits] Commit in python-typed-ast/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 9 15:55:38 UTC 2020
Date: Monday, November 9, 2020 @ 15:55:38
Author: felixonmars
Revision: 747238
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 747237, python-typed-ast/trunk/PKGBUILD)
----------+
PKGBUILD | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
Copied: python-typed-ast/repos/community-staging-x86_64/PKGBUILD (from rev 747237, python-typed-ast/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-11-09 15:55:38 UTC (rev 747238)
@@ -0,0 +1,23 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+pkgname=python-typed-ast
+pkgver=1.4.1
+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/${pkgver}.tar.gz")
+sha256sums=('498a6cd88f78e4b2058092ff38c9941d61f4eba2c12b371240ba663f063adf7d')
+
+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