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

David Runge dvzrv at gemini.archlinux.org
Sun Apr 17 13:43:27 UTC 2022


    Date: Sunday, April 17, 2022 @ 13:43:26
  Author: dvzrv
Revision: 1186881

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

Modified:
  python-diff-cover/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-17 13:41:23 UTC (rev 1186880)
+++ PKGBUILD	2022-04-17 13:43:26 UTC (rev 1186881)
@@ -2,7 +2,7 @@
 
 _name=diff_cover
 pkgname=python-diff-cover
-pkgver=6.4.5
+pkgver=6.5.0
 pkgrel=1
 pkgdesc="Automatically find diff lines that need test coverage"
 arch=(any)
@@ -13,9 +13,9 @@
 checkdepends=(python-pytest python-pytest-mock python-tomli)
 optdepends=('python-tomli: for TOML support')
 source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz{,.asc})
-sha512sums=('30b5156c941a62ba1103ac0563f872fd1ce844b4d0ce6c0e3f7fd496a1d0bdba16df10036a5aa20bb5c718e77a37d66307e0a7083547077ed54d5de1e0386444'
+sha512sums=('c4fdfad930150a1f67e46d1fa228bf8fd3201624ab5a529f7d26d635a111fb40cd28c2afb1908188e8c23f9d823a72c9a35818f2ab7a9d1233625e71068d2ed7'
             'SKIP')
-b2sums=('df16b9ddfb737d5f5fa3812b5bee3f7a46b3e00fc4b22fded5ab5be106047edac82c968ce07865692c79273531a6da516a0ea7ba548d165c273fe1090c11030d'
+b2sums=('a7f520106da428f7c62f62ba44fd8e0104337dd83f6d550ea3176fbb8adf5a639606469bb2fafbcac6aa9d567f9883c0cbfb8e763d7f8feae98779808efd2432'
         'SKIP')
 validpgpkeys=('54CAEABCAC2956D407348256972401BDE60128CB') # Matt Bachmann <matt.bachmann at lola.com>
 
@@ -26,12 +26,11 @@
 
 check() {
   local _site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
-  local _test_dir='test_dir'
 
   cd $_name-$pkgver
   # install to temporary location, as importlib is used
-  python -m installer --destdir="$_test_dir" dist/*.whl
-  export PYTHONPATH="$_test_dir/$_site_packages:$PYTHONPATH"
+  python -m installer --destdir=test_dir dist/*.whl
+  export PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH"
   # ignore integration and code style checks
   pytest -vv --ignore 'tests/test_integration.py' --ignore 'tests/test_violations_reporter.py' --ignore 'tests/test_clover_violations_reporter.py'
 }



More information about the arch-commits mailing list