git: bab0851a3827 - main - devel/py-orca: Allow build with py-tables 3.7.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 23 Jan 2022 19:28:05 UTC
The branch main has been updated by sunpoet:

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

commit bab0851a3827ee7d61d07636bb82c77a279cb29f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-01-23 18:19:29 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-01-23 18:46:33 +0000

    devel/py-orca: Allow build with py-tables 3.7.0
    
    - Bump PORTREVISION for package change
---
 devel/py-orca/Makefile             |  3 ++-
 devel/py-orca/files/patch-setup.py | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/devel/py-orca/Makefile b/devel/py-orca/Makefile
index 972cdc74b1cf..4ea1574e0b2a 100644
--- a/devel/py-orca/Makefile
+++ b/devel/py-orca/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	orca
 PORTVERSION=	1.6
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,7 +14,7 @@ LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pandas>=0.15.0,1:math/py-pandas@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}tables>=3.1<3.7:devel/py-tables@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tables>=3.1<3.8:devel/py-tables@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}toolz>=0.8.1:devel/py-toolz@${PY_FLAVOR}
 
 USES=		python:3.7+
diff --git a/devel/py-orca/files/patch-setup.py b/devel/py-orca/files/patch-setup.py
new file mode 100644
index 000000000000..190da1ef0bca
--- /dev/null
+++ b/devel/py-orca/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2021-03-30 03:56:45 UTC
++++ setup.py
+@@ -66,7 +66,7 @@ setup(
+     install_requires=[
+         'pandas >= 0.15.0',
+         'tables >=3.1, <3.6; python_version <"3.6"',
+-        'tables >=3.1, <3.7; python_version >="3.6"',
++        'tables >=3.1, <3.8; python_version >="3.6"',
+         'toolz >= 0.8.1'
+     ],
+     extras_require={