Blame python-itemloaders.spec

7c38e94
%global srcname itemloaders
7c38e94
%global desc %{expand:
7c38e94
itemloaders is a library that helps you collect data from HTML and XML sources.
7c38e94
7c38e94
It comes in handy to extract data from web pages, as it supports data extraction
7c38e94
using CSS and XPath Selectors.
7c38e94
7c38e94
It's specially useful when you need to standardize the data from many sources.
7c38e94
For example, it allows you to have all your casting and parsing rules in a 
7c38e94
single place.}
7c38e94
7c38e94
Name:		python-itemloaders
7c38e94
Version:	1.0.4
df28db3
Release:	3%{?dist}
7c38e94
Summary:	Library that helps you collect data from HTML and XML sources.
7c38e94
7c38e94
License:	BSD
7c38e94
URL:		https://github.com/scrapy/itemloaders
7c38e94
Source0:	%{pypi_source}
7c38e94
7c38e94
BuildArch:	noarch
7c38e94
7c38e94
7c38e94
%description
7c38e94
%{desc}
7c38e94
7c38e94
%package -n python3-%{srcname}
7c38e94
Summary:	%{summary}
7c38e94
7c38e94
BuildRequires:	python3-devel
7c38e94
BuildRequires:	python3-setuptools
7c38e94
BuildRequires:	python3-parsel
7c38e94
BuildRequires:	python3-jmespath
7c38e94
BuildRequires:	python3-w3lib
7c38e94
7c38e94
7c38e94
7c38e94
%description -n python3-%{srcname}
7c38e94
%{desc}
7c38e94
7c38e94
%prep
7c38e94
%autosetup -n %{srcname}-%{version}
7c38e94
7c38e94
%build
7c38e94
%py3_build
7c38e94
7c38e94
7c38e94
%install
7c38e94
%py3_install
7c38e94
7c38e94
7c38e94
%files -n python3-%{srcname}
7c38e94
%license LICENSE
7c38e94
%doc README.rst
7c38e94
%{python3_sitelib}/itemloaders
7c38e94
%{python3_sitelib}/itemloaders-*.egg-info
7c38e94
7c38e94
%changelog
df28db3
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-3
df28db3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
df28db3
10eef2e
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.0.4-2
10eef2e
- Rebuilt for Python 3.10
10eef2e
7c38e94
* Sat Apr 3 2021 Eduardo Echeverria <echevemaster@gmail.com> - 1.0.4-1
7c38e94
- Initial packaging
7c38e94