git: 02835286fb61 - main - devel/py-pyrsistent: Update to 0.18.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 27 Aug 2022 10:33:45 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=02835286fb61df3299385329e172801152d2dc3c

commit 02835286fb61df3299385329e172801152d2dc3c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-08-27 10:26:09 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-08-27 10:26:09 +0000

    devel/py-pyrsistent: Update to 0.18.1
    
    - Update LICENSE_FILE
    
    Changes:        https://github.com/tobgu/pyrsistent/blob/master/CHANGES.txt
---
 devel/py-pyrsistent/Makefile             |  8 +++-----
 devel/py-pyrsistent/distinfo             |  6 +++---
 devel/py-pyrsistent/files/patch-setup.py | 11 +++++++++++
 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,