Skip to content

Commit

Permalink
botocore: depend on cElementTree if using Python 2.7.
Browse files Browse the repository at this point in the history
This works around upstream issue boto/botocore#1707 and PR pkg/54094.
  • Loading branch information
bsiegert committed Apr 4, 2019
1 parent 637dff7 commit 897792d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions net/py-botocore/Makefile
Original file line number Diff line number Diff line change
@@ -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/}
Expand All @@ -15,7 +16,12 @@ DEPENDS+= ${PYPKGPREFIX}-docutils>=0.12:../../textproc/py-docutils
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"

0 comments on commit 897792d

Please sign in to comment.