From deb49be3b8e3b9ed2b99ca1fcdbc47c4c583210b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sat, 20 Jun 2020 14:06:35 +0200 Subject: [PATCH] debian: add minimal packaging --- debian/changelog | 5 +++++ debian/control | 17 +++++++++++++++++ debian/rules | 11 +++++++++++ 3 files changed, 33 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100755 debian/rules diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..09ebff0 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +chloro (0-0) stable; urgency=low + + * Initial version. + + -- Frederic Peters Sat, 20 Jun 2020 13:58:47 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..e682cdd --- /dev/null +++ b/debian/control @@ -0,0 +1,17 @@ +Source: chloro +Section: python +Priority: optional +Maintainer: Frederic Peters +Build-Depends: debhelper-compat (= 12), + sassc, + python3-all, + python3-django, + python3-setuptools, + dh-python +Standards-Version: 3.9.1 + +Package: chloro +Architecture: all +Depends: ${python3:Depends} +Description: Content Manager + Code to run 0d.be. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..da06967 --- /dev/null +++ b/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=chloro +export PYBUILD_DISABLE=test + +%: + dh $@ --with python3 --buildsystem=pybuild + +override_dh_install: + dh_install + mv $(CURDIR)/debian/chloro/usr/bin/manage.py $(CURDIR)/debian/chloro/usr/bin/chrono-manage -- 2.39.2