aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-09-10 00:33:15 +0800
committerwg <wg@FreeBSD.org>2013-09-10 00:33:15 +0800
commit29da757ca514574514fdea11ab60452c824954c5 (patch)
treeb64d01878ac528936fe547467caa46bee61af6ce
parent587320fb6ecc43f00cabe2ffbe1d0a81ec4a380c (diff)
downloadfreebsd-ports-gnome-29da757ca514574514fdea11ab60452c824954c5.tar.gz
freebsd-ports-gnome-29da757ca514574514fdea11ab60452c824954c5.tar.zst
freebsd-ports-gnome-29da757ca514574514fdea11ab60452c824954c5.zip
devel/awscli: delete argparse from requirements
- Delete argparse from requirements for python >= 2.7 PR: ports/181965 Reported by: Alexey Degtyarev <alexey renatasystems.org>
-rw-r--r--devel/awscli/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/devel/awscli/Makefile b/devel/awscli/Makefile
index c8a1ee5ecd52..0988a832114e 100644
--- a/devel/awscli/Makefile
+++ b/devel/awscli/Makefile
@@ -26,6 +26,9 @@ USE_PYDISTUTILS=easy_install
.if ${PYTHON_REL} < 270
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}argparse>0:${PORTSDIR}/devel/py-argparse
+.else
+post-patch:
+ @${REINPLACE_CMD} '/.*argparse.*/d' ${WRKSRC}/setup.py
.endif
.include <bsd.port.post.mk>