pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/py-botocore



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Thu Apr  4 07:53:52 UTC 2019

Modified Files:
        pkgsrc/net/py-botocore: Makefile

Log Message:
botocore: depend on cElementTree if using Python 2.7.

This works around upstream issue boto/botocore#1707 and PR pkg/54094.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/net/py-botocore/Makefile

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

Modified files:

Index: pkgsrc/net/py-botocore/Makefile
diff -u pkgsrc/net/py-botocore/Makefile:1.27 pkgsrc/net/py-botocore/Makefile:1.28
--- pkgsrc/net/py-botocore/Makefile:1.27        Tue Feb 12 10:51:55 2019
+++ pkgsrc/net/py-botocore/Makefile     Thu Apr  4 07:53:52 2019
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.27 2019/02/12 10:51:55 adam Exp $
+# $NetBSD: Makefile,v 1.28 2019/04/04 07:53:52 bsiegert Exp $
 
 DISTNAME=      botocore-1.12.92
+PKGREVISION=   1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=b/botocore/}
@@ -15,7 +16,12 @@ DEPENDS+=    ${PYPKGPREFIX}-docutils>=0.12:
 DEPENDS+=      ${PYPKGPREFIX}-jmespath>=0.7.1<1:../../textproc/py-jmespath
 DEPENDS+=      ${PYPKGPREFIX}-urllib3-[0-9]*:../../www/py-urllib3
 
+.include "../../lang/python/egg.mk"
+
+.if ${PYPKGPREFIX} == "py27"
+DEPENDS+=      ${PYPKGPREFIX}-cElementTree-[0-9]*:../../textproc/py-cElementTree
+.endif
+
 USE_LANGUAGES= # none
 
-.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index