Date: Thursday, December 15, 2022 @ 06:30:35 Author: polyzen Revision: 1359195
upgpkg: python-pyflakes 3.0.1-2: Stop using python setup.py test https://archlinux.org/todo/stop-using-python-setuppy-test/ Modified: python-pyflakes/trunk/PKGBUILD ----------+ PKGBUILD | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-12-15 05:15:48 UTC (rev 1359194) +++ PKGBUILD 2022-12-15 06:30:35 UTC (rev 1359195) @@ -1,4 +1,5 @@ # Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Daniel M. Capella <poly...@archlinux.org> # Contributor: Karol 'Kenji Takahashi' Woźniak <kenji.sx> # Contributor: Tianjiao Yin <ytj000+...@gmail.com> # Contributor: Thomas Dziedzic < gostrc at gmail > @@ -7,7 +8,7 @@ pkgname=python-pyflakes pkgver=3.0.1 -pkgrel=1 +pkgrel=2 pkgdesc='A lint-like tool for Python to identify common errors quickly without executing code' arch=('any') url='https://pypi.python.org/pypi/pyflakes' @@ -18,13 +19,13 @@ sha512sums=('10ffe2b92f3885d40578452423a93609f8546b2392997bdbc3f64ca0094516ce6b8449e5d3675bda5fdbc16190c89be23609559fc4cd4f1c97e6af032226d7b7') build() { - cd "$srcdir"/pyflakes-$pkgver + cd pyflakes-$pkgver python setup.py build } check() { - cd "$srcdir"/pyflakes-$pkgver - python setup.py test + cd pyflakes-$pkgver + python -m unittest discover pyflakes } package() {