pkgsrc-WIP-changes archive

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

Add DEPENDS regarding version of python



Module Name:	pkgsrc-wip
Committed By:	Guillaume Delpierre <gde%llew.me@localhost>
Pushed By:	gdelpierre
Date:		Tue Feb 23 14:42:40 2016 +0100
Changeset:	555893755f4a70a384969173252c2692ba7d5b7c

Modified Files:
	py-ruamel-yaml/Makefile

Log Message:
Add DEPENDS regarding version of python

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

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

diffstat:
 py-ruamel-yaml/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diffs:
diff --git a/py-ruamel-yaml/Makefile b/py-ruamel-yaml/Makefile
index e027947..1751f66 100644
--- a/py-ruamel-yaml/Makefile
+++ b/py-ruamel-yaml/Makefile
@@ -11,7 +11,12 @@ COMMENT=	YAML parser/emitter
 LICENSE=	mit
 
 DEPENDS+=	${PYPKGPREFIX}-ruamel-base>=1.0.0:../../wip/py-ruamel-base
+
+# for python < 3.0
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} < 30
 DEPENDS+=	${PYPKGPREFIX}-ruamel-ordereddict>=0.4.9:../../wip/py-ruamel-ordereddict
+.endif
 
 .include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"


Home | Main Index | Thread Index | Old Index