freebsd-ports/net/py-python-neutronclient/Makefile
Roman Bogorodskiy d6c193775f Rename python openstack clients to match pypi names
- Rename the following ports:

    py-ceilometerclient
    py-cinderclient
    py-designateclient
    py-glanceclient
    py-heatclient
    py-keystoneclient
    py-neutronclient
    py-novaclient
    py-openstackclient

   to py-python-$(component)client to match pypi name

 - Update MOVED

 - Update the appropriate dependency lines

Suggested by:	koobs
2016-12-17 15:31:09 +00:00

36 lines
1.4 KiB
Makefile

# Created by: Alexander Nusov <alexander.nusov@nfvexpress.com>
# $FreeBSD$
PORTNAME= python-neutronclient
PORTVERSION= 6.0.0
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= alexander.nusov@nfvexpress.com
COMMENT= Client for the OpenStack Neutron API
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=1.6:devel/py-pbr
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}keystoneauth1>=2.10.0:devel/py-keystoneauth1 \
${PYTHON_PKGNAMEPREFIX}debtcollector>=1.2.0:devel/py-debtcollector \
${PYTHON_PKGNAMEPREFIX}osc-lib>=1.0.2:devel/py-osc-lib \
${PYTHON_PKGNAMEPREFIX}cliff>=0:devel/py-cliff \
${PYTHON_PKGNAMEPREFIX}iso8601>=0.1.11:devel/py-iso8601 \
${PYTHON_PKGNAMEPREFIX}oslo.i18n>=2.1.0:devel/py-oslo.i18n \
${PYTHON_PKGNAMEPREFIX}oslo.serialization>=1.10.0:devel/py-oslo.serialization \
${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.16.0:devel/py-oslo.utils \
${PYTHON_PKGNAMEPREFIX}os-client-config>=0:devel/py-os-client-config \
${PYTHON_PKGNAMEPREFIX}requests>=2.10.0:www/py-requests \
${PYTHON_PKGNAMEPREFIX}simplejson>=2.2.0:devel/py-simplejson \
${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six \
${PYTHON_PKGNAMEPREFIX}Babel>=2.3.4:devel/py-babel
USES= python shebangfix
SHEBANG_FILES= neutronclient/tests/functional/hooks/post_test_hook.sh
USE_PYTHON= distutils autoplist noegginfo
NO_ARCH= yes
post-patch:
@${REINPLACE_CMD} -e 's,install_requires.*,,' ${WRKSRC}/setup.py
.include <bsd.port.mk>