debian/0000775000000000000000000000000012502132042007157 5ustar debian/control0000664000000000000000000000466712502130726010606 0ustar Source: python-colorama Section: python Priority: optional Maintainer: Khalid El Fathi Build-Depends: debhelper (>= 9.0.0), python (>= 2.6.6-3~), python-setuptools, python3, python3-all, python3-setuptools, python3-wheel Standards-Version: 3.9.5 Homepage: http://pypi.python.org/pypi/colorama/ Vcs-Git: git://git.debian.org/collab-maint/python-colorama.git Vcs-Browser: http://git.debian.org/?p=collab-maint/python-colorama.git;a=summary X-Python-Version: >= 2.5 X-Python3-Version: >= 3.3 Package: python-colorama Architecture: all Depends: ${misc:Depends}, ${python:Depends} Description: Cross-platform colored terminal text in Python - Python 2.x Python-colorama provides a simple cross-platform API to print colored terminal text from Python applications. . ANSI escape character sequences are commonly used to produce colored terminal text on Unix. Colorama provides some shortcuts to generate these sequences. . This has the happy side-effect that existing applications or libraries which already use ANSI sequences to produce colored output on Linux. . This package provides the module for Python 2.x. Package: python3-colorama Architecture: all Depends: ${misc:Depends}, ${python3:Depends} Description: Cross-platform colored terminal text in Python - Python 3.x Python-colorama provides a simple cross-platform API to print colored terminal text from Python applications. . ANSI escape character sequences are commonly used to produce colored terminal text on Unix. Colorama provides some shortcuts to generate these sequences. . This has the happy side-effect that existing applications or libraries which already use ANSI sequences to produce colored output on Linux. . This package provides the module for Python 2.x. Package: python-colorama-whl Architecture: all Depends: ${misc:Depends}, ${python3:Depends} Description: Cross-platform colored terminal text in Python - Wheels Python-colorama provides a simple cross-platform API to print colored terminal text from Python applications. . ANSI escape character sequences are commonly used to produce colored terminal text on Unix. Colorama provides some shortcuts to generate these sequences. . This has the happy side-effect that existing applications or libraries which already use ANSI sequences to produce colored output on Linux. . This package provides the universal wheels. debian/source/0000775000000000000000000000000011725452303010472 5ustar debian/source/format0000664000000000000000000000001411725452303011700 0ustar 3.0 (quilt) debian/dirs0000664000000000000000000000004711725452303010057 0ustar usr/share/doc/python-colorama/examples debian/patches/0000775000000000000000000000000012502132011010602 5ustar debian/patches/use-setuptools.diff0000664000000000000000000000066412502132011014455 0ustar Index: b/setup.py =================================================================== --- a/setup.py +++ b/setup.py @@ -1,7 +1,13 @@ #!/usr/bin/env python from os.path import dirname, join -from distutils.core import setup + +# just build the wheel using setuptools +import os +if os.getenv("USE_SETUPTOOLS") == "yes": + from setuptools import setup +else: + from distutils.core import setup from colorama import VERSION debian/patches/series0000664000000000000000000000002412502131110012012 0ustar use-setuptools.diff debian/rules0000775000000000000000000000165712502131741010255 0ustar #!/usr/bin/make -f PYTHONS:=$(shell pyversions -vr) PYTHON3S:=$(shell py3versions -vr) %: dh $@ --buildsystem=python_distutils --with python2,python3 override_dh_installexamples: cp -r $(CURDIR)/demos/* $(CURDIR)/debian/python-colorama/usr/share/doc/python-colorama/examples/ rm $(CURDIR)/debian/python-colorama/usr/share/doc/python-colorama/examples/*.bat override_dh_auto_install: set -e && for pyvers in $(PYTHONS); do \ python$$pyvers setup.py install --install-layout=deb \ --root $(CURDIR)/debian/python-colorama; \ done set -e && for pyvers in $(PYTHON3S); do \ python$$pyvers setup.py install --install-layout=deb \ --root $(CURDIR)/debian/python3-colorama; \ done mkdir -p $(CURDIR)/debian/tmp/usr/share/python-wheels USE_SETUPTOOLS=yes python3 setup.py bdist_wheel \ --universal \ -d $(CURDIR)/debian/tmp/usr/share/python-wheels override_dh_clean: dh_clean -O--buildsystem=python_distutils rm -rf build debian/copyright0000664000000000000000000000477512225653551011146 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: python-colorama Source: http://pypi.python.org/pypi/colorama/ Files: * Copyright: © 2010 Jonathan Hartley License: BSD-3 All rights reserved. . Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name(s) of the copyright holders nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: debian/* Copyright: © 2012 Khalid El Fathi License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/compat0000664000000000000000000000000211725452303010370 0ustar 9 debian/changelog0000664000000000000000000000233112502130624011034 0ustar python-colorama (0.2.5-0.1ubuntu2) trusty-proposed; urgency=medium * SRU, update python3.4 for trusty. LP: #1433324. * Build a python-colorama-whl package (using setuptools). -- Matthias Klose Tue, 17 Mar 2015 23:57:24 +0100 python-colorama (0.2.5-0.1ubuntu1) trusty; urgency=medium * Build-depend on python3-all. -- Matthias Klose Wed, 12 Feb 2014 16:31:14 +0100 python-colorama (0.2.5-0.1) unstable; urgency=low * Non-maintainer upload. * New upstream release (Closes: #704892). * Added support for python3 (Closes: #717789, #704893), and include the corresponding python3 and python3-setuptools build-depends. * Added missing build-depends: python{3,}-setuptools. -- Thomas Goirand Thu, 25 Jul 2013 14:41:38 +0800 python-colorama (0.2.4-1.1) unstable; urgency=low * Non-maintainer upload. * Use dh_python2. Build-Depend on python (>= 2.6.6-3~) for that. Add python:Depends to Depends. Closes: #681584 -- Evgeni Golov Tue, 17 Jul 2012 08:52:08 +0200 python-colorama (0.2.4-1) unstable; urgency=low * Initial release (Closes: #662761) -- Khalid El Fathi Tue, 06 Mar 2012 14:43:32 +0100 debian/README.Debian0000664000000000000000000000043711725452303011237 0ustar python-colorama for Debian -------------------------- It is possible to find more documentation at http://pypi.python.org/pypi/colorama Demo script are installed under /usr/share/doc/python-colorama/examples/. -- Khalid El Fathi Tue, 06 Mar 2012 09:27:44 +0100 debian/python-colorama-whl.install0000664000000000000000000000003012502130726014453 0ustar usr/share/python-wheels debian/docs0000664000000000000000000000001311725452303010037 0ustar README.txt debian/watch0000664000000000000000000000012311725452303010217 0ustar version=3 http://pypi.python.org/packages/source/c/colorama/colorama-(.*)\.tar\.gz