aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-08-27 10:26:09 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-08-27 10:26:09 +0000
commit02835286fb61df3299385329e172801152d2dc3c (patch)
tree0108e863424bbe7c2a70fee80b7fb31bf7ff52c8
parent94c70782a5c99b0e2d0c394de393df02f672f4a2 (diff)
downloadports-02835286fb61df3299385329e172801152d2dc3c.tar.gz
ports-02835286fb61df3299385329e172801152d2dc3c.zip
devel/py-pyrsistent: Update to 0.18.1
-rw-r--r--devel/py-pyrsistent/Makefile8
-rw-r--r--devel/py-pyrsistent/distinfo6
-rw-r--r--devel/py-pyrsistent/files/patch-setup.py11
3 files changed, 17 insertions, 8 deletions
diff --git a/devel/py-pyrsistent/Makefile b/devel/py-pyrsistent/Makefile
index 606400a8f5d2..24c574978c2a 100644
--- a/devel/py-pyrsistent/Makefile
+++ b/devel/py-pyrsistent/Makefile
@@ -1,6 +1,5 @@
PORTNAME= pyrsistent
-PORTVERSION= 0.14.11
-PORTREVISION= 1
+PORTVERSION= 0.18.1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -9,10 +8,9 @@ MAINTAINER= python@FreeBSD.org
COMMENT= Persistent/Functional/Immutable data structures
LICENSE= MIT
-LICENSE_FILE= ${WRKSRC}/LICENCE.mit
+LICENSE_FILE= ${WRKSRC}/LICENSE.mit
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>=0<7:devel/py-hypothesis@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils pytest
diff --git a/devel/py-pyrsistent/distinfo b/devel/py-pyrsistent/distinfo
index 9e3db30db4f6..af2148b78f2b 100644
--- a/devel/py-pyrsistent/distinfo
+++ b/devel/py-pyrsistent/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1550812153
-SHA256 (pyrsistent-0.14.11.tar.gz) = 3ca82748918eb65e2d89f222b702277099aca77e34843c5eb9d52451173970e2
-SIZE (pyrsistent-0.14.11.tar.gz) = 104498
+TIMESTAMP = 1660576946
+SHA256 (pyrsistent-0.18.1.tar.gz) = d4d61f8b993a7255ba714df3aca52700f8125289f84f704cf80916517c46eb96
+SIZE (pyrsistent-0.18.1.tar.gz) = 100522
diff --git a/devel/py-pyrsistent/files/patch-setup.py b/devel/py-pyrsistent/files/patch-setup.py
new file mode 100644
index 000000000000..9860bd4896b0
--- /dev/null
+++ b/devel/py-pyrsistent/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig 2022-01-14 19:50:00 UTC
++++ setup.py
+@@ -72,7 +72,7 @@ setup(
+ 'Programming Language :: Python :: Implementation :: PyPy',
+ ],
+ test_suite='tests',
+- tests_require=['pytest<7', 'hypothesis<7'],
++ tests_require=['pytest', 'hypothesis<7'],
+ scripts=[],
+ setup_requires=pytest_runner,
+ ext_modules=extensions,