mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
33734655a0
- Delete argparse from requirements for python >= 2.7 PR: ports/181965 Reported by: Alexey Degtyarev <alexey renatasystems.org>
35 lines
1021 B
Makefile
35 lines
1021 B
Makefile
# Created by: Alexey V. Degtyarev <alexey@renatasystems.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= awscli
|
|
PORTVERSION= 1.0.0
|
|
CATEGORIES= devel
|
|
MASTER_SITES= CHEESESHOP
|
|
MASTER_SITE_SUBDIR=source/a/awscli
|
|
|
|
MAINTAINER= alexey@renatasystems.org
|
|
COMMENT= Universal Command Line Interface for Amazon Web Services
|
|
|
|
LICENSE= AL2
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bcdoc>=0.9.0:${PORTSDIR}/devel/py-bcdoc \
|
|
${PYTHON_PKGNAMEPREFIX}botocore>=0.16:${PORTSDIR}/devel/py-botocore \
|
|
${PYTHON_PKGNAMEPREFIX}colorama>=0.2.5:${PORTSDIR}/devel/py-colorama \
|
|
${PYTHON_PKGNAMEPREFIX}docutils>=0.10:${PORTSDIR}/textproc/py-docutils \
|
|
${PYTHON_PKGNAMEPREFIX}rsa>=3.1.1:${PORTSDIR}/security/py-rsa \
|
|
${PYTHON_PKGNAMEPREFIX}six>=1.1.0:${PORTSDIR}/devel/py-six
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS=easy_install
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.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>
|