From 149fcfa8719e65993bc0ecf8b090f758aee46f4d Mon Sep 17 00:00:00 2001 From: Josue Kouka Date: Thu, 14 Dec 2017 18:36:20 +0100 Subject: [PATCH] add mandayejs common package (#13259) --- debian/control | 4 ++++ debian/mandayejs_common/__init__.py | 0 debian/mandayejs_common/applications.py | 17 +++++++++++++++++ debian/python-mandayejs-common.dirs | 1 + debian/python-mandayejs-common.install | 2 ++ 5 files changed, 24 insertions(+) create mode 100644 debian/mandayejs_common/__init__.py create mode 100644 debian/mandayejs_common/applications.py create mode 100644 debian/python-mandayejs-common.dirs create mode 100644 debian/python-mandayejs-common.install diff --git a/debian/control b/debian/control index 72c03eb..cbbfffa 100644 --- a/debian/control +++ b/debian/control @@ -31,3 +31,7 @@ Depends: ${misc:Depends}, Recommends: nginx, phantomjs, publik-base-theme Suggests: postgresql Description: Authentication Reverse Proxy + +Package: python-mandayejs-common +Architecture: all +Description: Authentication Reverse Proxy Extra Module diff --git a/debian/mandayejs_common/__init__.py b/debian/mandayejs_common/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/debian/mandayejs_common/applications.py b/debian/mandayejs_common/applications.py new file mode 100644 index 0000000..76746c3 --- /dev/null +++ b/debian/mandayejs_common/applications.py @@ -0,0 +1,17 @@ +# List of MandayeJS App Settings Classes + +DEFAULT_APP_SETTINGS = ('mandayejs.applications.Test', 'Test') + +APP_SETTINGS_CLASSES = ( + DEFAULT_APP_SETTINGS, + ('mandayejs.applications.Archimed', 'Archimed'), + ('mandayejs.applications.Arpege', 'Arpege'), + ('mandayejs.applications.Duonet', 'Duonet'), + ('mandayejs.applications.Imuse', 'Imuse'), + ('mandayejs.applications.Sezhame', 'Sezhame'), + ('mandayejs.applications.Teamnet', 'Teamnet'), +) + + +def get_application_classes(): + return APP_SETTINGS_CLASSES diff --git a/debian/python-mandayejs-common.dirs b/debian/python-mandayejs-common.dirs new file mode 100644 index 0000000..76d165b --- /dev/null +++ b/debian/python-mandayejs-common.dirs @@ -0,0 +1 @@ +/usr/lib/2.7/dist-packages/mandayejs_common/ diff --git a/debian/python-mandayejs-common.install b/debian/python-mandayejs-common.install new file mode 100644 index 0000000..76c0e39 --- /dev/null +++ b/debian/python-mandayejs-common.install @@ -0,0 +1,2 @@ +debian/mandayejs_common/__init__.py /usr/lib/python2.7/dist-packages/mandayejs_common/ +debian/mandayejs_common/applications.py /usr/lib/python2.7/dist-packages/mandayejs_common/ -- 2.11.0