Line 0
Link Here
|
|
|
1 |
# Created by: Alexander Nusov <alexander.nusov@nfvexpress.com> |
2 |
# $FreeBSD$ |
3 |
|
4 |
PORTNAME= glance |
5 |
PORTVERSION= 13.0.0 |
6 |
CATEGORIES= misc python |
7 |
MASTER_SITES= https://fossies.org/linux/misc/openstack/ |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
9 |
|
10 |
MAINTAINER= alexander.nusov@nfvexpress.com |
11 |
COMMENT= OpenStack Image Service |
12 |
|
13 |
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=1.6:devel/py-pbr |
14 |
|
15 |
RUN_DEPENDS:= ${BUILD_DEPENDS} |
16 |
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sqlalchemy10>=0:databases/py-sqlalchemy10 \ |
17 |
${PYTHON_PKGNAMEPREFIX}eventlet>=0:net/py-eventlet \ |
18 |
${PYTHON_PKGNAMEPREFIX}PasteDeploy>=1.5.0:www/py-pastedeploy \ |
19 |
${PYTHON_PKGNAMEPREFIX}routes>=0:www/py-routes \ |
20 |
${PYTHON_PKGNAMEPREFIX}webob>=1.2.3:www/py-webob \ |
21 |
${PYTHON_PKGNAMEPREFIX}sqlalchemy-migrate>=0.9.6:databases/py-sqlalchemy-migrate \ |
22 |
${PYTHON_PKGNAMEPREFIX}httplib2>=0.7.5:www/py-httplib2 \ |
23 |
${PYTHON_PKGNAMEPREFIX}pycrypto>=2.6:security/py-pycrypto \ |
24 |
${PYTHON_PKGNAMEPREFIX}oslo.config>=3.14.0:devel/py-oslo.config \ |
25 |
${PYTHON_PKGNAMEPREFIX}oslo.concurrency>=3.8.0:devel/py-oslo.concurrency \ |
26 |
${PYTHON_PKGNAMEPREFIX}oslo.context>=2.9.0:devel/py-oslo.context \ |
27 |
${PYTHON_PKGNAMEPREFIX}oslo.service>=1.10.0:devel/py-oslo.service \ |
28 |
${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.16.0:devel/py-oslo.utils \ |
29 |
${PYTHON_PKGNAMEPREFIX}stevedore>=1.16.0:devel/py-stevedore \ |
30 |
${PYTHON_PKGNAMEPREFIX}futurist>=0:devel/py-futurist \ |
31 |
${PYTHON_PKGNAMEPREFIX}taskflow>=1.26.0:devel/py-taskflow \ |
32 |
${PYTHON_PKGNAMEPREFIX}keystoneauth1>=2.10.0:devel/py-keystoneauth1 \ |
33 |
${PYTHON_PKGNAMEPREFIX}keystonemiddleware>=0:devel/py-keystonemiddleware \ |
34 |
${PYTHON_PKGNAMEPREFIX}wsme>=0.8:devel/py-wsme \ |
35 |
${PYTHON_PKGNAMEPREFIX}prettytable>=0:devel/py-prettytable \ |
36 |
${PYTHON_PKGNAMEPREFIX}Paste>=0:www/py-paste \ |
37 |
${PYTHON_PKGNAMEPREFIX}jsonschema>=0:devel/py-jsonschema \ |
38 |
${PYTHON_PKGNAMEPREFIX}keystoneclient>=0:net/py-keystoneclient \ |
39 |
${PYTHON_PKGNAMEPREFIX}openssl>=0.14:security/py-openssl \ |
40 |
${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six \ |
41 |
${PYTHON_PKGNAMEPREFIX}oslo.db>=0:devel/py-oslo.db \ |
42 |
${PYTHON_PKGNAMEPREFIX}oslo.i18n>=2.1.0:devel/py-oslo.i18n \ |
43 |
${PYTHON_PKGNAMEPREFIX}oslo.log>=1.14.0:devel/py-oslo.log \ |
44 |
${PYTHON_PKGNAMEPREFIX}oslo.messaging>=5.2.0:devel/py-oslo.messaging \ |
45 |
${PYTHON_PKGNAMEPREFIX}oslo.middleware>=3.0.0:devel/py-oslo.middleware \ |
46 |
${PYTHON_PKGNAMEPREFIX}oslo.policy>=1.9.0:devel/py-oslo.policy \ |
47 |
${PYTHON_PKGNAMEPREFIX}retrying>=0:devel/py-retrying \ |
48 |
${PYTHON_PKGNAMEPREFIX}osprofiler>=1.4.0:devel/py-osprofiler \ |
49 |
${PYTHON_PKGNAMEPREFIX}glance-store>=0.18.0:devel/py-glance-store \ |
50 |
${PYTHON_PKGNAMEPREFIX}semantic_version>=2.3.1:devel/py-semantic_version \ |
51 |
${PYTHON_PKGNAMEPREFIX}debtcollector>=1.2.0:devel/py-debtcollector \ |
52 |
${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography \ |
53 |
${PYTHON_PKGNAMEPREFIX}cursive>=0.1.1:devel/py-cursive \ |
54 |
${PYTHON_PKGNAMEPREFIX}iso8601>=0.1.11:devel/py-iso8601 \ |
55 |
${PYTHON_PKGNAMEPREFIX}monotonic>=0.6:devel/py-monotonic \ |
56 |
${PYTHON_PKGNAMEPREFIX}sqlparse>=0:databases/py-sqlparse |
57 |
|
58 |
NO_ARCH= yes |
59 |
|
60 |
USES= python |
61 |
USE_PYTHON= autoplist distutils noegginfo |
62 |
|
63 |
USE_RC_SUBR= glance-api glance-registry glance-scrubber |
64 |
USERS= glance |
65 |
GROUPS= glance |
66 |
|
67 |
post-extract: |
68 |
@(cd ${WRKSRC}/etc; for f in *.conf; do ${MV} $${f} $${f}.sample; done) |
69 |
|
70 |
post-install: |
71 |
${MKDIR} ${STAGEDIR}${PREFIX}/etc/${PORTNAME} |
72 |
${CP} -R ${WRKSRC}/etc/ ${STAGEDIR}${PREFIX}/etc/${PORTNAME} |
73 |
|
74 |
.include <bsd.port.mk> |