forked from pool/python-feedgenerator
osc copypac from project:devel:languages:python:misc package:python-feedgenerator revision:1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-feedgenerator?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
28
LICENSE
Normal file
28
LICENSE
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
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.tar.gz
Normal file
3
feedgenerator-1.9.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5ae05daa9cfa47fa406ee4744d0b7fa1c8a05a7a47ee0ad328ddf55327cfb106
|
||||||
|
size 4136224
|
49
python-feedgenerator.changes
Normal file
49
python-feedgenerator.changes
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 22 18:07:14 UTC 2017 - benoit.monin@gmx.fr
|
||||||
|
|
||||||
|
- add missing BuildRequires: python-rpm-macros
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun May 7 14:09:39 UTC 2017 - benoit.monin@gmx.fr
|
||||||
|
|
||||||
|
- convert the package to singlespec
|
||||||
|
- call fdupes to fix duplicated files
|
||||||
|
- add the missing license file
|
||||||
|
- add package documentation
|
||||||
|
- list the actual files in python_sitelib
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 12 18:26:55 UTC 2016 - benoit.monin@gmx.fr
|
||||||
|
|
||||||
|
- update to version 1.9: no upstream changelog
|
||||||
|
- update project url
|
||||||
|
- update source url
|
||||||
|
- add python-pytz and python-six as BuildRequires
|
||||||
|
- run the tests
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 5 20:47:43 UTC 2016 - benoit.monin@gmx.fr
|
||||||
|
|
||||||
|
- update to version 1.8: no upstream changelog
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 27 17:28:04 UTC 2013 - benoit.monin@gmx.fr
|
||||||
|
|
||||||
|
- switch from distribute to setuptools
|
||||||
|
- remove useless CFLAGS="%{optflags}"
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 3 19:07:09 UTC 2013 - benoit.monin@gmx.fr
|
||||||
|
|
||||||
|
- update to feedgenerator 1.7
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jun 8 16:48:27 UTC 2013 - benoit.monin@gmx.fr
|
||||||
|
|
||||||
|
- update to feedgenerator 1.6
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 27 20:48:18 UTC 2013 - benoit.monin@gmx.fr
|
||||||
|
|
||||||
|
- initial package with version 1.5
|
||||||
|
|
75
python-feedgenerator.spec
Normal file
75
python-feedgenerator.spec
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-feedgenerator
|
||||||
|
#
|
||||||
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
Name: python-feedgenerator
|
||||||
|
Version: 1.9
|
||||||
|
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
|
||||||
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module pytz}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module six}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-pytz
|
||||||
|
Requires: python-six
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
Feedgenerator-py3k is a standalone version of Django's feedgenerator.
|
||||||
|
It is based on the current Django Version 1.5.dev20120824122350.
|
||||||
|
|
||||||
|
The previous feedgenerator 1.2.1 is based on rather old code, and
|
||||||
|
during the port to Python 3 it became obvious that (at least) the handling
|
||||||
|
of unicode strings has to be refactored.
|
||||||
|
|
||||||
|
Django has evolved since, so I decided to create a new standalone version
|
||||||
|
which is based upon modern code.
|
||||||
|
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n feedgenerator-%{version}
|
||||||
|
# add the missing licence
|
||||||
|
cp %{SOURCE1} LICENSE
|
||||||
|
|
||||||
|
%build
|
||||||
|
%python_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%python_install
|
||||||
|
%fdupes %{buildroot}%{_prefix}
|
||||||
|
|
||||||
|
%check
|
||||||
|
export LC_ALL=en_US.utf8
|
||||||
|
%python_exec setup.py test
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc README.rst LICENSE
|
||||||
|
%{python_sitelib}/feedgenerator-%{version}-py%{python_version}.egg-info
|
||||||
|
%{python_sitelib}/feedgenerator
|
||||||
|
|
||||||
|
%changelog
|
Reference in New Issue
Block a user