pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-line_profiler Make ipython versioned dependency



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c8a0c7496e0a
branches:  trunk
changeset: 370513:c8a0c7496e0a
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Oct 17 18:37:22 2017 +0000

description:
Make ipython versioned dependency

diffstat:

 devel/py-line_profiler/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r a71139b920e6 -r c8a0c7496e0a devel/py-line_profiler/Makefile
--- a/devel/py-line_profiler/Makefile   Tue Oct 17 18:34:22 2017 +0000
+++ b/devel/py-line_profiler/Makefile   Tue Oct 17 18:37:22 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2017/10/16 12:14:29 adam Exp $
+# $NetBSD: Makefile,v 1.3 2017/10/17 18:37:22 adam Exp $
 
 DISTNAME=      line_profiler-2.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -10,13 +10,14 @@
 COMMENT=       Python line-by-line profiler
 LICENSE=       modified-bsd
 
-DEPENDS+=      ${PYPKGPREFIX}-ipython>0.13:../../devel/py-ipython
-
 USE_LANGUAGES= c
 
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
                ${MV} kernprof kernprof${PYVERSSUFFIX} || ${TRUE}
 
+PYTHON_VERSIONED_DEPENDENCIES= ipython
+
 .include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index