17
0
Files
python-podcastparser/python-podcastparser.spec
Steve Kowalik 05d3d77abe - Update to 0.6.7:
* switch from nose to pytest
  * remove nose from appveyor.yml
  * drop python 3.3
  * Adding support for itunes:type tag
  * urllib.request used over urllib for import
  * Use raw strings in regexps
  * Fix parsing cover URL on a new line
  * Support media:content tags under media:group
  * Get generator tag from RSS v2
  * Add testing on python 3.6 to 3.9, and remove 3.4 and 3.5.
  * Use VS2019 for newer versions, and 3.9 support.
  * Add media:thumbnail tests. 
- Dropped python-podcastparser-remove-nose.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-podcastparser?expand=0&rev=11
2021-09-20 04:34:03 +00:00

59 lines
1.7 KiB
RPMSpec

#
# spec file for package python-podcastparser
#
# Copyright (c) 2021 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-podcastparser
Version: 0.6.7
Release: 0
Summary: A podcast parser
License: ISC
URL: https://github.com/gpodder/podcastparser
Source: https://files.pythonhosted.org/packages/source/p/podcastparser/podcastparser-%{version}.tar.gz
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module xml}
BuildRequires: fdupes
Requires: python-xml
BuildArch: noarch
%python_subpackages
%description
The podcast parser project is a library from the gPodder project to provide a
way of parsing RSS- and Atom-based podcast feeds in Python.
%prep
%setup -q -n podcastparser-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%license LICENSE
%doc README.md
%{python_sitelib}/*
%changelog