pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-bokeh: fix build with python-3.x.



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Fri Sep 9 09:54:44 2016 +0200
Changeset:	5a37a957e2e08b66dd9c5cdfbf6f15753c587e3a

Modified Files:
	py-bokeh/Makefile
	py-bokeh/PLIST

Log Message:
py-bokeh: fix build with python-3.x.

Convert to distutils.mk.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5a37a957e2e08b66dd9c5cdfbf6f15753c587e3a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-bokeh/Makefile | 8 +++++---
 py-bokeh/PLIST    | 1 +
 2 files changed, 6 insertions(+), 3 deletions(-)

diffs:
diff --git a/py-bokeh/Makefile b/py-bokeh/Makefile
index 4e3b5ff..1b47e9d 100644
--- a/py-bokeh/Makefile
+++ b/py-bokeh/Makefile
@@ -11,7 +11,6 @@ COMMENT=	Statistical and novel interactive HTML plots for Python
 LICENSE=	modified-bsd
 
 DEPENDS+=	${PYPKGPREFIX}-colorama>=0.3.2:../../comms/py-colorama
-DEPENDS+=	${PYPKGPREFIX}-futures>=3.0.5:../../devel/py-futures
 DEPENDS+=	${PYPKGPREFIX}-greenlet>=0.4.1:../../devel/py-greenlet
 DEPENDS+=	${PYPKGPREFIX}-requests>=2.1.0:../../devel/py-requests
 DEPENDS+=	${PYPKGPREFIX}-six>=1.9.0:../../lang/py-six
@@ -34,8 +33,11 @@ WRKSRC=		${WRKDIR}/bokeh-0.12.2
 
 USE_LANGUAGES=	# none
 
-PYDISTUTILSPKG=	yes
+.include "../../lang/python/pyversion.mk"
 
+.if ${_PYTHON_VERSION} < 30
+DEPENDS+=	${PYPKGPREFIX}-futures>=3.0.5:../../devel/py-futures
+.endif
 
-.include "../../lang/python/extension.mk"
+.include "../../lang/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-bokeh/PLIST b/py-bokeh/PLIST
index 753ac69..eed0921 100644
--- a/py-bokeh/PLIST
+++ b/py-bokeh/PLIST
@@ -1,6 +1,7 @@
 @comment $NetBSD$
 bin/bokeh
 bin/bokeh-server
+${PYSITELIB}/${EGG_FILE}
 ${PYSITELIB}/bokeh/LICENSE.txt
 ${PYSITELIB}/bokeh/__conda_version__.py
 ${PYSITELIB}/bokeh/__conda_version__.pyc


Home | Main Index | Thread Index | Old Index