From 54996d35db744b859ff6cd7873a19af35e8b9f49 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 31 Jul 2017 15:57:30 +0300 Subject: Add: rudimentary Debian packaging --- debian/changelog | 6 ++++++ debian/compat | 1 + debian/control | 17 +++++++++++++++++ debian/copyright | 20 ++++++++++++++++++++ debian/rules | 6 ++++++ debian/source/format | 1 + 6 files changed, 51 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100644 debian/source/format 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 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 +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 +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 . 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) -- cgit v1.2.1