15
0

Accepting request 704279 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/704279
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-podcastparser?expand=0&rev=2
This commit is contained in:
2019-05-22 09:14:45 +00:00
committed by Git OBS Bridge
4 changed files with 34 additions and 31 deletions

View File

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

View File

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

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon May 20 14:27:09 UTC 2019 - pgajdos@suse.com
- version update to 0.6.4
* no upstream changelog
- convert to single spec
- run the testsuite
-------------------------------------------------------------------
Mon Dec 5 07:46:05 UTC 2016 - fstrba@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-podcastparser
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 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
@@ -12,52 +12,47 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%global pkgname podcastparser
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
Name: python-%{pkgname}
Version: 0.6.0
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-podcastparser
Version: 0.6.4
Release: 0
Summary: Simple, fast and efficient podcast parser
License: ISC
Group: Development/Libraries/Python
Url: http://gpodder.org/%{pkgname}/
Source: http://gpodder.org/%{pkgname}/%{pkgname}-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-nose
BuildRequires: python-setuptools
BuildRequires: python-xml
URL: https://github.com/gpodder/podcastparser
Source: https://files.pythonhosted.org/packages/source/p/podcastparser/podcastparser-%{version}.tar.gz
BuildRequires: %{python_module nose}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module xml}
BuildRequires: fdupes
Requires: python-xml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
%description
The podcast parser project is a library from the gPodder project to provide an
easy and reliable way of parsing RSS- and Atom-based podcast feeds in Python.
%prep
%setup -q -n %{pkgname}-%{version}
%setup -q -n podcastparser-%{version}
%build
python setup.py build
%if 0%{?suse_version} > 1010
%check
python test_%{pkgname}.py
%endif
%python_build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files
%defattr(-,root,root)
%doc LICENSE README.md
%check
%python_expand nosetests-%{$python_bin_suffix}
%files %{python_files}
%license LICENSE
%doc README.md
%{python_sitelib}/*
%changelog