[arch-commits] Commit in python-libcst/repos/community-any (PKGBUILD PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Wed Nov 25 14:41:25 UTC 2020


    Date: Wednesday, November 25, 2020 @ 14:41:25
  Author: ffy00
Revision: 761068

archrelease: copy trunk to community-any

Added:
  python-libcst/repos/community-any/PKGBUILD
    (from rev 761067, python-libcst/trunk/PKGBUILD)
Deleted:
  python-libcst/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   80 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 43 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-25 14:41:22 UTC (rev 761067)
+++ PKGBUILD	2020-11-25 14:41:25 UTC (rev 761068)
@@ -1,37 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-_pkgname=LibCST
-pkgname=python-libcst
-pkgver=0.3.13
-pkgrel=1
-pkgdesc="A concrete syntax tree parser and serializer library for Python that preserves many aspects of Python's abstract syntax tree"
-arch=('any')
-url='https://github.com/Instagram/LibCST'
-license=('MIT')
-depends=('python-typing_extensions' 'python-typing_inspect' 'python-yaml')
-makedepends=('python-setuptools')
-checkdepends=('python-hypothesis' 'python-hypothesmith' 'python-isort' 'python-black')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('f4f0a962557a12bf92b806d10ee9c10de04c066fe6f56e59a2664439a79f49b9a98e4420b78321ac0dd49c04a3603f778b2ebbc0597521725421bd512072c2eb')
-
-build() {
-  cd $_pkgname-$pkgver
-
-  python setup.py build
-}
-
-check() {
-  cd $_pkgname-$pkgver
-
-  python -m unittest
-}
-
-package() {
-  cd $_pkgname-$pkgver
-
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
-  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-libcst/repos/community-any/PKGBUILD (from rev 761067, python-libcst/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-25 14:41:25 UTC (rev 761068)
@@ -0,0 +1,43 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=LibCST
+pkgname=python-libcst
+pkgver=0.3.14
+pkgrel=1
+pkgdesc="A concrete syntax tree parser and serializer library for Python that preserves many aspects of Python's abstract syntax tree"
+arch=('any')
+url='https://github.com/Instagram/LibCST'
+license=('MIT')
+depends=('python-typing_extensions' 'python-typing_inspect' 'python-yaml')
+makedepends=('python-setuptools')
+checkdepends=('python-hypothesis' 'python-hypothesmith' 'python-isort' 'python-black')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('d3ce611815917a42070c632646556d08350428b8a7264d3617ccf3b9dca7c722945f281f47ab90bd08677a8bc732e63ded68a37c7848fc404198e3b98daed0e9')
+
+prepare() {
+  cd $_pkgname-$pkgver
+
+  python -m libcst.codegen.generate matchers
+}
+
+build() {
+  cd $_pkgname-$pkgver
+
+  python setup.py build
+}
+
+check() {
+  cd $_pkgname-$pkgver
+
+  python -m unittest
+}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list