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

Filipe Laíns ffy00 at archlinux.org
Thu Jun 11 23:34:46 UTC 2020


    Date: Thursday, June 11, 2020 @ 23:34:43
  Author: ffy00
Revision: 642161

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-11 23:34:37 UTC (rev 642160)
+++ PKGBUILD	2020-06-11 23:34:43 UTC (rev 642161)
@@ -1,41 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-_pkgname=LibCST
-pkgname=python-libcst
-pkgver=0.3.4
-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')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('9e68bf141fc798fa2b97712e0ed30ad91b609369d783d487a84781eac48c747caa325cf31351b2173d08da5fb027356fd19b063ed43ca6225a38e071f0208496')
-
-prepare() {
-  rm $_pkgname-$pkgver/libcst/{tests/test_fuzz.py,codegen/tests/test_codegen_clean.py}
-}
-
-build() {
-  cd $_pkgname-$pkgver
-
-  python setup.py build
-}
-
-check() {
-  cd $_pkgname-$pkgver
-
-  python setup.py pytest
-}
-
-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 642160, python-libcst/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-06-11 23:34:43 UTC (rev 642161)
@@ -0,0 +1,37 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=LibCST
+pkgname=python-libcst
+pkgver=0.3.6
+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=('afa55f39df72b8f0d42f678a1418c7acb2564f129568b068f5bbe26321189783ea9f54db6b3c3f79d9a4017420f4304275a49419b64dcf9ad425debf08086d66')
+
+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:



More information about the arch-commits mailing list