pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-traitlets



Module Name:    pkgsrc
Committed By:   markd
Date:           Sun Apr 23 04:18:47 UTC 2017

Modified Files:
        pkgsrc/devel/py-traitlets: Makefile

Log Message:
python27 version requires py-enum34.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-traitlets/Makefile

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

Modified files:

Index: pkgsrc/devel/py-traitlets/Makefile
diff -u pkgsrc/devel/py-traitlets/Makefile:1.2 pkgsrc/devel/py-traitlets/Makefile:1.3
--- pkgsrc/devel/py-traitlets/Makefile:1.2      Mon Mar 20 19:19:09 2017
+++ pkgsrc/devel/py-traitlets/Makefile  Sun Apr 23 04:18:47 2017
@@ -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 @@ HOMEPAGE=   http://ipython.org/
 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