commit 716e77e049912ec0e0fde8214670f39d8479731c Author: Adrian Schröter Date: Thu Oct 19 02:23:44 2023 +0200 Sync from SUSE:ALP:Source:Standard:1.0 python-pygments-ansi-color revision 476a95e45805367eca0b6b84aa9d823f diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/python-pygments-ansi-color.changes b/python-pygments-ansi-color.changes new file mode 100644 index 0000000..fcf2dc2 --- /dev/null +++ b/python-pygments-ansi-color.changes @@ -0,0 +1,42 @@ +------------------------------------------------------------------- +Thu Sep 7 11:46:08 UTC 2023 - Dirk Müller + +- update to 0.3.0: + * Set default style theme + * update tests + +------------------------------------------------------------------- +Wed May 10 06:21:02 UTC 2023 - Dirk Müller + +- update to 0.2.0: + * Implementation of bright colors + * documentation, CI, test fixes + +------------------------------------------------------------------- +Fri Apr 21 12:30:48 UTC 2023 - Dirk Müller + +- add sle15_python_module_pythons (jsc#PED-68) + +------------------------------------------------------------------- +Wed Oct 12 14:17:24 UTC 2022 - Yogalakshmi Arunachalam + +- Update to version 0.1.0 + No upstream changelog + +------------------------------------------------------------------- +Fri Mar 20 10:41:33 UTC 2020 - Marketa Calabkova + +- 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 + +- Update to 0.0.3: + * minor color tweaks + +------------------------------------------------------------------- +Fri Feb 15 10:39:13 UTC 2019 - Tomáš Chvátal + +- Initial commit, used by pygments-pytest diff --git a/python-pygments-ansi-color.spec b/python-pygments-ansi-color.spec new file mode 100644 index 0000000..14e8b22 --- /dev/null +++ b/python-pygments-ansi-color.spec @@ -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 diff --git a/v0.3.0.tar.gz b/v0.3.0.tar.gz new file mode 100644 index 0000000..e180753 --- /dev/null +++ b/v0.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77ca4d7e436863f198a7754385493e2c2506168c4685d16bf86dd91948a4841c +size 10062