diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-14 20:18:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-14 20:18:29 +0000 |
commit | 20296bbda1d66034bd8bbe26c79b84a045750569 (patch) | |
tree | 5323983a422edc16ef69493d893f99dc4a0d9fb3 | |
parent | Adding upstream version 9.11.0. (diff) | |
download | rich-20296bbda1d66034bd8bbe26c79b84a045750569.tar.xz rich-20296bbda1d66034bd8bbe26c79b84a045750569.zip |
Adding debian version 9.11.0-1.debian/9.11.0-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r-- | debian/changelog | 68 | ||||
-rw-r--r-- | debian/control | 54 | ||||
-rw-r--r-- | debian/copyright | 38 | ||||
-rw-r--r-- | debian/gbp.conf | 3 | ||||
-rw-r--r-- | debian/python3-rich.docs | 1 | ||||
-rw-r--r-- | debian/python3-rich.examples | 1 | ||||
-rwxr-xr-x | debian/rules | 12 | ||||
-rw-r--r-- | debian/setup.py | 43 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/source/options | 1 | ||||
-rw-r--r-- | debian/watch | 3 |
11 files changed, 225 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..1473815 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,68 @@ +rich (9.11.0-1) unstable; urgency=medium + + * New upstream release + + -- Sandro Tosi <morph@debian.org> Wed, 17 Feb 2021 23:41:59 -0500 + +rich (9.9.0-1) unstable; urgency=medium + + * New upstream release + + -- Sandro Tosi <morph@debian.org> Wed, 27 Jan 2021 00:14:21 -0500 + +rich (9.8.1-1) unstable; urgency=medium + + * New upstream release + + -- Sandro Tosi <morph@debian.org> Wed, 13 Jan 2021 23:50:37 -0500 + +rich (9.6.1-1) unstable; urgency=medium + + * New upstream release + * Use the new Debian Python Team contact name and address + * debian/copyright + - extend packaging copyright years + - update upstream copyright notices + - wrap MIT license text + * debian/control + - bump Standards-Version to 4.5.1 (no changes needed) + + -- Sandro Tosi <morph@debian.org> Wed, 06 Jan 2021 23:47:43 -0500 + +rich (9.1.0-1) unstable; urgency=medium + + * New upstream release + + -- Sandro Tosi <morph@debian.org> Sun, 25 Oct 2020 21:37:56 -0400 + +rich (8.0.0-2) unstable; urgency=medium + + * debian/control + - use versioned b-d to match what's in setup.py + * debian/rules + - run all tests, now that b-d are at the right version + + -- Sandro Tosi <morph@debian.org> Fri, 09 Oct 2020 16:57:40 -0400 + +rich (8.0.0-1) unstable; urgency=medium + + [ Ondřej Nový ] + * d/control: Update Vcs-* fields with new Debian Python Team Salsa + layout. + + [ Sandro Tosi ] + * New upstream release + * debian/watch + - track github for releases + * debian/setup.py + - refresh from pyproject.toml + * debian/rules + - skip failing test (issues/360) + + -- Sandro Tosi <morph@debian.org> Wed, 07 Oct 2020 23:25:31 -0400 + +rich (1.3.1-1) unstable; urgency=low + + * Initial release; Closes: #954301 + + -- Sandro Tosi <morph@debian.org> Thu, 04 Jun 2020 05:51:44 +0000 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..2b82374 --- /dev/null +++ b/debian/control @@ -0,0 +1,54 @@ +Source: rich +Section: python +Priority: optional +Maintainer: Sandro Tosi <morph@debian.org> +Uploaders: Debian Python Team <team+python@tracker.debian.org>, +Build-Depends: debhelper-compat (= 13), + dh-python, + python3-all, + python3-commonmark (>= 0.9.0), + python3-colorama (>= 0.4.0), + python3-mypy (>= 0.782), + python3-pygments (>= 2.6.0), + python3-pytest, + python3-setuptools, + python3-typing-extensions (>= 3.7.4), +Standards-Version: 4.5.1 +Homepage: https://github.com/willmcgugan/rich +Vcs-Git: https://salsa.debian.org/python-team/packages/rich.git +Vcs-Browser: https://salsa.debian.org/python-team/packages/rich + +Package: python3-rich +Architecture: all +Depends: ${misc:Depends}, + ${python3:Depends}, +Recommends: ${python3:Recommends}, +Suggests: ${python3:Suggests}, +Description: render rich text, tables, progress bars, syntax highlighting, markdown and more + Rich is a Python library for rich text and beautiful formatting in the + terminal. + . + The Rich API makes it easy to add color and style to terminal output. Rich can + also render pretty tables, progress bars, markdown, syntax highlighted source + code, tracebacks, and more — out of the box. + . + Here's a list of the core functionalities of rich: + . + * to effortlessly add rich output to your application, you can import the rich + print method, which has the same signature as the builtin Python function + * Rich can be installed in the Python REPL, so that any data structures will + be pretty printed and highlighted + * for more control over rich terminal content, import and construct a Console + object. The Console object has a print method which has an intentionally + similar interface to the builtin print function + * to insert an emoji in to console output place the name between two colons + * Rich can render flexible tables with unicode box characters. There is a + large variety of formatting options for borders, styles, cell alignment etc + * Rich can render multiple flicker-free progress bars to track long-running + tasks. + * Rich can render content in neat columns with equal or optimal width. + * Rich can render markdown and does a reasonable job of translating the + formatting to the terminal + * Rich can render beautiful tracebacks which are easier to read and show more + code than standard Python tracebacks. You can set Rich as the default + traceback handler so all uncaught exceptions will be rendered by Rich. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..d98e964 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,38 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: rich +Upstream-Contact: Will McGugan <willmcgugan@gmail.com> +Source: https://github.com/willmcgugan/rich + +Files: * +Copyright: 2020 Will McGugan +License: MIT + +Files: rich/_spinners.py +Copyright: (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com) +License: MIT +Comment: from cli-spinners + +Files: debian/* +Copyright: 2020-2021 © Sandro Tosi <morph@debian.org> +License: MIT + +License: MIT + Copyright 2020 Will McGugan + . + 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..47fe321 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,3 @@ +[DEFAULT] +pristine-tar = True +debian-branch = debian/master diff --git a/debian/python3-rich.docs b/debian/python3-rich.docs new file mode 100644 index 0000000..b43bf86 --- /dev/null +++ b/debian/python3-rich.docs @@ -0,0 +1 @@ +README.md diff --git a/debian/python3-rich.examples b/debian/python3-rich.examples new file mode 100644 index 0000000..e39721e --- /dev/null +++ b/debian/python3-rich.examples @@ -0,0 +1 @@ +examples/* diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..553fbff --- /dev/null +++ b/debian/rules @@ -0,0 +1,12 @@ +#! /usr/bin/make -f + +export PYBUILD_NAME=rich + +%: + dh $@ --with python3 --buildsystem=pybuild + +override_dh_auto_install: + PYBUILD_SYSTEM=custom PYBUILD_INSTALL_ARGS="{interpreter} debian/setup.py install --root={destdir}" dh_auto_install + +override_dh_auto_test: + PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="PYTHONPATH=$(CURDIR) {interpreter} -m pytest" dh_auto_test diff --git a/debian/setup.py b/debian/setup.py new file mode 100644 index 0000000..e564ff9 --- /dev/null +++ b/debian/setup.py @@ -0,0 +1,43 @@ + +# -*- coding: utf-8 -*- + +# DO NOT EDIT THIS FILE! +# This file has been autogenerated by dephell <3 +# https://github.com/dephell/dephell +# +# dephell deps convert --from-format=poetry --from-path=pyproject.toml --to-format=setuppy --to-path=debian/setup.py + + +try: + from setuptools import setup +except ImportError: + from distutils.core import setup + + +import os.path + +readme = '' +here = os.path.abspath(os.path.dirname(__file__)) +readme_path = os.path.join(here, 'README.rst') +if os.path.exists(readme_path): + with open(readme_path, 'rb') as stream: + readme = stream.read().decode('utf8') + + +setup( + long_description=readme, + name='rich', + version='8.0.0', + description='Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal', + python_requires='==3.*,>=3.6.0', + project_urls={"documentation": "https://rich.readthedocs.io/en/latest/", "homepage": "https://github.com/willmcgugan/rich"}, + author='Will McGugan', + author_email='willmcgugan@gmail.com', + license='MIT', + classifiers=['Development Status :: 5 - Production/Stable', 'Environment :: Console', 'Intended Audience :: Developers', 'Operating System :: Microsoft :: Windows', 'Operating System :: MacOS', 'Operating System :: POSIX :: Linux', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8'], + packages=['rich'], + package_dir={"": "."}, + package_data={"rich": ["*.typed"]}, + install_requires=['colorama==0.*,>=0.4.0', 'commonmark==0.*,>=0.9.0', 'dataclasses==0.*,>=0.7.0; python_version == "3.6.*" and python_version >= "3.6.0"', 'pygments==2.*,>=2.6.0', 'typing-extensions==3.*,>=3.7.4'], + extras_require={"jupyter": ["ipywidgets==7.*,>=7.5.1"]}, +) 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..d81db3f --- /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..8aa5f40 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=4 +opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%rich-$1.tar.gz%" \ +https://github.com/willmcgugan/rich/tags (?:.*?/)?v?(\d[\d.]*)\.tar\.gz |