forked from pool/python-feedgenerator
Accepting request 912950 from home:benoit_monin:branches:devel:languages:python
- update to version 1.9.2 - remove fix_encoding_in_setup_py.patch: merged upstream - update the package description to match upstream readme - move the %python_subpackages macro to fix an rpmlint warning OBS-URL: https://build.opensuse.org/request/show/912950 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-feedgenerator?expand=0&rev=12
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a28a5add781509390d1a6a52d017829853ee4bef1d2e7b4d5da0e9d1b395ce54
|
|
||||||
size 25677
|
|
3
feedgenerator-1.9.2.tar.gz
Normal file
3
feedgenerator-1.9.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b06d6941e8fd6a2c9e71791079e86cbe7a3788c72244acc06f0593b49cda379b
|
||||||
|
size 28076
|
@@ -1,18 +0,0 @@
|
|||||||
--- feedgenerator-1.9.1.orig/setup.py
|
|
||||||
+++ feedgenerator-1.9.1/setup.py
|
|
||||||
@@ -3,12 +3,14 @@
|
|
||||||
# Using setuptools rather than distutils to get the `develop` command
|
|
||||||
from setuptools import setup
|
|
||||||
|
|
||||||
+# Needed to specify the encoding
|
|
||||||
+from io import open
|
|
||||||
|
|
||||||
NAME = 'feedgenerator'
|
|
||||||
PACKAGES = ['feedgenerator', 'feedgenerator.django',
|
|
||||||
'feedgenerator.django.utils']
|
|
||||||
DESCRIPTION = 'Standalone version of django.utils.feedgenerator'
|
|
||||||
-LONG_DESCRIPTION = open('README.rst').read()
|
|
||||||
+LONG_DESCRIPTION = open('README.rst', encoding='utf-8').read()
|
|
||||||
|
|
||||||
URL = "https://github.com/getpelican/feedgenerator"
|
|
||||||
|
|
@@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 18 19:16:18 UTC 2021 - Benoît Monin <benoit.monin@gmx.fr>
|
||||||
|
|
||||||
|
- update to version 1.9.2:
|
||||||
|
* Use description field as subtitle for Atom feeds, if provided
|
||||||
|
(#23)
|
||||||
|
* Update list of explicitly-supported Python versions to 3.6-3.9
|
||||||
|
- remove fix_encoding_in_setup_py.patch: merged upstream
|
||||||
|
- update the package description to match upstream readme
|
||||||
|
- move the %python_subpackages macro to fix an rpmlint warning
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 27 06:29:32 UTC 2021 - pgajdos@suse.com
|
Thu May 27 06:29:32 UTC 2021 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@@ -18,14 +18,13 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-feedgenerator
|
Name: python-feedgenerator
|
||||||
Version: 1.9.1
|
Version: 1.9.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Standalone version of django.utilsfeedgenerator, compatible with Py3k
|
Summary: Standalone version of django.utilsfeedgenerator, compatible with Py3k
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/getpelican/feedgenerator
|
URL: https://github.com/getpelican/feedgenerator
|
||||||
Source: https://files.pythonhosted.org/packages/source/f/feedgenerator/feedgenerator-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/f/feedgenerator/feedgenerator-%{version}.tar.gz
|
||||||
Patch0: fix_encoding_in_setup_py.patch
|
|
||||||
BuildRequires: %{python_module pytz}
|
BuildRequires: %{python_module pytz}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module six}
|
BuildRequires: %{python_module six}
|
||||||
@@ -34,16 +33,14 @@ BuildRequires: python-rpm-macros
|
|||||||
Requires: python-pytz
|
Requires: python-pytz
|
||||||
Requires: python-six
|
Requires: python-six
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Feedgenerator-py3k is a standalone version of Django's feedgenerator.
|
FeedGenerator is a standalone version of Django’s feedgenerator module.
|
||||||
It is based on the current Django Version 1.5.dev20120824122350.
|
It has evolved over time and includes numerous enhancements.
|
||||||
|
|
||||||
%python_subpackages
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n feedgenerator-%{version}
|
%setup -q -n feedgenerator-%{version}
|
||||||
%autopatch -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
Reference in New Issue
Block a user