[arch-commits] Commit in python-libcst/repos/community-any (PKGBUILD PKGBUILD)
Filipe Laíns
ffy00 at gemini.archlinux.org
Tue Aug 31 19:18:09 UTC 2021
Date: Tuesday, August 31, 2021 @ 19:18:09
Author: ffy00
Revision: 1010188
archrelease: copy trunk to community-any
Added:
python-libcst/repos/community-any/PKGBUILD
(from rev 1010187, python-libcst/trunk/PKGBUILD)
Deleted:
python-libcst/repos/community-any/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-08-31 19:18:05 UTC (rev 1010187)
+++ PKGBUILD 2021-08-31 19:18:09 UTC (rev 1010188)
@@ -1,44 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-_pkgname=LibCST
-pkgname=python-libcst
-pkgver=0.3.19
-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=('24dc21900d13a01b97e6596b04e31362559178993efb1c4cb6e0213582825e967293a13c504d95af33254678acd95f9d081394a525db69d216a270486a5191a4')
-
-prepare() {
- cd $_pkgname-$pkgver
-
- sed -i 's/import AbstractBaseMatcherNodeMeta/import Optional, AbstractBaseMatcherNodeMeta/' libcst/codegen/gen_matcher_classes.py
- 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:
Copied: python-libcst/repos/community-any/PKGBUILD (from rev 1010187, python-libcst/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-08-31 19:18:09 UTC (rev 1010188)
@@ -0,0 +1,44 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=LibCST
+pkgname=python-libcst
+pkgver=0.3.20
+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=('03920d896850a228c3e48d9eb6256d6e781829965a6ccc4a8d9051ea8ad21a86c25b95cb4aef03b0fd3bd8d45694398dd7e30aeefc9d1b530747ee85ba73861f')
+
+prepare() {
+ cd $_pkgname-$pkgver
+
+ sed -i 's/import AbstractBaseMatcherNodeMeta/import Optional, AbstractBaseMatcherNodeMeta/' libcst/codegen/gen_matcher_classes.py
+ 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