Adding debian version 2.2.0-4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
12d94d2889
commit
ee1d05aac9
13 changed files with 180 additions and 0 deletions
11
debian/.git-dpm
vendored
Normal file
11
debian/.git-dpm
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
# see git-dpm(1) from git-dpm package
|
||||
bf531346100de79a1a832ec54d3c5c8c8a9f16a5
|
||||
bf531346100de79a1a832ec54d3c5c8c8a9f16a5
|
||||
bf531346100de79a1a832ec54d3c5c8c8a9f16a5
|
||||
bf531346100de79a1a832ec54d3c5c8c8a9f16a5
|
||||
colorclass_2.2.0.orig.tar.gz
|
||||
e1a713dd315095eb901e13c37ef02202a5ff0033
|
||||
486151
|
||||
debianTag="debian/%e%v"
|
||||
patchedTag="patched/%e%v"
|
||||
upstreamTag="upstream/%e%u"
|
58
debian/changelog
vendored
Normal file
58
debian/changelog
vendored
Normal file
|
@ -0,0 +1,58 @@
|
|||
colorclass (2.2.0-4) sid; urgency=medium
|
||||
|
||||
* Uploading to sid.
|
||||
* Adopting package, thanks to Carl for all of his previous work (Closes:
|
||||
#929658).
|
||||
* Updating vcs fields.
|
||||
|
||||
-- Daniel Baumann <daniel.baumann@progress-linux.org> Fri, 16 Sep 2022 11:15:50 +0200
|
||||
|
||||
colorclass (2.2.0-3) unstable; urgency=medium
|
||||
|
||||
[ Ondřej Nový ]
|
||||
* d/control: Set Vcs-* to salsa.debian.org
|
||||
* d/control: Remove ancient X-Python3-Version field
|
||||
* Convert git repository from git-dpm to gbp layout
|
||||
* Use debhelper-compat instead of debian/compat.
|
||||
* d/control: Update Maintainer field with new Debian Python Team
|
||||
contact address.
|
||||
* d/control: Update Vcs-* fields with new Debian Python Team Salsa
|
||||
layout.
|
||||
|
||||
[ Debian Janitor ]
|
||||
* Bump debhelper from old 10 to 12.
|
||||
* Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
|
||||
Repository-Browse.
|
||||
* Bump debhelper from old 12 to 13.
|
||||
|
||||
-- Sandro Tosi <morph@debian.org> Tue, 07 Jun 2022 00:04:08 -0400
|
||||
|
||||
colorclass (2.2.0-2.2) unstable; urgency=medium
|
||||
|
||||
* Non-maintainer upload.
|
||||
* Applying patch from Steve Langasek <steve.langasek@canonical.com>
|
||||
for Python 3.10 (Closes: #1001289).
|
||||
|
||||
-- Daniel Baumann <daniel.baumann@progress-linux.org> Thu, 16 Dec 2021 05:16:44 +0200
|
||||
|
||||
colorclass (2.2.0-2.1) unstable; urgency=medium
|
||||
|
||||
* Non maintainer upload by the Reproducible Builds team.
|
||||
* No source change upload to rebuild on buildd with .buildinfo files.
|
||||
|
||||
-- Holger Levsen <holger@debian.org> Wed, 06 Jan 2021 18:09:16 +0100
|
||||
|
||||
colorclass (2.2.0-2) unstable; urgency=medium
|
||||
|
||||
* Upload to unstable.
|
||||
* Tell dh_compress to leave example.py alone.
|
||||
* Enable autopkgtest-pkg-python test suite.
|
||||
* Bump standards to 4.1.1, no changes needed.
|
||||
|
||||
-- Carl Suster <carl@contraflo.ws> Fri, 24 Nov 2017 13:21:26 +1100
|
||||
|
||||
colorclass (2.2.0-1) experimental; urgency=medium
|
||||
|
||||
* Initial release (Closes: #850087)
|
||||
|
||||
-- Carl Suster <carl@contraflo.ws> Thu, 05 Jan 2017 12:47:09 +1100
|
2
debian/clean
vendored
Normal file
2
debian/clean
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
*.egg-info/*
|
||||
.cache/
|
31
debian/control
vendored
Normal file
31
debian/control
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
Source: colorclass
|
||||
Priority: optional
|
||||
Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org>
|
||||
Build-Depends:
|
||||
debhelper-compat (= 13),
|
||||
dh-python,
|
||||
python3-all,
|
||||
python3-docopt,
|
||||
python3-pytest,
|
||||
python3-setuptools,
|
||||
Standards-Version: 4.1.1
|
||||
Section: python
|
||||
Homepage: https://github.com/Robpol86/colorclass
|
||||
Vcs-Browser: https://git.progress-linux.org/users/daniel.baumann/debian/packages/colorclass
|
||||
Vcs-Git: https://git.progress-linux.org/users/daniel.baumann/debian/packages/colorclass
|
||||
Testsuite: autopkgtest-pkg-python
|
||||
|
||||
Package: python3-colorclass
|
||||
Architecture: all
|
||||
Depends: ${python3:Depends}, ${misc:Depends}
|
||||
Description: ANSI color text library for Python
|
||||
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.
|
30
debian/copyright
vendored
Normal file
30
debian/copyright
vendored
Normal file
|
@ -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@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.
|
19
debian/patches/python-3.10.patch
vendored
Normal file
19
debian/patches/python-3.10.patch
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
Description: compatibility with python 3.10
|
||||
Author: Steve Langasek <steve.langasek@ubuntu.com>
|
||||
Bug-Debian: https://bugs.debian.org/1001289
|
||||
Last-Update: 2021-12-10
|
||||
Forwarded: no
|
||||
|
||||
Index: colorclass-2.2.0/colorclass/codes.py
|
||||
===================================================================
|
||||
--- colorclass-2.2.0.orig/colorclass/codes.py
|
||||
+++ colorclass-2.2.0/colorclass/codes.py
|
||||
@@ -1,7 +1,7 @@
|
||||
"""Handles mapping between color names and ANSI codes and determining auto color codes."""
|
||||
|
||||
import sys
|
||||
-from collections import Mapping
|
||||
+from collections.abc import Mapping
|
||||
|
||||
BASE_CODES = {
|
||||
'/all': 0, 'b': 1, 'f': 2, 'i': 3, 'u': 4, 'flash': 5, 'outline': 6, 'negative': 7, 'invis': 8, 'strike': 9,
|
1
debian/patches/series
vendored
Normal file
1
debian/patches/series
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
python-3.10.patch
|
4
debian/python3-colorclass.docs
vendored
Normal file
4
debian/python3-colorclass.docs
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
README.rst
|
||||
example.png
|
||||
example.py
|
||||
example_windows.png
|
14
debian/rules
vendored
Executable file
14
debian/rules
vendored
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/make -f
|
||||
#export DH_VERBOSE = 1
|
||||
|
||||
export PYBUILD_NAME=colorclass
|
||||
|
||||
export PYBUILD_BEFORE_TEST=cp example.py {build_dir}
|
||||
export PYBUILD_AFTER_TEST=rm {build_dir}/example.py
|
||||
|
||||
|
||||
%:
|
||||
dh $@ --with python3 --buildsystem pybuild
|
||||
|
||||
override_dh_compress:
|
||||
dh_compress -X example.py
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
1
debian/source/options
vendored
Normal file
1
debian/source/options
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
extend-diff-ignore="^[^/]+\.egg-info/"
|
4
debian/upstream/metadata
vendored
Normal file
4
debian/upstream/metadata
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
Bug-Database: https://github.com/Robpol86/colorclass/issues
|
||||
Bug-Submit: https://github.com/Robpol86/colorclass/issues/new
|
||||
Repository: https://github.com/Robpol86/colorclass.git
|
||||
Repository-Browse: https://github.com/Robpol86/colorclass
|
4
debian/watch
vendored
Normal file
4
debian/watch
vendored
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue