[arch-commits] Commit in python-pycodestyle/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu May 14 05:25:51 UTC 2020


    Date: Thursday, May 14, 2020 @ 05:25:51
  Author: felixonmars
Revision: 627833

upgpkg: python-pycodestyle 2.6.0-1

Modified:
  python-pycodestyle/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-14 05:20:02 UTC (rev 627832)
+++ PKGBUILD	2020-05-14 05:25:51 UTC (rev 627833)
@@ -4,8 +4,8 @@
 
 pkgbase=python-pycodestyle
 pkgname=('python-pycodestyle' 'python2-pycodestyle')
-pkgver=2.5.0
-pkgrel=3
+pkgver=2.6.0
+pkgrel=1
 pkgdesc="Python style guide checker"
 arch=('any')
 url="https://github.com/PyCQA/pycodestyle"
@@ -12,7 +12,7 @@
 license=('custom:Expat')
 makedepends=('python-setuptools' 'python2-setuptools')
 source=("$pkgbase-$pkgver.tar.gz::https://github.com/PyCQA/pycodestyle/archive/$pkgver.tar.gz")
-sha512sums=('b40d2b4fd6673f4115cb0fa056056ef39f4705ba8826bb2a4b91c98e542132951471e1226d697daeb6fac9a5520df5f8dde0931462e540ee2eb8b5f275eb2288')
+sha512sums=('251b2526edc9759aa07b43c23c2785ebf2b7c4cca7e70444b8f79ff72cfb842ca49b929c01faba307534e4f213247597739ba777181fca6048d6cfae67cd25b6')
 
 prepare() {
   cp -a pycodestyle-$pkgver{,-py2}
@@ -30,10 +30,10 @@
 
 check() {
   cd "$srcdir"/pycodestyle-$pkgver
-  python setup.py test
+  python -m unittest discover
 
   cd "$srcdir"/pycodestyle-$pkgver-py2
-  python2 setup.py test
+  python2 -m unittest discover
 }
 
 package_python-pycodestyle() {


More information about the arch-commits mailing list