forked from pool/python-accessible-pygments
- 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
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0917b507646a6b3393eb49091a62506f6b2a3935f5d95e4d1249dc505f8a4eae
|
||||
size 12251
|
||||
3
accessible-pygments-0.0.4-gh.tar.gz
Normal file
3
accessible-pygments-0.0.4-gh.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c53231d81bf5baf9dde7e27e8894290c1012284543128f1d3c8c28ddd95dd2b4
|
||||
size 4540933
|
||||
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 30 07:26:57 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- 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 <daniel.garcia@suse.com>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user