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

Filipe Laíns ffy00 at archlinux.org
Mon Sep 28 18:48:10 UTC 2020


    Date: Monday, September 28, 2020 @ 18:48:10
  Author: ffy00
Revision: 713257

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-28 18:47:58 UTC (rev 713256)
+++ PKGBUILD	2020-09-28 18:48:10 UTC (rev 713257)
@@ -1,37 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-_pkgname=LibCST
-pkgname=python-libcst
-pkgver=0.3.9
-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-pytest-runner' 'python-hypothesis' 'python-isort' 'python-black')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('6d67205bd874d8c37ac3c15af996b9786dfaf90591a9d38e1de28836708cdb4b0851ac5bcf77352e8ddabcd9f650dfbf90cbf43bc9a6908fb2be8612a0b927ce')
-
-build() {
-  cd $_pkgname-$pkgver
-
-  python setup.py build
-}
-
-check() {
-  cd $_pkgname-$pkgver
-
-  python setup.py pytest --addopts '--ignore libcst/tests/test_fuzz.py'
-}
-
-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 713256, python-libcst/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-28 18:48:10 UTC (rev 713257)
@@ -0,0 +1,37 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=LibCST
+pkgname=python-libcst
+pkgver=0.3.11
+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=('1e29b56d776c3066e1c7558d4f2dec9e88127c22866659e8cc82bcc50073e5c87caa2aa3d1508ac4648a33e329fe9d5127e5c2a03b6d48a4ef718b3d19c1889b')
+
+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