2018-12-15 22:12:18 +01:00
|
|
|
# $NetBSD: Makefile,v 1.27 2018/12/15 21:12:20 wiz Exp $
|
2015-01-16 18:12:23 +01:00
|
|
|
|
2018-09-10 14:18:09 +02:00
|
|
|
DISTNAME= python-driver-3.15.1
|
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
|
|
|
|
2018-12-15 22:12:18 +01:00
|
|
|
MAINTAINER= fhajny@NetBSD.org
|
2015-01-16 18:12:23 +01:00
|
|
|
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"
|
|
|
|
|
2018-09-04 15:15:04 +02:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-cython>=0.28:../../devel/py-cython
|
2017-11-16 15:49:12 +01:00
|
|
|
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"
|