]> git.0d.be Git - panikweb.git/commitdiff
add debian packaging
authorFrédéric Péters <fpeters@0d.be>
Wed, 8 Jul 2020 07:46:54 +0000 (09:46 +0200)
committerFrédéric Péters <fpeters@0d.be>
Wed, 8 Jul 2020 07:46:54 +0000 (09:46 +0200)
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/panikweb.dirs [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/source/format [new file with mode: 0644]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..53860f8
--- /dev/null
@@ -0,0 +1,5 @@
+panikweb (0-0) stable; urgency=low
+
+  * Initial version.
+
+ -- Frederic Peters <fred@radiopanik.org>  Thu, 28 May 2020 17:30:03 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..f599e28
--- /dev/null
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..ec953de
--- /dev/null
@@ -0,0 +1,17 @@
+Source: panikweb
+Section: python
+Priority: optional
+Maintainer: Frederic Peters <fred@radiopanik.org>
+Build-Depends: debhelper (>= 10),
+               python3-all,
+               python3-django,
+               python3-setuptools,
+               dh-python,
+               sassc
+Standards-Version: 3.9.1
+
+Package: panikweb
+Architecture: all
+Depends: ${python3:Depends}, python3-django-haystack
+Description: Panik web site
+ Front.
diff --git a/debian/panikweb.dirs b/debian/panikweb.dirs
new file mode 100644 (file)
index 0000000..78526c5
--- /dev/null
@@ -0,0 +1 @@
+/usr/lib/panikweb
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..3ff29c2
--- /dev/null
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=panikweb
+export PYBUILD_DISABLE=test
+
+%:
+       dh $@ --with python3 --buildsystem=pybuild
+
+override_dh_install:
+       dh_install
+       mv $(CURDIR)/debian/panikweb/usr/bin/manage.py $(CURDIR)/debian/panikweb/usr/bin/panikweb-manage
diff --git a/debian/source/format b/debian/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)