[Python-modules-commits] [python-coloredlogs] 02/03: Initial debianization

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sat Jul 29 12:19:21 UTC 2017


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository python-coloredlogs.

commit 84334a249d1ab007b46dd8bf88cf389d670ccb4a
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Fri Jul 28 18:27:49 2017 +0100

    Initial debianization
---
 debian/changelog      |  5 +++++
 debian/compat         |  1 +
 debian/control        | 43 +++++++++++++++++++++++++++++++++++++++++++
 debian/copyright      | 31 +++++++++++++++++++++++++++++++
 debian/gbp.conf       |  7 +++++++
 debian/rules          | 13 +++++++++++++
 debian/source/format  |  1 +
 debian/source/options |  1 +
 debian/watch          |  3 +++
 9 files changed, 105 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..58c99d9
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-coloredlogs (7.1-1) UNRELEASED; urgency=low
+
+  * Initial release. (Closes: #780187)
+
+ -- Ghislain Antony Vaillant <ghisvail at gmail.com>  Fri, 28 Jul 2017 17:55:30 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..9a40592
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,43 @@
+Source: python-coloredlogs
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Ghislain Antony Vaillant <ghisvail at gmail.com>
+Section: python
+Testsuite: autopkgtest-pkg-python
+Priority: optional
+Build-Depends: debhelper (>= 10),
+               dh-python,
+               python-all,
+               python-humanfriendly,
+               python-setuptools,
+               python3-all,
+               python3-humanfriendly,
+               python3-setuptools
+Standards-Version: 4.0.0
+Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/python-coloredlogs.git
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-coloredlogs.git
+Homepage: https://coloredlogs.readthedocs.io
+X-Python3-Version: >= 3.4
+
+Package: python-coloredlogs
+Architecture: all
+Depends: ${misc:Depends},
+         ${python:Depends}
+Description: colored terminal output for Python 2's logging module
+ The coloredlogs package enables colored terminal output for Python's logging
+ module. The ColoredFormatter class inherits from logging.Formatter and uses
+ ANSI escape sequences to render your logging messages in color. It uses only
+ standard colors so it should work on any UNIX terminal.
+ .
+ This package provides the modules for Python 2.
+
+Package: python3-coloredlogs
+Architecture: all
+Depends: ${misc:Depends},
+         ${python3:Depends}
+Description: colored terminal output for Python 3's logging module
+ The coloredlogs package enables colored terminal output for Python's logging
+ module. The ColoredFormatter class inherits from logging.Formatter and uses
+ ANSI escape sequences to render your logging messages in color. It uses only
+ standard colors so it should work on any UNIX terminal.
+ .
+ This package provides the modules for Python 3.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..adeb0c4
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,31 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: coloredlogs
+Upstream-Contact: Peter Odding <peter at peterodding.com>
+Source: https://pypi.python.org/pypi/coloredlogs
+
+Files: *
+Copyright: 2017 Peter Odding
+License: Expat
+
+Files: debian/*
+Copyright: 2017 Ghislain Antony Vaillant <ghisvail at gmail.com>
+License: Expat
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..f53906f
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,7 @@
+[DEFAULT]
+upstream-branch = upstream
+debian-branch = master
+upstream-tag = upstream/%(version)s
+debian-tag = debian/%(version)s
+sign-tags = True
+pristine-tar = True
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..107d634
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export PYBUILD_NAME=coloredlogs
+export PYBUILD_AFTER_INSTALL=rm -rf {destdir}/usr/bin
+
+# Testing depends on verboselogs, which has yet to be packaged.
+export PYBUILD_DISABLE=test
+
+%:
+	dh $@ --with python2,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)
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..b2b7b88
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore="^[^/]+\.egg-info/"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..f2aa24c
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/coloredlogs/coloredlogs@ANY_VERSION@@ARCHIVE_EXT@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-coloredlogs.git



More information about the Python-modules-commits mailing list