Date: Thursday, June 17, 2021 @ 15:59:07 Author: eschwartz Revision: 964634
upgpkg: python-josepy 1.8.0-2: tremendously simplify running tests without pointless dependencies Modified: python-josepy/trunk/PKGBUILD ----------+ PKGBUILD | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-06-17 15:31:59 UTC (rev 964633) +++ PKGBUILD 2021-06-17 15:59:07 UTC (rev 964634) @@ -2,20 +2,20 @@ pkgname=python-josepy pkgver=1.8.0 -pkgrel=1 +pkgrel=2 pkgdesc="JOSE protocol implementation in Python" url="https://github.com/certbot/josepy" license=('PerlArtistic') arch=('any') depends=('python-cryptography' 'python-pyopenssl' 'python-setuptools') -checkdepends=('python-pytest-runner' 'python-coverage' 'python-pytest-isort' 'python-pytest-cache' - 'python-pytest-cov' 'flake8' 'python-pytest-flake8' 'python-mock') +checkdepends=('python-pytest') source=("https://pypi.io/packages/source/j/josepy/josepy-$pkgver.tar.gz") sha512sums=('50cdedfa4cf67055ae65dfeef2328ba7bb369fb8b763b425e4ca73108555c9cd04f12a644309c2f2e1db50e1d227be3bdbd00037e509d2b2d82565c213b81e4e') prepare() { - # https://github.com/certbot/josepy/issues/24 - sed -i 's/flake8-ignore = E501/flake8-ignore = E501 W504/' josepy-$pkgver/pytest.ini + # thou shalt not enforce coverage in distro packaging + # https://github.com/certbot/josepy/issues/34 + rm josepy-$pkgver/pytest.ini } build() { @@ -25,7 +25,7 @@ check() { cd josepy-$pkgver - python setup.py pytest + python -m pytest } package() {
