svn commit: r484393 - in head/databases/py-cassandra-driver: . files
Wen Heping
wen at FreeBSD.org
Wed Nov 7 11:13:00 UTC 2018
Author: wen
Date: Wed Nov 7 11:12:58 2018
New Revision: 484393
URL: https://svnweb.freebsd.org/changeset/ports/484393
Log:
- Fix build with cython-0.29
Submitted by: wen@(myself, via email)
Approved by: maintainer
Added:
head/databases/py-cassandra-driver/files/
head/databases/py-cassandra-driver/files/patch-setup.py (contents, props changed)
Modified:
head/databases/py-cassandra-driver/Makefile
Modified: head/databases/py-cassandra-driver/Makefile
==============================================================================
--- head/databases/py-cassandra-driver/Makefile Wed Nov 7 10:02:00 2018 (r484392)
+++ head/databases/py-cassandra-driver/Makefile Wed Nov 7 11:12:58 2018 (r484393)
@@ -2,6 +2,7 @@
PORTNAME= cassandra-driver
DISTVERSION= 3.15.1
+PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Added: head/databases/py-cassandra-driver/files/patch-setup.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/py-cassandra-driver/files/patch-setup.py Wed Nov 7 11:12:58 2018 (r484393)
@@ -0,0 +1,11 @@
+--- setup.py.orig 2018-10-31 06:47:06 UTC
++++ setup.py
+@@ -395,7 +395,7 @@ def run_setup(extensions):
+ # 1.) build_ext eats errors at compile time, letting the install complete while producing useful feedback
+ # 2.) there could be a case where the python environment has cython installed but the system doesn't have build tools
+ if pre_build_check():
+- cython_dep = 'Cython>=0.20,!=0.25,<0.29'
++ cython_dep = 'Cython>=0.20,!=0.25,<0.30'
+ user_specified_cython_version = os.environ.get('CASS_DRIVER_ALLOWED_CYTHON_VERSION')
+ if user_specified_cython_version is not None:
+ cython_dep = 'Cython==%s' % (user_specified_cython_version,)
More information about the svn-ports-all
mailing list