pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/py-botocore botocore: depend on cElementTree if us...
details: https://anonhg.NetBSD.org/pkgsrc/rev/981b3ba3812e
branches: trunk
changeset: 394133:981b3ba3812e
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Thu Apr 04 07:53:52 2019 +0000
description:
botocore: depend on cElementTree if using Python 2.7.
This works around upstream issue boto/botocore#1707 and PR pkg/54094.
diffstat:
net/py-botocore/Makefile | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r b1ae3e14fad7 -r 981b3ba3812e net/py-botocore/Makefile
--- a/net/py-botocore/Makefile Thu Apr 04 07:35:37 2019 +0000
+++ b/net/py-botocore/Makefile Thu Apr 04 07:53:52 2019 +0000
@@ -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}-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