From 952c09004597ce95473fdcece08ccf392f946779 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 19 Feb 2021 14:59:13 +0100 Subject: [PATCH] add debian packaging --- debian/50imio_townstreet.py | 5 +++++ debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 13 +++++++++++++ debian/python3-combo-plugin-imio-townstreet.install | 1 + debian/rules | 9 +++++++++ debian/source/format | 1 + 7 files changed, 35 insertions(+) create mode 100644 debian/50imio_townstreet.py create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/python3-combo-plugin-imio-townstreet.install create mode 100755 debian/rules create mode 100644 debian/source/format diff --git a/debian/50imio_townstreet.py b/debian/50imio_townstreet.py new file mode 100644 index 0000000..36a3b66 --- /dev/null +++ b/debian/50imio_townstreet.py @@ -0,0 +1,5 @@ +# -*- coding: utf-8 -*- + +if 'combo_plugin_imio_townstreet' in INSTALLED_APPS: + INSTALLED_APPS += ('combo_plugin_imio_townstreet',) + TENANT_APPS += ('combo_plugin_imio_townstreet',) diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..f593128 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +combo-plugin-imio-townstreet (0-1) unstable; urgency=low + + * initial release + + -- Frederic Peters Fri, 19 Feb 2021 14:43:19 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..f599e28 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +10 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..eacaf8c --- /dev/null +++ b/debian/control @@ -0,0 +1,13 @@ +Source: combo-plugin-imio-townstreet +Maintainer: Frederic Peters +Section: python +Priority: optional +Build-Depends: debhelper (>= 10), dh-python, python3-all, python3-setuptools, python3-django, sassc +Standards-Version: 3.9.1 + +Package: python3-combo-plugin-imio-townstreet +Architecture: all +Depends: ${misc:Depends}, ${python:Depends}, python3-combo +Description: Combo iMio Town Street Plugin (Python 3) + Extension module for the Combo content management system, with + cells for the iMio Town Street project. diff --git a/debian/python3-combo-plugin-imio-townstreet.install b/debian/python3-combo-plugin-imio-townstreet.install new file mode 100644 index 0000000..0093568 --- /dev/null +++ b/debian/python3-combo-plugin-imio-townstreet.install @@ -0,0 +1 @@ +debian/50imio_townstreet.py /etc/combo/settings.d/ diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..013c2a5 --- /dev/null +++ b/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +export PYBUILD_NAME=combo-plugin-imio-townstreet + +%: + dh $@ --with python3 --buildsystem=pybuild + +override_dh_auto_test: diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt)