From: Frédéric Péters Date: Sat, 20 Jun 2020 12:06:35 +0000 (+0200) Subject: debian: add minimal packaging X-Git-Tag: v2022~17 X-Git-Url: https://git.0d.be/?p=chloro.git;a=commitdiff_plain;h=deb49be3b8e3b9ed2b99ca1fcdbc47c4c583210b debian: add minimal packaging --- 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