[arch-commits] Commit in python-typed-ast/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Fri Oct 25 16:38:58 UTC 2019
Date: Friday, October 25, 2019 @ 16:38:57
Author: foutrelis
Revision: 519518
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 519517, python-typed-ast/trunk/PKGBUILD)
----------+
PKGBUILD | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
Copied: python-typed-ast/repos/community-staging-x86_64/PKGBUILD (from rev 519517, python-typed-ast/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-10-25 16:38:57 UTC (rev 519518)
@@ -0,0 +1,23 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+pkgname=python-typed-ast
+pkgver=1.4.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/${pkgver}.tar.gz")
+sha256sums=('bd02998404953db788e9d09c1030c4f0eb9d87986b08bd30e9fc00a8e30d6dd8')
+
+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