summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-07-31 15:57:30 +0300
committerLars Wirzenius <liw@liw.fi>2017-07-31 15:57:30 +0300
commit54996d35db744b859ff6cd7873a19af35e8b9f49 (patch)
tree46df9c72e067335353cd42ca3afb253ccbcdbefc
parent826108f5ddb0b4bc49340052b7a85d6e0e04288f (diff)
downloadslog-54996d35db744b859ff6cd7873a19af35e8b9f49.tar.gz
Add: rudimentary Debian packaging
-rw-r--r--debian/changelog6
-rw-r--r--debian/compat1
-rw-r--r--debian/control17
-rw-r--r--debian/copyright20
-rwxr-xr-xdebian/rules6
-rw-r--r--debian/source/format1
6 files changed, 51 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..e11a5f6
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+slog (0.1+git-1) UNRELEASED; urgency=medium
+
+ * Initial packaging. This is not intended to be uploaded to Debian, so
+ no closing of an ITP bug.
+
+ -- Lars Wirzenius <liw@liw.fi> Mon, 31 Jul 2017 14:48:24 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..bd20d8c
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,17 @@
+Source: slog
+Maintainer: Lars Wirzenius <liw@liw.fi>
+Homepage: http://liw.fi/slog/
+Section: python
+Priority: optional
+Standards-Version: 4.0.0
+Build-Depends: debhelper (>= 9), dh-python,
+ python3-all, python3-coverage, python3-bottle, gunicorn3, python3-jwt,
+ python3-crypto
+
+Package: python3-slog
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}, python3-bottle, gunicorn3, python3-jwt,
+ python3-crypto
+Description: Python library for structure (JSON) longs
+ This package contains the Python module slog, which implements structured
+ logs (a JSON object encoded per line).
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..0bfb117
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,20 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: slog
+Upstream-Contact: Lars Wirzenius <liw@liw.fi>
+Source: http://git.liw.fi/slog
+
+Files: *
+Copyright: 2017, Lars Wirzenius
+License: GPL-3+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..4071760
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=slog
+
+%:
+ dh $@ --with=python3 --buildsystem=pybuild
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)