LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File python-perceval.spec of Package python-perceval (Project home:cyberiad)

#
# spec file for package python-perceval
#
# Copyright (c) 2017 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/


Name:           python-perceval
Version:        0.9.0
Release:        0
License:        GPL-3.0
Summary:        Fetch data from software repositories
Url:            https://github.com/grimoirelab/perceval
Group:          Development/Languages/Python
Source0:         https://pypi.python.org/packages/8a/19/db58875e3e07c752b8de044a8b957c5a17d65ed03e050be3efc87ce72e87/perceval-%{version}.tar.gz
BuildRequires:  python3-devel
BuildRequires:  python3-setuptools
BuildRequires:  python3-beautifulsoup4 >= 4.3.2
BuildRequires:  python3-feedparser >= 5.1.3
BuildRequires:  python3-dateutil >= 2.0.0
BuildRequires:  python3-requests >= 2.7.0
BuildRequires:  fdupes
Requires:       python3-beautifulsoup4 >= 4.3.2
Requires:       python3-feedparser >= 5.1.3
Requires:       python3-dateutil >= 2.0.0
Requires:       python3-requests >= 2.7.0
Requires:       python-grimoirelab-toolkit
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
Send Sir Perceval on a quest to retrieve and gather data from software
repositories like bugzilla, git, github, mediawiki, mbox, rss, etc.


%prep
%setup -q -n perceval-%{version}

%build
python3 setup.py build

%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
%fdupes -s %{buildroot}/%{python_sitelib}

%files
%defattr(-,root,root,-)
%doc README.md
%{_bindir}/perceval
%{python_sitelib}/*

%changelog