forked from pool/python-feedparser
Accepting request 157140 from home:apersaud:branches:devel:languages:python
updated to 5.1.3 and added python3 spec file. Not sure how to submit a linkpac request to create that then will link to devel:languages:python, so it would be great, if this gets accepted also a linkpac package with the name python3-feedparser could be created. Thanks! OBS-URL: https://build.opensuse.org/request/show/157140 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-feedparser?expand=0&rev=27
This commit is contained in:
committed by
Git OBS Bridge
parent
c4f37b4a94
commit
36085a18fc
54
python3-feedparser.spec
Normal file
54
python3-feedparser.spec
Normal file
@@ -0,0 +1,54 @@
|
||||
#
|
||||
# spec file for package python3-feedparser
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products 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/
|
||||
#
|
||||
|
||||
|
||||
Name: python3-feedparser
|
||||
Version: 5.1.3
|
||||
Release: 0
|
||||
Summary: Universal Feed Parser Module for Python
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Libraries/Python
|
||||
Url: http://sourceforge.net/projects/feedparser/
|
||||
Source: feedparser-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python3
|
||||
BuildRequires: python3-2to3
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-distribute
|
||||
BuildRequires: python3-xml
|
||||
Requires: python3-xml
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
A universal feed parser module for Python that handles RSS 0.9x, RSS 1.0, RSS
|
||||
2.0, CDF, Atom 0.3, Atom 1.0 feeds.
|
||||
|
||||
%prep
|
||||
%setup -q -n feedparser-%{version}
|
||||
|
||||
%build
|
||||
python3 setup.py build
|
||||
|
||||
%install
|
||||
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE NEWS README
|
||||
%{python3_sitelib}/*
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user