aboutsummaryrefslogtreecommitdiff
path: root/graphics/py-pyqtgraph
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-09-30 02:38:20 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-09-30 02:38:20 +0000
commit521663ad09c5b4c3544fb7a0bba59dc9a1b7f977 (patch)
treede7c76127dd0bc776d29f481576f949ab394d358 /graphics/py-pyqtgraph
parent3125053c63ee83ffee49b36dc3232dd0624960a6 (diff)
downloadports-521663ad09c5b4c3544fb7a0bba59dc9a1b7f977.tar.gz
ports-521663ad09c5b4c3544fb7a0bba59dc9a1b7f977.zip
graphics/py-pyqtgraph: Fix test failure
Diffstat (limited to 'graphics/py-pyqtgraph')
-rw-r--r--graphics/py-pyqtgraph/Makefile6
-rw-r--r--graphics/py-pyqtgraph/distinfo4
2 files changed, 8 insertions, 2 deletions
diff --git a/graphics/py-pyqtgraph/Makefile b/graphics/py-pyqtgraph/Makefile
index 80dbad756823..d4c3c6cc7dd9 100644
--- a/graphics/py-pyqtgraph/Makefile
+++ b/graphics/py-pyqtgraph/Makefile
@@ -1,9 +1,13 @@
PORTNAME= pyqtgraph
DISTVERSION= 0.13.1
+PORTREVISION= 1
CATEGORIES= graphics science python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+PATCH_SITES= https://github.com/pyqtgraph/pyqtgraph/commit/
+PATCHFILES= 935914143d87f28575ea9d60bd9efada57b3bdd6.patch:-p1 # Fix renderView to not use mremap on FreeBSD, see https://github.com/pyqtgraph/pyqtgraph/pull/2445/
+
MAINTAINER= yuri@FreeBSD.org
COMMENT= Scientific graphics and GUI library for Python
WWW= https://www.pyqtgraph.org/
@@ -19,7 +23,7 @@ RUN_DEPENDS= ${PYNUMPY} \
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}qt5-pyqt>0:devel/py-qt5-pyqt@${PY_FLAVOR} # PyQtGraph requires one of PyQt5, PyQt6, PySide2 or PySide6
USES= python:3.8+
-USE_PYTHON= distutils autoplist pytest # 1 test fails, see https://github.com/pyqtgraph/pyqtgraph/issues/2444
+USE_PYTHON= distutils autoplist pytest
NO_ARCH= yes
diff --git a/graphics/py-pyqtgraph/distinfo b/graphics/py-pyqtgraph/distinfo
index 8dc8cdcc0051..c9f173e695aa 100644
--- a/graphics/py-pyqtgraph/distinfo
+++ b/graphics/py-pyqtgraph/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1664478657
+TIMESTAMP = 1664505472
SHA256 (pyqtgraph-0.13.1.tar.gz) = 698f87f59db965727b33602a0b29058de21291d8b143dea878b50578aec0dc08
SIZE (pyqtgraph-0.13.1.tar.gz) = 1364064
+SHA256 (935914143d87f28575ea9d60bd9efada57b3bdd6.patch) = b5cc2c0687bc1b6880d3ff055727257ae98b87ed5cea052eccdea08abcb89c84
+SIZE (935914143d87f28575ea9d60bd9efada57b3bdd6.patch) = 1160