15
0

Accepting request 804899 from home:mia

This module can be used to generate web feeds in both ATOM and RSS format. It has support for extensions.

OBS-URL: https://build.opensuse.org/request/show/804899
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-feedgen?expand=0&rev=1
This commit is contained in:
Tomáš Chvátal
2020-05-13 07:50:54 +00:00
committed by Git OBS Bridge
commit ed1172fe13
5 changed files with 100 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@@ -0,0 +1 @@
.osc

3
feedgen-0.9.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eb11317df6f23f521e0eaafa11d8750f110f880a5309f709c0eef237c15229d9
size 56432

4
python-feedgen.changes Normal file
View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Wed May 6 07:50:41 UTC 2020 - Mia Herkt <mia@0x0.st>
- init, v0.9.0

69
python-feedgen.spec Normal file
View File

@@ -0,0 +1,69 @@
#
# spec file for package python-feedgen
#
# 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
# 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-feedgen
Version: 0.9.0
Release: 0
Summary: Python feed generator module (ATOM, RSS, Podcasts)
License: BSD-2-Clause AND LGPL-3.0-or-later
Group: Development/Languages/Python
URL: https://lkiesow.github.io/python-feedgen
# Use GitHub tarball as PyPI release lacks tests
Source: https://github.com/lkiesow/python-feedgen/archive/v%{version}.tar.gz#/feedgen-%{version}.tar.gz
# Source: https://files.pythonhosted.org/packages/source/f/feedgen/feedgen-%%{version}.tar.gz
BuildRequires: %{python_module bandit}
BuildRequires: %{python_module coverage}
BuildRequires: %{python_module flake8}
BuildRequires: %{python_module lxml}
BuildRequires: %{python_module python-dateutil}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-lxml
Requires: python-python-dateutil
BuildArch: noarch
%python_subpackages
%description
This module can be used to generate web feeds in both ATOM and RSS
format. It has support for extensions.
%prep
%setup -q
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py develop --user
%make_build test
%python_exec -m feedgen
%python_exec -m feedgen atom
%python_exec -m feedgen rss
%files %{python_files}
%{python_sitelib}/*
%doc readme.rst
%license license.bsd license.lgpl
%changelog