Skip to content
This repository was archived by the owner on Dec 21, 2024. It is now read-only.

Commit f7fd6ee

Browse files
authored
Merge pull request #57 from BarbarossaTM/debian
Add debian packaging
2 parents 1bf59a1 + 19e8d62 commit f7fd6ee

File tree

6 files changed

+76
-0
lines changed

6 files changed

+76
-0
lines changed

debian/changelog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
python3-jsonlogger (0.1.8-1) stable; urgency=medium
2+
3+
* Initial release.
4+
5+
-- Maximilian Wilhelm <max@sdn.clinic> Wed, 07 Feb 2018 22:12:07 +0100

debian/compat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
9

debian/control

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Source: python3-jsonlogger
2+
Section: python
3+
Priority: optional
4+
Maintainer: Maximilian Wilhelm <max@sdn.clinic>
5+
Build-Depends: debhelper (>= 9), dh-python, dh-systemd,
6+
python3-all,
7+
python3-setuptools,
8+
python3-pbr
9+
Standards-Version: 3.9.5
10+
Homepage: https://github.com/madzak/python-json-logger
11+
X-Python3-Version: >= 3.2
12+
13+
Package: python3-jsonlogger
14+
Architecture: all
15+
Depends: ${python3:Depends}, ${misc:Depends}
16+
Description: JSON library for Python logging framework
17+
This library is provided to allow standard python logging to output log data
18+
as json objects. With JSON we can make our logs more readable by machines
19+
and we can stop writing custom parsers for syslog type records.

debian/copyright

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2+
Upstream-Name: python-json-logger
3+
Source: https://github.com/madzak/python-json-logger
4+
5+
Files: *
6+
Copyright: 2011-2018 Zakaria Zajac <madzak42@gmail.com>
7+
License: BSD-2-Clause
8+
9+
Files: debian/*
10+
Copyright: 2018 Maximilian Wilhelm <max@sdn.clinic>
11+
License: BSD-2-Clause
12+
13+
License: BSD-2-Clause
14+
Redistribution and use in source and binary forms, with or without
15+
modification, are permitted provided that the following conditions
16+
are met:
17+
1. Redistributions of source code must retain the above copyright
18+
notice, this list of conditions and the following disclaimer.
19+
2. Redistributions in binary form must reproduce the above copyright
20+
notice, this list of conditions and the following disclaimer in the
21+
documentation and/or other materials provided with the distribution.
22+
.
23+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
24+
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
25+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
26+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE HOLDERS OR
27+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
28+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
29+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
30+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
31+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
32+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
33+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

debian/rules

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/make -f
2+
# See debhelper(7) (uncomment to enable)
3+
# output every command that modifies files on the build system.
4+
#DH_VERBOSE = 1
5+
6+
# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
7+
DPKG_EXPORT_BUILDFLAGS = 1
8+
include /usr/share/dpkg/default.mk
9+
10+
export PBR_VERSION=0.5.5
11+
12+
# main packaging script based on dh7 syntax
13+
%:
14+
dh $@ --with python3 --buildsystem=pybuild
15+
16+
override_dh_auto_install:
17+
dh_auto_install -O--buildsystem=pybuild

debian/source/format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0 (quilt)

0 commit comments

Comments
 (0)