From 0ffff091b1bbb8ff9bd08a5bafb894655b8649974496230371e21c7f8aad9a04 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 30 Mar 2023 07:39:30 +0000 Subject: [PATCH] - update to 0.0.4: * Minor version of accessible pygments, * Exclude "test" package from being installed. - run tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-accessible-pygments?expand=0&rev=4 --- accessible-pygments-0.0.3.tar.gz | 3 --- accessible-pygments-0.0.4-gh.tar.gz | 3 +++ python-accessible-pygments.changes | 8 ++++++++ python-accessible-pygments.spec | 16 ++++++++++------ 4 files changed, 21 insertions(+), 9 deletions(-) delete mode 100644 accessible-pygments-0.0.3.tar.gz create mode 100644 accessible-pygments-0.0.4-gh.tar.gz diff --git a/accessible-pygments-0.0.3.tar.gz b/accessible-pygments-0.0.3.tar.gz deleted file mode 100644 index fabbe43..0000000 --- a/accessible-pygments-0.0.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0917b507646a6b3393eb49091a62506f6b2a3935f5d95e4d1249dc505f8a4eae -size 12251 diff --git a/accessible-pygments-0.0.4-gh.tar.gz b/accessible-pygments-0.0.4-gh.tar.gz new file mode 100644 index 0000000..6d5dc70 --- /dev/null +++ b/accessible-pygments-0.0.4-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c53231d81bf5baf9dde7e27e8894290c1012284543128f1d3c8c28ddd95dd2b4 +size 4540933 diff --git a/python-accessible-pygments.changes b/python-accessible-pygments.changes index 82efcf8..bd5d590 100644 --- a/python-accessible-pygments.changes +++ b/python-accessible-pygments.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Mar 30 07:26:57 UTC 2023 - Dirk Müller + +- update to 0.0.4: + * Minor version of accessible pygments, + * Exclude "test" package from being installed. +- run tests + ------------------------------------------------------------------- Fri Mar 10 12:08:57 UTC 2023 - Daniel Garcia diff --git a/python-accessible-pygments.spec b/python-accessible-pygments.spec index 5d4bb9c..b15c2e3 100644 --- a/python-accessible-pygments.spec +++ b/python-accessible-pygments.spec @@ -18,20 +18,21 @@ %define modname accessible-pygments Name: python-accessible-pygments -Version: 0.0.3 +Version: 0.0.4 Release: 0 Summary: A collection of accessible pygments styles License: BSD-3-Clause URL: https://github.com/Quansight-Labs/accessible-pygments -Source: https://files.pythonhosted.org/packages/source/a/accessible-pygments/accessible-pygments-%{version}.tar.gz +Source: https://github.com/Quansight-Labs/accessible-pygments/archive/refs/tags/v%{version}.tar.gz#/accessible-pygments-%{version}-gh.tar.gz +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-pygments >= 1.5 +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module pygments >= 1.5} # /SECTION -BuildRequires: fdupes -Requires: python-pygments >= 1.5 -BuildArch: noarch %python_subpackages %description @@ -46,9 +47,12 @@ A collection of accessible pygments styles %install %python_install %python_expand rm -rf %{buildroot}%{$python_sitelib}/test - %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +export PYTHONPATH=$PWD +%python_exec test/run_tests.py + %files %{python_files} %doc README.md %license LICENSE