Accepting request 1085937 from devel:languages:python
- Actually run the testsuite. - Add a missing Requires on python-rich OBS-URL: https://build.opensuse.org/request/show/1085937 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-enrich?expand=0&rev=3
This commit is contained in:
commit
ace05ae778
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 10 02:46:11 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Actually run the testsuite.
|
||||||
|
- Add a missing Requires on python-rich
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 5 11:56:47 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
Fri May 5 11:56:47 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||||
|
|
||||||
|
@ -27,9 +27,13 @@ URL: https://github.com/pycontribs/enrich
|
|||||||
Source: https://files.pythonhosted.org/packages/source/e/enrich/enrich-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/e/enrich/enrich-%{version}.tar.gz
|
||||||
Patch0: remove_setuptools_scm.patch
|
Patch0: remove_setuptools_scm.patch
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module pytest-mock}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module rich}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-rich
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -38,8 +42,7 @@ Extends the python-rich library functionality
|
|||||||
with a set of changes that were not accepted to rich itself.
|
with a set of changes that were not accepted to rich itself.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n enrich-%{version}
|
%autosetup -p1 -n enrich-%{version}
|
||||||
%patch0 -p1
|
|
||||||
sed -i 's/__VERSION__/%version/' setup.py
|
sed -i 's/__VERSION__/%version/' setup.py
|
||||||
sed -i '/_scm/ d' setup.cfg
|
sed -i '/_scm/ d' setup.cfg
|
||||||
|
|
||||||
@ -50,7 +53,12 @@ sed -i '/_scm/ d' setup.cfg
|
|||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%check
|
||||||
|
# gh#pycontribs/enrich#40
|
||||||
|
%pytest -k 'not test_rich_console_ex'
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%{python_sitelib}/enrich*
|
%{python_sitelib}/enrich
|
||||||
|
%{python_sitelib}/enrich-%{version}*info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user