pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-traitlets python27 version requires py-enum34.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7700ad4f54e0
branches:  trunk
changeset: 361608:7700ad4f54e0
user:      markd <markd%pkgsrc.org@localhost>
date:      Sun Apr 23 04:18:47 2017 +0000

description:
python27 version requires py-enum34.

diffstat:

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

diffs (30 lines):

diff -r 8054b6420977 -r 7700ad4f54e0 devel/py-traitlets/Makefile
--- a/devel/py-traitlets/Makefile       Sun Apr 23 04:09:15 2017 +0000
+++ b/devel/py-traitlets/Makefile       Sun Apr 23 04:18:47 2017 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2017/03/20 19:19:09 minskim Exp $
+# $NetBSD: Makefile,v 1.3 2017/04/23 04:18:47 markd Exp $
 
 DISTNAME=      traitlets-4.3.2
-PKGREVISION=   1
+PKGREVISION=   2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_PYPI:=t/traitlets/}
@@ -11,11 +11,15 @@
 COMMENT=       Traitlets Python config system
 LICENSE=       modified-bsd
 
+.include "../../lang/python/distutils.mk"
+
+.if ${PYPKGPREFIX} == py27
+DEPENDS+=      ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34
+.endif
 DEPENDS+=      ${PYPKGPREFIX}-decorator-[0-9]*:../../devel/py-decorator
 DEPENDS+=      ${PYPKGPREFIX}-ipython_genutils-[0-9]*:../../devel/py-ipython_genutils
 DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
 
 USE_LANGUAGES= # none
 
-.include "../../lang/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index