ports/databases/py-queries/files/patch-setup.py
Po-Chuan Hsieh 71bd5e9fb2
databases/py-queries: Allow build with py-psycopg2 2.9+
- Bump PORTREVISION for package change
2021-06-21 04:46:03 +08:00

11 lines
399 B
Python

--- setup.py.orig 2020-03-09 17:39:51 UTC
+++ setup.py
@@ -7,7 +7,7 @@ import setuptools
if platform.python_implementation() == 'PyPy':
install_requires = ['psycopg2cffi>=2.7.2,<2.9']
else:
- install_requires = ['psycopg2>=2.5.1,<2.9']
+ install_requires = ['psycopg2>=2.5.1,<3']
# Install tornado if generating docs on readthedocs
if os.environ.get('READTHEDOCS', None) == 'True':