14
0

Accepting request 651114 from home:iulhaq:branches:home:bergmannf

OBS-URL: https://build.opensuse.org/request/show/651114
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-selection?expand=0&rev=1
This commit is contained in:
Tomáš Chvátal
2018-11-22 14:16:15 +00:00
committed by Git OBS Bridge
commit a22f2020ac
6 changed files with 1081 additions and 0 deletions

60
python-selection.spec Normal file
View File

@@ -0,0 +1,60 @@
#
# spec file for package python-selection
#
# Copyright (c) 2018 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 https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-selection
Version: 0.0.13
Release: 0
Summary: API to extract content from HTML & XML documents
License: MIT
Group: Development/Languages/Python
URL: https://github.com/lorien/selection
Source: https://files.pythonhosted.org/packages/source/s/selection/selection-%{version}.tar.gz
Source99: https://github.com/lorien/selection/blob/master/LICENSE
BuildRequires: %{python_module lxml}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: %{python_module weblib}
BuildRequires: python-rpm-macros
BuildRequires: fdupes
Requires: python-lxml
Requires: python-six
Requires: python-weblib
BuildArch: noarch
%python_subpackages
%description
API to extract content from HTML & XML documents
%prep
%setup -q -n selection-%{version}
cp %{SOURCE99} .
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/*
%changelog