Sync from SUSE:SLFO:Main python-pygments-ansi-color revision 476a95e45805367eca0b6b84aa9d823f

This commit is contained in:
Adrian Schröter 2024-05-03 22:09:49 +02:00
commit 088c07b3ad
4 changed files with 128 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

View File

@ -0,0 +1,42 @@
-------------------------------------------------------------------
Thu Sep 7 11:46:08 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.3.0:
* Set default style theme
* update tests
-------------------------------------------------------------------
Wed May 10 06:21:02 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.2.0:
* Implementation of bright colors
* documentation, CI, test fixes
-------------------------------------------------------------------
Fri Apr 21 12:30:48 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add sle15_python_module_pythons (jsc#PED-68)
-------------------------------------------------------------------
Wed Oct 12 14:17:24 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 0.1.0
No upstream changelog
-------------------------------------------------------------------
Fri Mar 20 10:41:33 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- Update to 0.0.5
* Replace hardcoded 256 color palette with some math
* Add support for faint
-------------------------------------------------------------------
Mon Sep 9 14:14:19 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 0.0.3:
* minor color tweaks
-------------------------------------------------------------------
Fri Feb 15 10:39:13 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Initial commit, used by pygments-pytest

View File

@ -0,0 +1,60 @@
#
# spec file for package python-pygments-ansi-color
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-pygments-ansi-color
Version: 0.3.0
Release: 0
Summary: ANSI color-code highlighting for Pygments
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/chriskuehl/pygments-ansi-color
Source: https://github.com/chriskuehl/pygments-ansi-color/archive/v%{version}.tar.gz
BuildRequires: %{python_module pygments}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
Requires: python-pygments
BuildRequires: python-rpm-macros
Requires: python-setuptools
BuildRequires: fdupes
BuildArch: noarch
%python_subpackages
%description
An ANSI color-code highlighting lexer for Pygments.
%prep
%setup -q -n pygments-ansi-color-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v
%files %{python_files}
%license LICENSE
%doc README.md
%{python_sitelib}/*
%changelog

BIN
v0.3.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.