[arch-commits] Commit in python-pytest-mpl/trunk (PKGBUILD)
Konstantin Gizdov
kgizdov at gemini.archlinux.org
Sun Mar 6 13:45:16 UTC 2022
Date: Sunday, March 6, 2022 @ 13:45:15
Author: kgizdov
Revision: 1142340
upgpkg: python-pytest-mpl 0.14.0-1
Modified:
python-pytest-mpl/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-06 12:46:01 UTC (rev 1142339)
+++ PKGBUILD 2022-03-06 13:45:15 UTC (rev 1142340)
@@ -2,7 +2,7 @@
# Contributor: Astro Benzene <universebenzene at sina dot com>
_pkgname='pytest-mpl'
pkgname="python-${_pkgname}"
-pkgver=0.13
+pkgver=0.14.0
pkgrel=1
pkgdesc="Pytest plugin to help with testing figures output from Matplotlib"
arch=('x86_64')
@@ -9,8 +9,8 @@
url="https://github.com/matplotlib/pytest-mpl"
license=('BSD')
depends=('python-pytest' 'python-matplotlib')
-makedepends=('python-setuptools' 'git')
-checkdepends=('python-pytest-cov')
+makedepends=('python-setuptools-scm' 'python-wheel' 'git')
+checkdepends=('python-pytest-cov' 'python-pytest-shutil' 'python-jinja' 'python-packaging')
source=("${pkgname}::git+https://github.com/matplotlib/pytest-mpl.git#tag=v${pkgver}")
sha256sums=('SKIP')
@@ -22,7 +22,9 @@
check() {
cd "${srcdir}/${pkgname}"
cp -r "${_pkgname/-/_}".egg-info build/lib/
- PYTHONPATH="${srcdir}/build/lib" pytest tests
+ PYTHONPATH="${srcdir}/${pkgname}/build/lib" pytest -m "mpl_image_compare" tests
+ # fails for some reason atm
+ # PYTHONPATH="${srcdir}/${pkgname}/build/lib" pytest --mpl --cov pytest_mpl tests
}
package() {
More information about the arch-commits
mailing list