pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/py-matplotlib Added DEPENDS for Python 2.7



details:   https://anonhg.NetBSD.org/pkgsrc/rev/73c301191cea
branches:  trunk
changeset: 363238:73c301191cea
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Jun 05 07:28:47 2017 +0000

description:
Added DEPENDS for Python 2.7

diffstat:

 graphics/py-matplotlib/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r b27a3f102265 -r 73c301191cea graphics/py-matplotlib/Makefile
--- a/graphics/py-matplotlib/Makefile   Mon Jun 05 07:28:21 2017 +0000
+++ b/graphics/py-matplotlib/Makefile   Mon Jun 05 07:28:47 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2017/05/30 07:20:21 adam Exp $
+# $NetBSD: Makefile,v 1.49 2017/06/05 07:28:47 adam Exp $
 
 .include "Makefile.common"
 
@@ -14,6 +14,12 @@
 
 PYTHON_VERSIONED_DEPENDENCIES= cairo
 
+.include "../../lang/python/pyversion.mk"
+.if "${PYPKGPREFIX}" == "py27"
+DEPENDS+=      ${PYPKGPREFIX}-functools32-[0-9]*:../../devel/py-functools32
+DEPENDS+=      ${PYPKGPREFIX}-subprocess32-[0-9]*:../../devel/py-subprocess32
+.endif
+
 MPL_PACKAGES=  mpl_packages
 
 REPLACE_PYTHON=                lib/matplotlib/dates.py



Home | Main Index | Thread Index | Old Index