From 4a92399fc3cff8fceda09a9a77f4a664945347e286ea6070a41de9d3a35e170f Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Mon, 5 Dec 2016 08:25:48 +0000 Subject: [PATCH] Accepting request 443765 from home:fstrba package podcastparser OBS-URL: https://build.opensuse.org/request/show/443765 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-podcastparser?expand=0&rev=1 --- .gitattributes | 24 ++++++++++++++ .gitignore | 4 +++ podcastparser-0.6.0.tar.gz | 3 ++ python-podcastparser.changes | 5 +++ python-podcastparser.spec | 63 ++++++++++++++++++++++++++++++++++++ 5 files changed, 99 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 podcastparser-0.6.0.tar.gz create mode 100644 python-podcastparser.changes create mode 100644 python-podcastparser.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..37a8eaa --- /dev/null +++ b/.gitattributes @@ -0,0 +1,24 @@ +*.changes merge=merge-changes +*.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 +*.tar 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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8b731c3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.obscpio +*.osc +_build.* +.pbuild diff --git a/podcastparser-0.6.0.tar.gz b/podcastparser-0.6.0.tar.gz new file mode 100644 index 0000000..6751116 --- /dev/null +++ b/podcastparser-0.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f760843e75eb14ae9596727447e58cf5ce1e62f33f88a2381af9963c46534d56 +size 18055 diff --git a/python-podcastparser.changes b/python-podcastparser.changes new file mode 100644 index 0000000..668cfe9 --- /dev/null +++ b/python-podcastparser.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Mon Dec 5 07:46:05 UTC 2016 - fstrba@suse.com + +- Initial release of python-podcastparser 0.6.0 + diff --git a/python-podcastparser.spec b/python-podcastparser.spec new file mode 100644 index 0000000..44b3eb5 --- /dev/null +++ b/python-podcastparser.spec @@ -0,0 +1,63 @@ +# +# spec file for package python-podcastparser +# +# Copyright (c) 2016 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/ +# + + +%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 +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 +Requires: python-xml +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%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} + +%build +python setup.py build + +%if 0%{?suse_version} > 1010 +%check +python test_%{pkgname}.py +%endif + +%install +python setup.py install --prefix=%{_prefix} --root=%{buildroot} + +%files +%defattr(-,root,root) +%doc LICENSE README.md +%{python_sitelib}/* + +%changelog