[Python-modules-commits] [colorclass] 03/06: Initial release (Closes: #850087)

Carl Suster arcresu-guest at moszumanska.debian.org
Fri Jan 6 08:59:06 UTC 2017


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

arcresu-guest pushed a commit to branch master
in repository colorclass.

commit e02d17d56162546729aa5f1d922ac85b34af4dd2
Author: Carl Suster <carl at contraflo.ws>
Date:   Thu Jan 5 13:18:21 2017 +1100

    Initial release (Closes: #850087)
---
 debian/changelog      |  5 +++++
 debian/clean          |  1 +
 debian/compat         |  1 +
 debian/control        | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
 debian/copyright      | 30 ++++++++++++++++++++++++++++++
 debian/rules          |  8 ++++++++
 debian/source/options |  1 +
 debian/watch          |  4 ++++
 8 files changed, 98 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..c529183
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+colorclass (2.2.0-1) unstable; urgency=medium
+
+  * Initial release (Closes: #850087)
+
+ -- Carl Suster <carl at contraflo.ws>  Thu, 05 Jan 2017 12:47:09 +1100
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..45149aa
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+*.egg-info/*
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..6ff20b2
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,48 @@
+Source: colorclass
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Carl Suster <carl at contraflo.ws>
+Build-Depends:
+ debhelper (>= 10),
+ dh-python,
+ python-all,
+ python-setuptools,
+ python3-all,
+ python3-setuptools,
+Standards-Version: 3.9.8
+Section: python
+Homepage: https://github.com/Robpol86/colorclass
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/colorclass.git
+Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/colorclass.git
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.3
+
+Package: python-colorclass
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+Description: ANSI color text library for Python - Python 2 module
+ Yet another ANSI color text library for Python. Provides "auto colors" for
+ dark/light terminals. Works on Linux, OS X, and Windows.
+ .
+ In Python 2 this library subclasses unicode, while on Python 3 it subclasses
+ str. Different colors are chosen using curly-bracket tags, such as
+ {red}{/red}. For a list of available colors, call colorclass.list_tags().
+ Auto colors are toggled by calling set_light_background() and
+ set_dark_background().
+ .
+ This package provides the Python 2 module.
+
+Package: python3-colorclass
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Description: ANSI color text library for Python - Python 3 module
+ Yet another ANSI color text library for Python. Provides "auto colors" for
+ dark/light terminals. Works on Linux, OS X, and Windows.
+ .
+ In Python 2 this library subclasses unicode, while on Python 3 it subclasses
+ str. Different colors are chosen using curly-bracket tags, such as
+ {red}{/red}. For a list of available colors, call colorclass.list_tags().
+ Auto colors are toggled by calling set_light_background() and
+ set_dark_background().
+ .
+ This package provides the Python 3 module.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..60997f1
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: colorclass
+Source: https://github.com/Robpol86/colorclass
+
+Files: *
+Copyright: 2016 Robpol86
+License: MIT
+
+Files: debian/*
+Copyright: 2017 Carl Suster <carl at contraflo.ws>
+License: MIT
+
+License: MIT
+ 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/rules b/debian/rules
new file mode 100755
index 0000000..ad062c6
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE = 1
+
+export PYBUILD_NAME=colorclass
+
+
+%:
+	dh $@ --with python2,python3 --buildsystem pybuild
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..2a87385
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/colorclass-$1\.tar\.gz/ \
+  https://github.com/Robpol86/colorclass/releases .*/v?(\d\S*)\.tar\.gz

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



More information about the Python-modules-commits mailing list