[Python-modules-commits] [colorclass] 05/06: Stop building the Python 2 module

Carl Suster arcresu-guest at moszumanska.debian.org
Fri Jan 6 08:59:07 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 090ec6f7678d44b0ce01dba0fe88baa1fcf9e921
Author: Carl Suster <carl at contraflo.ws>
Date:   Thu Jan 5 13:30:54 2017 +1100

    Stop building the Python 2 module
---
 debian/control | 20 +-------------------
 debian/rules   |  2 +-
 2 files changed, 2 insertions(+), 20 deletions(-)

diff --git a/debian/control b/debian/control
index 6ff20b2..fcff0e3 100644
--- a/debian/control
+++ b/debian/control
@@ -5,8 +5,6 @@ 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
@@ -14,28 +12,12 @@ 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
+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.
  .
diff --git a/debian/rules b/debian/rules
index ad062c6..d4b23db 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,4 +5,4 @@ export PYBUILD_NAME=colorclass
 
 
 %:
-	dh $@ --with python2,python3 --buildsystem pybuild
+	dh $@ --with python3 --buildsystem pybuild

-- 
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