forked from pool/python-feedgenerator
- update to version 2.2.1
- change documentation to README.md to match upstream OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-feedgenerator?expand=0&rev=23
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
|
3
feedgenerator-2.1.0.tar.gz
Normal file
3
feedgenerator-2.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f075f23f28fd227f097c36b212161c6cf012e1c6caaf7ff53d5d6bb02cd42b9d
|
||||
size 20682
|
3
feedgenerator-2.2.0.tar.gz
Normal file
3
feedgenerator-2.2.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2976f6ccc5989a967202da343ea145c21aedabbe0035c7088d64ba0aa9725a60
|
||||
size 20309
|
3
feedgenerator-2.2.1.tar.gz
Normal file
3
feedgenerator-2.2.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0eaa955f1f0bcb5b87ac195af740f06ff9fff4a40ed30b8a7c6bbebb264d4dd1
|
||||
size 20872
|
149
python-feedgenerator.changes
Normal file
149
python-feedgenerator.changes
Normal file
@@ -0,0 +1,149 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 17 21:02:40 UTC 2025 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- update to version 2.2.1:
|
||||
* Restore missing content property to default item dictionary
|
||||
- change documentation to README.md to match upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 14 17:40:27 UTC 2025 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- update to version 2.2.0:
|
||||
* Update to latest upstream code from Django 5.2
|
||||
* Remove pytz as a dependency on non-Windows systems
|
||||
* Use standardized pyproject file
|
||||
* Drop support for EOL Python 3.7 & 3.8
|
||||
- require python >= 3.9
|
||||
- add hatchling and remove setuptools and wheel as build dependency
|
||||
- drop pytz runtime requirement, it is still needed for the test
|
||||
during the build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 27 11:41:14 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to pip-based build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 14 16:28:32 UTC 2023 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- update to version 2.1.0:
|
||||
* Modernize and improve tests (#32 & #34 — thanks to @venthur)
|
||||
* Drop support for Python 3.6 and test on 3.10 & 3.11
|
||||
(#35 — thanks to @hugovk)
|
||||
* Exclude tests_feedgenerator/__pycache__ from distribution
|
||||
(#33 — thanks to @BenSturmfels)
|
||||
- require python >= 3.7
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 15 09:38:31 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Remove python-six dependency
|
||||
- Remove python_module macro definition
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- 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
|
||||
|
||||
- %check: use %pyunittest macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- Fix fdupes call
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 12:47:56 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Remove superfluous devel dependency for noarch package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 24 10:23:52 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Strip history lesson from description.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 21 13:29:01 UTC 2018 - Matěj Cepl <mcepl@suse.com>
|
||||
|
||||
- Fix SPEC file with spec-cleaner.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
62
python-feedgenerator.spec
Normal file
62
python-feedgenerator.spec
Normal file
@@ -0,0 +1,62 @@
|
||||
#
|
||||
# spec file for package python-feedgenerator
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# 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 https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: python-feedgenerator
|
||||
Version: 2.2.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
|
||||
BuildRequires: %{python_module base >= 3.9}
|
||||
BuildRequires: %{python_module hatchling}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module pytz}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
FeedGenerator is a standalone version of Django’s feedgenerator module.
|
||||
It has evolved over time and includes numerous enhancements.
|
||||
|
||||
%prep
|
||||
%setup -q -n feedgenerator-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
export LC_ALL=en_US.utf8
|
||||
# skip coverage by using an empty configuration file
|
||||
%pytest -c /dev/null
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{python_sitelib}/feedgenerator-%{version}*-info
|
||||
%{python_sitelib}/feedgenerator
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user