FreeBSD Bugzilla – Attachment 177866 Details for
Bug 215155
[NEW PORT] www/py-horizon: OpenStack Dashboard
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
py-horizon
py-horizon.diff (text/plain), 9.82 KB, created by
Alexander Nusov
on 2016-12-11 11:22:54 UTC
(
hide
)
Description:
py-horizon
Filename:
MIME Type:
Creator:
Alexander Nusov
Created:
2016-12-11 11:22:54 UTC
Size:
9.82 KB
patch
obsolete
>Index: www/py-horizon/Makefile >=================================================================== >--- www/py-horizon/Makefile (nonexistent) >+++ www/py-horizon/Makefile (working copy) >@@ -0,0 +1,83 @@ >+# Created by: Alexander Nusov <alexander.nusov@nfvexpress.com> >+# $FreeBSD$ >+ >+PORTNAME= horizon >+PORTVERSION= 10.0.1 >+CATEGORIES= www python >+MASTER_SITES= https:/fossies.org/linux/misc/openstack/ >+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >+ >+MAINTAINER= alexander.nusov@nfvexpress.com >+COMMENT= OpenStack Dashboard (Horizon) >+ >+LICENSE= APACHE20 >+ >+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=1.6:devel/py-pbr >+RUN_DEPENDS:= ${BUILD_DEPENDS} >+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}Babel>=2.3.4:devel/py-babel \ >+ ${PYTHON_PKGNAMEPREFIX}django18>=0:www/py-django18 \ >+ ${PYTHON_PKGNAMEPREFIX}Pint>=0.5:devel/py-Pint \ >+ ${PYTHON_PKGNAMEPREFIX}django-babel>=0.5.1:www/py-django-babel \ >+ ${PYTHON_PKGNAMEPREFIX}django-compressor>=2.0:www/py-django_compressor \ >+ ${PYTHON_PKGNAMEPREFIX}django-openstack-auth>=2.4.0:www/py-django-openstack-auth \ >+ ${PYTHON_PKGNAMEPREFIX}django-pyscss>=2.0.2:www/py-django-pyscss \ >+ ${PYTHON_PKGNAMEPREFIX}iso8601>=0.1.11:devel/py-iso8601 \ >+ ${PYTHON_PKGNAMEPREFIX}netaddr>=0:net/py-netaddr \ >+ ${PYTHON_PKGNAMEPREFIX}oslo.concurrency>=3.8.0:devel/py-oslo.concurrency \ >+ ${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.policy>=1.9.0:devel/py-oslo.policy \ >+ ${PYTHON_PKGNAMEPREFIX}oslo.serialization>=1.10.0:devel/py-oslo.serialization \ >+ ${PYTHON_PKGNAMEPREFIX}oslo.utils>=3.16.0:devel/py-oslo.utils \ >+ ${PYTHON_PKGNAMEPREFIX}pyscss>=1.3.4:textproc/py-pyscss \ >+ ${PYTHON_PKGNAMEPREFIX}ceilometerclient>=2.5.0:net/py-ceilometerclient \ >+ ${PYTHON_PKGNAMEPREFIX}cinderclient>=0:net/py-cinderclient \ >+ ${PYTHON_PKGNAMEPREFIX}glanceclient>=0:net/py-glanceclient \ >+ ${PYTHON_PKGNAMEPREFIX}heatclient>=1.4.0:net/py-heatclient \ >+ ${PYTHON_PKGNAMEPREFIX}keystoneclient>=0:net/py-keystoneclient \ >+ ${PYTHON_PKGNAMEPREFIX}neutronclient>=5.1.0:net/py-neutronclient \ >+ ${PYTHON_PKGNAMEPREFIX}novaclient>=0:net/py-novaclient \ >+ ${PYTHON_PKGNAMEPREFIX}swiftclient>=2.2.0:databases/py-swiftclient \ >+ ${PYTHON_PKGNAMEPREFIX}pytz>=2013.6:devel/py-pytz \ >+ ${PYTHON_PKGNAMEPREFIX}yaml>=3.1.0:devel/py-yaml \ >+ ${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six \ >+ ${PYTHON_PKGNAMEPREFIX}XStatic>=1.0.0:devel/py-XStatic \ >+ ${PYTHON_PKGNAMEPREFIX}XStatic-Angular>=1.3.7:devel/py-XStatic-Angular \ >+ ${PYTHON_PKGNAMEPREFIX}XStatic-Angular-Bootstrap>=0.11.0.2:devel/py-XStatic-Angular-Bootstrap \ >+ ${PYTHON_PKGNAMEPREFIX}XStatic-Angular-FileUpload>=12.0.4.0:devel/py-XStatic-Angular-FileUpload \ >+ ${PYTHON_PKGNAMEPREFIX}XStatic-Angular-Gettext>=2.1.0.2:devel/py-XStatic-Angular-Gettext \ >+ ${PYTHON_PKGNAMEPREFIX}XStatic-Angular-lrdragndrop>=1.0.2.2:devel/py-XStatic-Angular-lrdragndrop \ >+ ${PYTHON_PKGNAMEPREFIX}XStatic-Angular-Schema-Form>=0.8.13.0:devel/py-XStatic-Angular-Schema-Form \ >+ ${PYTHON_PKGNAMEPREFIX}XStatic-Bootstrap-Datepicker>=1.3.1.0:devel/py-XStatic-Bootstrap-Datepicker \ >+ ${PYTHON_PKGNAMEPREFIX}XStatic-Bootstrap-SCSS>=3:devel/py-XStatic-Bootstrap-SCSS \ >+ ${PYTHON_PKGNAMEPREFIX}XStatic-bootswatch>=3.3.5.3:devel/py-XStatic-bootswatch \ >+ ${PYTHON_PKGNAMEPREFIX}XStatic-D3>=3.1.6.2:devel/py-XStatic-D3 \ >+ ${PYTHON_PKGNAMEPREFIX}XStatic-Hogan>=2.0.0.2:devel/py-XStatic-Hogan \ >+ ${PYTHON_PKGNAMEPREFIX}XStatic-Font-Awesome>=4.3.0:devel/py-XStatic-Font-Awesome \ >+ ${PYTHON_PKGNAMEPREFIX}XStatic-Jasmine>=2.1.2.0:devel/py-XStatic-Jasmine \ >+ ${PYTHON_PKGNAMEPREFIX}XStatic-jQuery>=1.7.2:devel/py-XStatic-jQuery \ >+ ${PYTHON_PKGNAMEPREFIX}XStatic-JQuery-Migrate>=1.2.1.1:devel/py-XStatic-JQuery-Migrate \ >+ ${PYTHON_PKGNAMEPREFIX}XStatic-JQuery.quicksearch>=2.0.3.1:devel/py-XStatic-JQuery.quicksearch \ >+ ${PYTHON_PKGNAMEPREFIX}XStatic-JQuery.TableSorter>=2.14.5.1:devel/py-XStatic-JQuery.TableSorter \ >+ ${PYTHON_PKGNAMEPREFIX}XStatic-jquery-ui>=1.10.1:devel/py-XStatic-jquery-ui \ >+ ${PYTHON_PKGNAMEPREFIX}XStatic-JSEncrypt>=2.0.0.2:devel/py-XStatic-JSEncrypt \ >+ ${PYTHON_PKGNAMEPREFIX}XStatic-mdi>=1.4.57.0:devel/py-XStatic-mdi \ >+ ${PYTHON_PKGNAMEPREFIX}XStatic-objectpath>=1.2.1.0:devel/py-XStatic-objectpath \ >+ ${PYTHON_PKGNAMEPREFIX}XStatic-Rickshaw>=1.5.0:devel/py-XStatic-Rickshaw \ >+ ${PYTHON_PKGNAMEPREFIX}XStatic-roboto-fontface>=0.4.3.2:devel/py-XStatic-roboto-fontface \ >+ ${PYTHON_PKGNAMEPREFIX}XStatic-smart-table>=0:devel/py-XStatic-smart-table \ >+ ${PYTHON_PKGNAMEPREFIX}XStatic-Spin>=1.2.5.2:devel/py-XStatic-Spin \ >+ ${PYTHON_PKGNAMEPREFIX}XStatic-term.js>=0.0.4:devel/py-XStatic-term.js \ >+ ${PYTHON_PKGNAMEPREFIX}XStatic-tv4>=1.2.7.0:devel/py-XStatic-tv4 >+ >+EXTRA_PATCHES= ${FILESDIR}/01-django.patch:-p1 >+ >+NO_ARCH= yes >+ >+USES= python >+USE_PYTHON= autoplist distutils >+ >+USERS= horizon >+GROUPS= horizon >+ >+.include <bsd.port.mk> > >Property changes on: www/py-horizon/Makefile >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: www/py-horizon/distinfo >=================================================================== >--- www/py-horizon/distinfo (nonexistent) >+++ www/py-horizon/distinfo (working copy) >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1481116590 >+SHA256 (horizon-10.0.1.tar.gz) = 919e1e466007684ee80a0dec46f18c7f8147bd826ac1085a262fbb15b6c789be >+SIZE (horizon-10.0.1.tar.gz) = 4093291 > >Property changes on: www/py-horizon/distinfo >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: www/py-horizon/files/01-django.patch >=================================================================== >--- www/py-horizon/files/01-django.patch (nonexistent) >+++ www/py-horizon/files/01-django.patch (working copy) >@@ -0,0 +1,13 @@ >+diff --git a/openstack_dashboard/wsgi/django.wsgi b/openstack_dashboard/wsgi/django.wsgi >+index 1be0e06..b7fbe81 100644 >+--- a/openstack_dashboard/wsgi/django.wsgi >++++ b/openstack_dashboard/wsgi/django.wsgi >+@@ -5,7 +5,7 @@ from django.core.wsgi import get_wsgi_application >+ from django.conf import settings >+ >+ # Add this file path to sys.path in order to import settings >+-sys.path.insert(0, os.path.join(os.path.dirname(os.path.realpath(__file__)), '../..')) >++sys.path.insert(0, os.path.normpath(os.path.join(os.path.dirname(os.path.realpath(__file__)), '../..'))) >+ os.environ['DJANGO_SETTINGS_MODULE'] = 'openstack_dashboard.settings' >+ sys.stdout = sys.stderr >+ > >Property changes on: www/py-horizon/files/01-django.patch >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: www/py-horizon/pkg-descr >=================================================================== >--- www/py-horizon/pkg-descr (nonexistent) >+++ www/py-horizon/pkg-descr (working copy) >@@ -0,0 +1,7 @@ >+Horizon is a Django-based project aimed at providing a complete OpenStack >+Dashboard along with an extensible framework for building new dashboards from >+reusable components. The openstack_dashboard module is a reference >+implementation of a Django site that uses the horizon app to provide web-based >+interactions with the various OpenStack projects. >+ >+WWW: http://openstack.org/horizon > >Property changes on: www/py-horizon/pkg-descr >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: www/py-horizon/pkg-message >=================================================================== >--- www/py-horizon/pkg-message (nonexistent) >+++ www/py-horizon/pkg-message (working copy) >@@ -0,0 +1,28 @@ >+Please note that this is a development version of horizon. >+ >+You may serve horizon (OpenStack Dashboard) with apache web server. >+Use this snippet as reference: >+ >+WSGIScriptAlias / /usr/local/lib/python2.7/site-packages/openstack_dashboard/wsgi/django.wsgi process-group=horizon >+WSGIDaemonProcess horizon user=horizon group=horizon processes=3 threads=10 display-name=%{GROUP} >+WSGIProcessGroup horizon >+Alias /static/dashboard /usr/local/lib/python2.7/site-packages/openstack_dashboard/static/dashboard >+<Directory /usr/local/lib/python2.7/site-packages/openstack_dashboard/static> >+ Require all granted >+</Directory> >+<Directory /usr/local/lib/python2.7/site-packages/openstack_dashboard/wsgi> >+ Require all granted >+</Directory> >+ >+Also if you plan to use apache make sure that wsgi4 module is enabled and >+you set correct owner ship for static and local libraries for openstack_dashboard. >+ >+# chown -R horizon /usr/local/lib/python2.7/site-packages/openstack_dashboard/static >+# chown -R horizon /usr/local/lib/python2.7/site-packages/openstack_dashboard/local >+ >+Create local_settings.py with your settings at >+/usr/local/lib/python2.7/site-packages/openstack_dashboard/local >+ >+To enable django-compressor add this option to local_settings.py file >+STATIC_ROOT = '/usr/local/lib/python2.7/site-packages/openstack_dashboard/static' >+ > >Property changes on: www/py-horizon/pkg-message >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 215155
:
177801
| 177866 |
178049
|
178051
|
178101