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

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 20:20:13 UTC 2021


    Date: Tuesday, November 30, 2021 @ 20:20:13
  Author: felixonmars
Revision: 1058033

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 1058029, python-typed-ast/trunk/PKGBUILD)

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

Copied: python-typed-ast/repos/community-staging-x86_64/PKGBUILD (from rev 1058029, python-typed-ast/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-11-30 20:20:13 UTC (rev 1058033)
@@ -0,0 +1,23 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+pkgname=python-typed-ast
+pkgver=1.5.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=('0cb19523a49d85c05760c64afa538420f44c5fd7ed5755a4be926324b113dd53')
+
+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