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

Felix Yan felixonmars at archlinux.org
Sat May 25 18:49:53 UTC 2019


    Date: Saturday, May 25, 2019 @ 18:49:52
  Author: felixonmars
Revision: 470768

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   68 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 35 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-25 18:49:42 UTC (rev 470767)
+++ PKGBUILD	2019-05-25 18:49:52 UTC (rev 470768)
@@ -1,33 +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=1
-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")
-sha256sums=('acec2b80ad6a4781dc2626992b10ecac7b81be6c0145750c11688c281298f6fe')
-
-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.7/site-packages:$PYTHONPATH:$PWD/tests" py.test --pylama pylama
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.7/site-packages:$PYTHONPATH:$PWD/tests" py.test tests -k 'not test_eradicate'
-}
-
-package() {
-  cd $pkgname-$pkgver
-  python setup.py install --root="$pkgdir/" --optimize=1
-}

Copied: pylama/repos/community-any/PKGBUILD (from rev 470767, pylama/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-25 18:49:52 UTC (rev 470768)
@@ -0,0 +1,35 @@
+# 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=2
+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")
+sha256sums=('acec2b80ad6a4781dc2626992b10ecac7b81be6c0145750c11688c281298f6fe')
+
+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.7/site-packages:$PYTHONPATH:$PWD/tests" py.test --pylama pylama
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.7/site-packages:$PYTHONPATH:$PWD/tests" py.test tests -k 'not test_eradicate'
+}
+
+package() {
+  cd $pkgname-$pkgver
+  python setup.py install --root="$pkgdir/" --optimize=1
+
+  mv "$pkgdir"/usr/lib/python3.7/site-packages/{,pylama/}tests
+}



More information about the arch-commits mailing list