15
0

Accepting request 812935 from home:pgajdos:python

- fix testing, use %pytest macro

OBS-URL: https://build.opensuse.org/request/show/812935
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-feedgen?expand=0&rev=3
This commit is contained in:
Tomáš Chvátal
2020-06-10 08:05:41 +00:00
committed by Git OBS Bridge
parent 023445e6c9
commit 82a465c904
2 changed files with 7 additions and 8 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 9 13:34:40 UTC 2020 - pgajdos@suse.com
- fix testing, use %pytest macro
-------------------------------------------------------------------
Wed May 6 07:50:41 UTC 2020 - Mia Herkt <mia@0x0.st>

View File

@@ -27,10 +27,8 @@ URL: https://lkiesow.github.io/python-feedgen
# Use GitHub tarball as PyPI release lacks tests
Source: https://github.com/lkiesow/python-feedgen/archive/v%{version}.tar.gz#/feedgen-%{version}.tar.gz
# Source: https://files.pythonhosted.org/packages/source/f/feedgen/feedgen-%%{version}.tar.gz
BuildRequires: %{python_module bandit}
BuildRequires: %{python_module coverage}
BuildRequires: %{python_module flake8}
BuildRequires: %{python_module lxml}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-dateutil}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -55,11 +53,7 @@ format. It has support for extensions.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py develop --user
%make_build test
%python_exec -m feedgen
%python_exec -m feedgen atom
%python_exec -m feedgen rss
%pytest
%files %{python_files}
%{python_sitelib}/*