1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/net/py-novaclient/Makefile

31 lines
844 B
Makefile

# Created by: Roman Bogorodskiy <novel@FreeBSD.org>
# $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 \
${PKGNAMEPREFIX}httplib2>=0:${PORTSDIR}/www/py-httplib2
USE_PYTHON= yes
USE_PYDISTUTILS=easy_install
PYDISTUTILS_NOEGGINFO= yes
PYDISTUTILS_PKGNAME= python-${PORTNAME}
PLIST_FILES= bin/nova \
${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}/${PYEASYINSTALL_EGG}
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's,install_requires.*,,' ${WRKSRC}/setup.py
.include <bsd.port.mk>