Lines 2-9
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= python-glanceclient |
4 |
PORTNAME= python-glanceclient |
5 |
PORTVERSION= 2.5.0 |
5 |
PORTVERSION= 2.10.0 |
6 |
PORTREVISION= 1 |
|
|
7 |
CATEGORIES= net python |
6 |
CATEGORIES= net python |
8 |
MASTER_SITES= CHEESESHOP |
7 |
MASTER_SITES= CHEESESHOP |
9 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
Lines 11-32
Link Here
|
11 |
MAINTAINER= alexander.nusov@nfvexpress.com |
10 |
MAINTAINER= alexander.nusov@nfvexpress.com |
12 |
COMMENT= Client for the OpenStack Glance API |
11 |
COMMENT= Client for the OpenStack Glance API |
13 |
|
12 |
|
14 |
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=1.6:devel/py-pbr@${FLAVOR} |
13 |
LICENSE= APACHE20 |
15 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=2.3.4:devel/py-babel@${FLAVOR} \ |
14 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
16 |
${PYTHON_PKGNAMEPREFIX}prettytable>=0:devel/py-prettytable@${FLAVOR} \ |
|
|
17 |
${PYTHON_PKGNAMEPREFIX}python-keystoneclient>=0:net/py-python-keystoneclient@${FLAVOR} \ |
18 |
${PYTHON_PKGNAMEPREFIX}requests>=2.10.0:www/py-requests@${FLAVOR} \ |
19 |
${PYTHON_PKGNAMEPREFIX}warlock>=0:devel/py-warlock@${FLAVOR} \ |
20 |
${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${FLAVOR} \ |
21 |
${PYTHON_PKGNAMEPREFIX}oslo.i18n>=2.1.0:devel/py-oslo.i18n@${FLAVOR} \ |
22 |
${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.16.0:devel/py-oslo.utils@${FLAVOR} |
23 |
|
15 |
|
24 |
USES= python shebangfix |
16 |
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} |
25 |
SHEBANG_FILES= glanceclient/tests/functional/hooks/post_test_hook.sh |
17 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ |
26 |
USE_PYTHON= distutils autoplist noegginfo |
18 |
${PYTHON_PKGNAMEPREFIX}prettytable>=0.7.1:devel/py-prettytable@${PY_FLAVOR} \ |
|
|
19 |
${PYTHON_PKGNAMEPREFIX}keystoneauth1>=3.3.0:devel/py-keystoneauth1@${PY_FLAVOR} \ |
20 |
${PYTHON_PKGNAMEPREFIX}requests>=2.14.2:www/py-requests@${PY_FLAVOR} \ |
21 |
${PYTHON_PKGNAMEPREFIX}warlock>=1.2.0:devel/py-warlock@${PY_FLAVOR} \ |
22 |
${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR} \ |
23 |
${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.33.0:devel/py-oslo.utils@${PY_FLAVOR} \ |
24 |
${PYTHON_PKGNAMEPREFIX}oslo.i18n>=3.15.3:devel/py-oslo.i18n@${PY_FLAVOR} \ |
25 |
${PYTHON_PKGNAMEPREFIX}wrapt>=1.7.0:devel/py-wrapt@${PY_FLAVOR} \ |
26 |
${PYTHON_PKGNAMEPREFIX}openssl>=16.2.0:security/py-openssl@${PY_FLAVOR} |
27 |
|
28 |
USES= python |
29 |
USE_PYTHON= distutils autoplist |
30 |
|
27 |
NO_ARCH= yes |
31 |
NO_ARCH= yes |
|
|
32 |
PORTDOCS= * |
28 |
|
33 |
|
|
|
34 |
OPTIONS_DEFINE= DOCS |
35 |
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.6.2:textproc/py-sphinx@${PY_FLAVOR} \ |
36 |
${PYTHON_PKGNAMEPREFIX}openstackdocstheme>=1.18.1:textproc/py-openstackdocstheme@${PY_FLAVOR} \ |
37 |
${PYTHON_PKGNAMEPREFIX}oslo.i18n>=3.15.3:devel/py-oslo.i18n@${PY_FLAVOR} \ |
38 |
${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.33.0:devel/py-oslo.utils@${PY_FLAVOR} \ |
39 |
${PYTHON_PKGNAMEPREFIX}prettytable>=0.7.1:devel/py-prettytable@${PY_FLAVOR} \ |
40 |
${PYTHON_PKGNAMEPREFIX}keystoneauth1>=3.3.0:devel/py-keystoneauth1@${PY_FLAVOR} \ |
41 |
${PYTHON_PKGNAMEPREFIX}warlock>=1.2.0:devel/py-warlock@${PY_FLAVOR} |
42 |
DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E" |
43 |
|
29 |
post-patch: |
44 |
post-patch: |
30 |
@${REINPLACE_CMD} -e 's,install_requires.*,,' ${WRKSRC}/setup.py |
45 |
# Set ETCDIR to ${PREFIX}/etc |
|
|
46 |
@${FIND} ${WRKSRC}/doc/source/ -name "*.rst" -print0 | \ |
47 |
${XARGS} -0 ${REINPLACE_CMD} -Ee \ |
48 |
"s|(/etc/glance)|${PREFIX}\1|g" |
49 |
@${REINPLACE_CMD} -Ee "s|(/etc/glance)|${PREFIX}\1|g" \ |
50 |
${WRKSRC}/glanceclient/shell.py |
31 |
|
51 |
|
|
|
52 |
post-install-DOCS-on: |
53 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
54 |
(cd ${WRKSRC}/doc/build/html && \ |
55 |
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ |
56 |
"! -name .buildinfo -and ! -name objects.inv") |
57 |
|
32 |
.include <bsd.port.mk> |
58 |
.include <bsd.port.mk> |