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

David Runge dvzrv at archlinux.org
Wed Sep 2 10:58:29 UTC 2020


    Date: Wednesday, September 2, 2020 @ 10:58:28
  Author: dvzrv
Revision: 696300

upgpkg: python-diff-cover 4.0.0-1: Upgrade to 4.0.0.

Disable failing test and report upstream.

Modified:
  python-diff-cover/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-02 10:58:00 UTC (rev 696299)
+++ PKGBUILD	2020-09-02 10:58:28 UTC (rev 696300)
@@ -2,7 +2,7 @@
 
 _name=diff_cover
 pkgname=python-diff-cover
-pkgver=3.0.1
+pkgver=4.0.0
 pkgrel=1
 pkgdesc="Automatically find diff lines that need test coverage"
 arch=('any')
@@ -9,12 +9,14 @@
 url="https://github.com/Bachmann1234/diff_cover"
 license=('Apache')
 depends=('python-jinja' 'python-jinja_pluralize' 'python-pluggy'
-'python-pygments' 'python-setuptools' 'python-six')
+'python-pygments' 'python-setuptools')
 checkdepends=('flake8' 'python-pytest' 'python-mock' 'python-pytest-cov'
 'python-pycodestyle' 'python-pyflakes' 'python-pylint' 'python-pydocstyle')
 source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"{,.asc})
-sha512sums=('bb04b110a9601db8734c1dd925571c7f2905e14bc5d838338b4e02370832e807d6f7c60d1f714157ac357526bc87c96efa7796be378f53c7ef7f30f525911b08'
+sha512sums=('aae6e3e35015968c5d9e83ad31a8872dde321690de3611c9d7d0ed8bd32699fa46866ce01bf31254757d5009b7fe9bcd892bcc8bcb024580c9e768ee0b443ea8'
             'SKIP')
+b2sums=('adfecf10b06f347e0b06aac9975bd599de7a2dcb8f46323aaa7bdb5d1c2d3e2884d6fa1ef044e3923095f3b66c4e1064f5a59db937ecbbe396fb8592a3a65dbe'
+        'SKIP')
 validpgpkeys=('54CAEABCAC2956D407348256972401BDE60128CB') # Matt Bachmann <matt.bachmann at lola.com>
 
 prepare() {
@@ -29,7 +31,9 @@
 check() {
   cd "$pkgname-$pkgver"
   export PYTHONPATH="build:${PYTHONPATH}"
-  pytest -v
+  # skip failing test relying on pylint output:
+  # https://github.com/Bachmann1234/diff_cover/issues/158
+  pytest -v -k "not test_added_file_pylint_console"
 }
 
 package() {



More information about the arch-commits mailing list