2018-04-18 09:30:53 +02:00
|
|
|
# $NetBSD: Makefile,v 1.24 2018/04/18 07:30:53 fhajny Exp $
|
2015-01-16 18:12:23 +01:00
|
|
|
|
2018-04-18 09:30:53 +02:00
|
|
|
DISTNAME= python-driver-3.14.0
|
2015-01-16 18:12:23 +01:00
|
|
|
PKGNAME= ${DISTNAME:S/python/${PYPKGPREFIX}-cassandra/}
|
|
|
|
CATEGORIES= databases
|
2015-06-09 13:07:13 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=datastax/}
|
|
|
|
GITHUB_PROJECT= python-driver
|
2015-01-16 18:12:23 +01:00
|
|
|
|
|
|
|
MAINTAINER= filip@joyent.com
|
|
|
|
HOMEPAGE= https://github.com/datastax/python-driver/
|
|
|
|
COMMENT= DataStax Python Driver for Apache Cassandra
|
|
|
|
LICENSE= apache-2.0
|
|
|
|
|
|
|
|
EGG_NAME= cassandra_driver-${PKGVERSION_NOREV}
|
|
|
|
|
2016-04-19 14:41:48 +02:00
|
|
|
.include "../../lang/python/pyversion.mk"
|
|
|
|
|
2017-11-16 15:49:12 +01:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-cython>=0.27:../../devel/py-cython
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-six>=1.9:../../lang/py-six
|
2016-04-19 14:41:48 +02:00
|
|
|
.if ${_PYTHON_VERSION} == 27
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-futures-[0-9]*:../../devel/py-futures
|
|
|
|
.endif
|
2015-09-17 09:46:35 +02:00
|
|
|
|
2017-02-16 11:43:12 +01:00
|
|
|
# Remove if upstream stops being obsessive about Cython version
|
|
|
|
MAKE_ENV+= CASS_DRIVER_ALLOWED_CYTHON_VERSION=0.*
|
|
|
|
|
2015-01-16 18:12:23 +01:00
|
|
|
.include "../../devel/libev/buildlink3.mk"
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|