forked from pool/python-feedgenerator
Accepting request 774230 from home:benoit_monin:branches:devel:languages:python
- update to version 1.9.1 - remove separate license file: now included in source tarball - add fix_encoding_in_setup_py.patch to fix build failure OBS-URL: https://build.opensuse.org/request/show/774230 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-feedgenerator?expand=0&rev=8
This commit is contained in:
parent
5a8867f514
commit
7f68697ca0
28
LICENSE
28
LICENSE
@ -1,28 +0,0 @@
|
||||
Copyright (c) Django Software Foundation and individual contributors.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification,
|
||||
are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice,
|
||||
this list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
|
||||
3. Neither the name of Django nor the names of its contributors may be used
|
||||
to endorse or promote products derived from this software without
|
||||
specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
||||
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
3
feedgenerator-1.9.1.tar.gz
Normal file
3
feedgenerator-1.9.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a28a5add781509390d1a6a52d017829853ee4bef1d2e7b4d5da0e9d1b395ce54
|
||||
size 25677
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5ae05daa9cfa47fa406ee4744d0b7fa1c8a05a7a47ee0ad328ddf55327cfb106
|
||||
size 4136224
|
18
fix_encoding_in_setup_py.patch
Normal file
18
fix_encoding_in_setup_py.patch
Normal file
@ -0,0 +1,18 @@
|
||||
--- 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,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 9 20:10:45 UTC 2020 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- update to version 1.9.1:
|
||||
* Remove unnecessary files from source distribution
|
||||
* Update PyPI classifiers
|
||||
- remove separate license file: now included in source tarball
|
||||
- add fix_encoding_in_setup_py.patch to fix build failure
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 6 13:27:23 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-feedgenerator
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -18,14 +18,14 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-feedgenerator
|
||||
Version: 1.9
|
||||
Version: 1.9.1
|
||||
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
|
||||
Source1: https://raw.githubusercontent.com/getpelican/feedgenerator/master/LICENSE
|
||||
Patch0: fix_encoding_in_setup_py.patch
|
||||
BuildRequires: %{python_module pytz}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
@ -43,8 +43,7 @@ It is based on the current Django Version 1.5.dev20120824122350.
|
||||
|
||||
%prep
|
||||
%setup -q -n feedgenerator-%{version}
|
||||
# add the missing licence
|
||||
cp %{SOURCE1} LICENSE
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
Loading…
x
Reference in New Issue
Block a user