pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-test-mpl: Update to v0.17.0



Module Name:	pkgsrc-wip
Committed By:	Malte Dehling <mdehling%gmail.com@localhost>
Pushed By:	mdehling
Date:		Mon Jun 3 14:49:43 2024 -0700
Changeset:	f40c246811609dbcee8fac1cbfbb9c8d1dba7e9e

Modified Files:
	py-test-mpl/Makefile
	py-test-mpl/PLIST
	py-test-mpl/distinfo

Log Message:
py-test-mpl: Update to v0.17.0

- convert to wheel
- disable tests (broken for current matplotlib versions)

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f40c246811609dbcee8fac1cbfbb9c8d1dba7e9e

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-test-mpl/Makefile | 19 ++++++++++++-------
 py-test-mpl/PLIST    | 30 +++++++++++++++++++++++-------
 py-test-mpl/distinfo |  6 +++---
 3 files changed, 38 insertions(+), 17 deletions(-)

diffs:
diff --git a/py-test-mpl/Makefile b/py-test-mpl/Makefile
index c69866a6d5..e06218fbdf 100644
--- a/py-test-mpl/Makefile
+++ b/py-test-mpl/Makefile
@@ -1,22 +1,27 @@
 # $NetBSD$
 
-DISTNAME=	pytest-mpl-0.11
+DISTNAME=	pytest-mpl-0.17.0
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/^py//}
 CATEGORIES=	devel python
-MASTER_SITES=	https://files.pythonhosted.org/packages/ae/e9/82536e05e60d27786d0256982279882765aebaa017812b42cc21cc33591c/
+MASTER_SITES=	${MASTER_SITE_PYPI:=p/pytest-mpl/}
 
 MAINTAINER=	kamelderouiche%yahoo.com@localhost
 HOMEPAGE=	https://github.com/matplotlib/pytest-mpl
 COMMENT=	Pytest plugin to help with testing figures output from Matplotlib
 LICENSE=	modified-bsd
 
-DEPENDS+=	${PYPKGPREFIX}-nose>=1.3.7:../../devel/py-nose
-DEPENDS+=	${PYPKGPREFIX}-test>=6.0.2:../../devel/py-test
-DEPENDS+=	${PYPKGPREFIX}-Pillow>=6.2.2:../../graphics/py-Pillow
-DEPENDS+=	${PYPKGPREFIX}-matplotlib>=3.2.2:../../graphics/py-matplotlib
+TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+DEPENDS+=	${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow
+DEPENDS+=	${PYPKGPREFIX}-matplotlib-[0-9]*:../../graphics/py-matplotlib
+DEPENDS+=	${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2
 
+USE_PYTEST=	no	# XXX: broken for matplotlib >=3.8
+TEST_DEPENDS+=	${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
 
 USE_LANGUAGES=	# none
 
-.include "../../lang/python/egg.mk"
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-test-mpl/PLIST b/py-test-mpl/PLIST
index 6102e00c10..06df106785 100644
--- a/py-test-mpl/PLIST
+++ b/py-test-mpl/PLIST
@@ -1,14 +1,30 @@
 @comment $NetBSD$
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/zip-safe
 ${PYSITELIB}/pytest_mpl/__init__.py
 ${PYSITELIB}/pytest_mpl/__init__.pyc
 ${PYSITELIB}/pytest_mpl/__init__.pyo
-${PYSITELIB}/pytest_mpl/classic.mplstyle
 ${PYSITELIB}/pytest_mpl/plugin.py
 ${PYSITELIB}/pytest_mpl/plugin.pyc
 ${PYSITELIB}/pytest_mpl/plugin.pyo
+${PYSITELIB}/pytest_mpl/summary/__init__.py
+${PYSITELIB}/pytest_mpl/summary/__init__.pyc
+${PYSITELIB}/pytest_mpl/summary/__init__.pyo
+${PYSITELIB}/pytest_mpl/summary/html.py
+${PYSITELIB}/pytest_mpl/summary/html.pyc
+${PYSITELIB}/pytest_mpl/summary/html.pyo
+${PYSITELIB}/pytest_mpl/summary/templates/base.html
+${PYSITELIB}/pytest_mpl/summary/templates/basic.html
+${PYSITELIB}/pytest_mpl/summary/templates/extra.js
+${PYSITELIB}/pytest_mpl/summary/templates/filter.html
+${PYSITELIB}/pytest_mpl/summary/templates/hash.svg
+${PYSITELIB}/pytest_mpl/summary/templates/image.svg
+${PYSITELIB}/pytest_mpl/summary/templates/navbar.html
+${PYSITELIB}/pytest_mpl/summary/templates/result.html
+${PYSITELIB}/pytest_mpl/summary/templates/result_images.html
+${PYSITELIB}/pytest_mpl/summary/templates/styles.css
diff --git a/py-test-mpl/distinfo b/py-test-mpl/distinfo
index 51c3973c10..f85de0e266 100644
--- a/py-test-mpl/distinfo
+++ b/py-test-mpl/distinfo
@@ -1,5 +1,5 @@
 $NetBSD$
 
-RMD160 (pytest-mpl-0.11.tar.gz) = c81898c37897333c7ff3b1a01b5a2e4d14fc3054
-SHA512 (pytest-mpl-0.11.tar.gz) = 2b2126e82db16e1f06933ef40815fe808239d439756e49d1ed5947e67e4df495e343355eec99566a7d681d320a72406fa9bd64fe891758ad2d7e490d69f1c36d
-Size (pytest-mpl-0.11.tar.gz) = 197274 bytes
+BLAKE2s (pytest-mpl-0.17.0.tar.gz) = a141864e2993925fcaea8ebe5c874c6991c8e7412bfadc83c53bf1ec7bd246a0
+SHA512 (pytest-mpl-0.17.0.tar.gz) = 968397b1d75482729ad73f4844970c3c335c009e689f4163bd5a028c84627455a7d20563e62c6940b27c62229e5744496bec36c2440d402c0aee0a7853550f9b
+Size (pytest-mpl-0.17.0.tar.gz) = 885613 bytes


Home | Main Index | Thread Index | Old Index