aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-python-keystoneclient/Makefile
blob: 33dcec7aff5f723ede43bb9ce40652af6b1c4cdf (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
34
35
# Created by: Alexander Nusov <alexander.nusov@nfvexpress.com>
# $FreeBSD$

PORTNAME=   python-keystoneclient
PORTVERSION=    3.9.0
CATEGORIES= net python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= alexander.nusov@nfvexpress.com
COMMENT=    Client for the OpenStack Keystone API

LICENSE=    APACHE20

BUILD_DEPENDS=  ${PYTHON_PKGNAMEPREFIX}pbr>=1.8:devel/py-pbr
RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}debtcollector>=1.2.0:devel/py-debtcollector \
        ${PYTHON_PKGNAMEPREFIX}keystoneauth1>=2.16.0:devel/py-keystoneauth1 \
        ${PYTHON_PKGNAMEPREFIX}oslo.config>=3.14.0:devel/py-oslo.config \
        ${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.18.0:devel/py-oslo.utils \
        ${PYTHON_PKGNAMEPREFIX}positional>=1.0.1:devel/py-positional \
        ${PYTHON_PKGNAMEPREFIX}requests>=2.10.0:www/py-requests \
        ${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six \
        ${PYTHON_PKGNAMEPREFIX}stevedore>=1.16.0:devel/py-stevedore

USES=       python shebangfix
SHEBANG_FILES=  keystoneclient/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>