Accepting request 922075 from home:benoit_monin:branches:devel:languages:python
- udpate to version 2.0.0 - skip python2 build: support dropped from upstream - add pytest to the BuildRequires: needed for the tests now - run the tests with pytest but skip coverage generation OBS-URL: https://build.opensuse.org/request/show/922075 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-feedgenerator?expand=0&rev=13
This commit is contained in:
parent
a9b31c5674
commit
a6d6add484
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b06d6941e8fd6a2c9e71791079e86cbe7a3788c72244acc06f0593b49cda379b
|
||||
size 28076
|
3
feedgenerator-2.0.0.tar.gz
Normal file
3
feedgenerator-2.0.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6836d456b8b0edbc5b6d3a42d1be852cebd43d2f28af4ff51789eb295f1860e2
|
||||
size 23093
|
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 28 20:24:30 UTC 2021 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- udpate to version 2.0.0:
|
||||
* Add preliminary support for adding images to feeds
|
||||
* Update code for Python 3.6+
|
||||
* Drop support for Python 2.7
|
||||
* Fix double subtitles if both description & subtitle are
|
||||
provided
|
||||
- skip python2 build: support dropped from upstream
|
||||
- add pytest to the BuildRequires: needed for the tests now
|
||||
- run the tests with pytest but skip coverage generation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 18 19:16:18 UTC 2021 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
|
@ -16,15 +16,17 @@
|
||||
#
|
||||
|
||||
|
||||
%define skip_python2 1
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-feedgenerator
|
||||
Version: 1.9.2
|
||||
Version: 2.0.0
|
||||
Release: 0
|
||||
Summary: Standalone version of django.utilsfeedgenerator, compatible with Py3k
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/getpelican/feedgenerator
|
||||
Source: https://files.pythonhosted.org/packages/source/f/feedgenerator/feedgenerator-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module pytz}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
@ -51,7 +53,8 @@ It has evolved over time and includes numerous enhancements.
|
||||
|
||||
%check
|
||||
export LC_ALL=en_US.utf8
|
||||
%pyunittest discover -v
|
||||
# skip coverage by using an empty configuration file
|
||||
%pytest -c /dev/null
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
Loading…
x
Reference in New Issue
Block a user