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