aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/py-salt-cloud/Makefile
blob: de00e9df4151c3f510732116f0cfcdc39ce57165 (plain) (blame)
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
# Created by: Christer Edwards <christer.edwards@gmail.com>
# $FreeBSD$

PORTNAME=   salt-cloud
PORTVERSION=    0.8.9
CATEGORIES= sysutils python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= christer.edwards@gmail.com
COMMENT=    Provisioning salted minions to various cloud providers

LICENSE=    AL2

FETCH_ARGS= -pRr
USE_PYTHON= 2.6-2.7
USE_PYDISTUTILS=    yes

SUB_LIST+=  PYTHON_CMD=${PYTHON_CMD}

MAN1=       salt-cloud.1
MAN7=       salt-cloud.7

BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}salt>=0.13.0:${PORTSDIR}/sysutils/py-salt \
        ${PYTHON_PKGNAMEPREFIX}yaml>=0:${PORTSDIR}/devel/py-yaml \
        ${PYTHON_PKGNAMEPREFIX}libcloud>=0.11.4:${PORTSDIR}/net/py-libcloud \
        ${PYTHON_PKGNAMEPREFIX}botocore>=0:${PORTSDIR}/devel/py-botocore \
        sshpass>=0:${PORTSDIR}/security/sshpass

post-patch:
    @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/setup.py

.include <bsd.port.mk>