pkgsrc-WIP-changes archive

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

py-lingpy: adapt path to py-pathlib



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Tue Aug 29 09:00:24 2017 +0200
Changeset:	b60c5066617a7d32470c7215c7fab81ac2b435c9

Modified Files:
	py-lingpy/Makefile

Log Message:
py-lingpy: adapt path to py-pathlib

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

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

diffstat:
 py-lingpy/Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diffs:
diff --git a/py-lingpy/Makefile b/py-lingpy/Makefile
index 952abc79ab..07c3bd9139 100644
--- a/py-lingpy/Makefile
+++ b/py-lingpy/Makefile
@@ -13,7 +13,12 @@ LICENSE=	gnu-gpl-v3
 DEPENDS+=	${PYPKGPREFIX}-six>=1.10.0:../../lang/py-six
 DEPENDS+=	${PYPKGPREFIX}-networkx>=1.11:../../math/py-networkx
 DEPENDS+=	${PYPKGPREFIX}-appdirs>=1.4.0:../../devel/py-appdirs
-DEPENDS+=	${PYPKGPREFIX}-pathlib>=1.0.1:../../wip/py-pathlib
+
+.include "../../lang/python/pyversion.mk"
+
+.if "${PYPKGPREFIX}" == "py27"
+DEPENDS+=	${PYPKGPREFIX}-pathlib>=1.0.1:../../devel/py-pathlib
+.endif
 
 .include "../../lang/python/egg.mk"
 .include "../../math/py-numpy/buildlink3.mk"


Home | Main Index | Thread Index | Old Index