[arch-commits] Commit in pylama/repos/community-staging-any (PKGBUILD PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 17:04:26 UTC 2020


    Date: Thursday, November 12, 2020 @ 17:04:26
  Author: foutrelis
Revision: 752223

archrelease: copy trunk to community-staging-any

Added:
  pylama/repos/community-staging-any/PKGBUILD
    (from rev 752222, pylama/trunk/PKGBUILD)
Deleted:
  pylama/repos/community-staging-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-12 17:04:23 UTC (rev 752222)
+++ PKGBUILD	2020-11-12 17:04:26 UTC (rev 752223)
@@ -1,43 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Pieter Goetschalckx <3.14.e.ter at gmail dot com>
-# Contributor: Stijn Seghers (Procrat) <stijnseghers at gmail dot com>
-
-pkgname=pylama
-pkgver=7.7.1
-pkgrel=5
-pkgdesc="Code audit tool for python"
-arch=('any')
-url="https://github.com/klen/pylama"
-license=('GPL3')
-depends=('python-pycodestyle' 'python-pydocstyle' 'python-pyflakes' 'python-mccabe')
-checkdepends=('python-pytest' 'git' 'mypy')
-optdepends=('python-radon: radon support')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/klen/pylama/archive/$pkgver.tar.gz"
-        pylama-pytest-6.patch::https://github.com/klen/pylama/pull/189.patch)
-sha256sums=('acec2b80ad6a4781dc2626992b10ecac7b81be6c0145750c11688c281298f6fe'
-            '6a025bb41afe783841ecb28ab6faada4be9d7b3d152f0a58970757953d343cba')
-
-prepare() {
-  cd $pkgname-$pkgver
-  patch -p1 -i ../pylama-pytest-6.patch
-}
-
-build() {
-  cd $pkgname-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd $pkgname-$pkgver
-  python setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.9/site-packages:$PYTHONPATH:$PWD/tests" py.test --pylama pylama
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.9/site-packages:$PYTHONPATH:$PWD/tests" py.test tests --deselect tests/test_config.py::test_ignore_select \
-                                                                                                     --deselect tests/test_linters.py::test_eradicate
-}
-
-package() {
-  cd $pkgname-$pkgver
-  python setup.py install --root="$pkgdir/" --optimize=1
-
-  mv "$pkgdir"/usr/lib/python3.9/site-packages/{,pylama/}tests
-}

Copied: pylama/repos/community-staging-any/PKGBUILD (from rev 752222, pylama/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-12 17:04:26 UTC (rev 752223)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Pieter Goetschalckx <3.14.e.ter at gmail dot com>
+# Contributor: Stijn Seghers (Procrat) <stijnseghers at gmail dot com>
+
+pkgname=pylama
+pkgver=7.7.1
+pkgrel=6
+pkgdesc="Code audit tool for python"
+arch=('any')
+url="https://github.com/klen/pylama"
+license=('GPL3')
+depends=('python-pycodestyle' 'python-pydocstyle' 'python-pyflakes' 'python-mccabe')
+checkdepends=('python-pytest' 'git' 'mypy')
+optdepends=('python-radon: radon support')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/klen/pylama/archive/$pkgver.tar.gz"
+        pylama-pytest-6.patch::https://github.com/klen/pylama/pull/189.patch)
+sha256sums=('acec2b80ad6a4781dc2626992b10ecac7b81be6c0145750c11688c281298f6fe'
+            '6a025bb41afe783841ecb28ab6faada4be9d7b3d152f0a58970757953d343cba')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -p1 -i ../pylama-pytest-6.patch
+}
+
+build() {
+  cd $pkgname-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd $pkgname-$pkgver
+  python setup.py install --root="$PWD/tmp_install" --optimize=1
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.9/site-packages:$PYTHONPATH:$PWD/tests" py.test --pylama pylama
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.9/site-packages:$PYTHONPATH:$PWD/tests" py.test tests --deselect tests/test_config.py::test_ignore_select \
+                                                                                                     --deselect tests/test_linters.py::test_eradicate
+}
+
+package() {
+  cd $pkgname-$pkgver
+  python setup.py install --root="$pkgdir/" --optimize=1
+
+  mv "$pkgdir"/usr/lib/python3.9/site-packages/{,pylama/}tests
+}



More information about the arch-commits mailing list