2013-09-20 22:10:23 +00:00
|
|
|
# Created by: Roman Bogorodskiy <novel@FreeBSD.org>
|
2011-12-09 08:26:43 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= novaclient
|
|
|
|
PORTVERSION= 2.6.8
|
|
|
|
CATEGORIES= net python
|
|
|
|
MASTER_SITES= CHEESESHOP
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= python-${PORTNAME}-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= novel@FreeBSD.org
|
|
|
|
COMMENT= Client for the OpenStack Nova API
|
|
|
|
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}argparse>=0:${PORTSDIR}/devel/py-argparse \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}prettytable>=0:${PORTSDIR}/devel/py-prettytable \
|
2012-05-19 15:52:10 +00:00
|
|
|
${PKGNAMEPREFIX}httplib2>=0:${PORTSDIR}/www/py-httplib2
|
2011-12-09 08:26:43 +00:00
|
|
|
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS=easy_install
|
|
|
|
PYDISTUTILS_NOEGGINFO= yes
|
|
|
|
PYDISTUTILS_PKGNAME= python-${PORTNAME}
|
|
|
|
|
|
|
|
PLIST_FILES= bin/nova \
|
|
|
|
${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}/${PYEASYINSTALL_EGG}
|
|
|
|
|
2013-09-20 22:10:23 +00:00
|
|
|
NO_STAGE= yes
|
2011-12-09 08:26:43 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's,install_requires.*,,' ${WRKSRC}/setup.py
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|