summaryrefslogtreecommitdiffstats
path: root/devel/awscli/Makefile
blob: 112d7549c4b983783ee69b8cd3688bfce3672ab9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# 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

NO_STAGE=	yes
.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>
OpenPOWER on IntegriCloud