01b1e3
%global pypi_name Scrapy
514dbb
%global pkg_name scrapy
01b1e3
Name:		python-scrapy
Eduardo Echeverria 71e8b7
Version:	1.5.1
275a15
Release:	9%{?dist}
01b1e3
Summary:	A high-level Python Screen Scraping framework
01b1e3
01b1e3
License:	BSD
01b1e3
URL:		http://scrapy.org
514dbb
Source0:	https://files.pythonhosted.org/packages/source/S/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
01b1e3
01b1e3
BuildArch:	noarch
514dbb
01b1e3
01b1e3
%description
01b1e3
Scrapy is a fast high-level screen scraping and web crawling 
01b1e3
framework, used to crawl websites and extract structured data 
01b1e3
from their pages. It can be used for a wide range of purposes,
514dbb
from data mining to monitoring and automated testing.
514dbb
514dbb
514dbb
%package -n python3-%{pkg_name}
514dbb
Summary:	%{summary}
514dbb
514dbb
BuildRequires:	python3-devel
514dbb
BuildRequires:	python3-sphinx
74661a
BuildRequires:	python3-sphinx_rtd_theme
514dbb
BuildRequires:	python3-cssselect
514dbb
BuildRequires:	python3-lxml
514dbb
BuildRequires:	python3-twisted
514dbb
BuildRequires:	python3-w3lib
514dbb
BuildRequires:	python3-queuelib
514dbb
Requires:	python3-pyOpenSSL
514dbb
Requires:	python3-twisted
514dbb
Requires:	python3-lxml
514dbb
Requires:	python3-w3lib
514dbb
Requires:	python3-queuelib
514dbb
Requires:	python3-zope-interface
514dbb
Requires:	python3-cssselect
3d1955
Requires:	python3-pydispatcher
3d1955
Requires:	python3-parsel
514dbb
514dbb
%{?python_provide:%python_provide python3-%{pkg_name}}
514dbb
514dbb
514dbb
%description -n python3-%{pkg_name}
514dbb
Scrapy is a fast high-level screen scraping and web crawling 
514dbb
framework, used to crawl websites and extract structured data 
514dbb
from their pages. It can be used for a wide range of purposes,
514dbb
from data mining to monitoring and automated testing.
514dbb
514dbb
01b1e3
01b1e3
%package doc
01b1e3
Summary:	Documentation for %{name}
01b1e3
01b1e3
%description doc
514dbb
Scrapy is a fast high-level screen scraping and web crawling 
514dbb
framework, used to crawl websites and extract structured data 
514dbb
from their pages. It can be used for a wide range of purposes,
514dbb
from data mining to monitoring and automated testing.
01b1e3
This package contains the documentation for %{name}
01b1e3
01b1e3
%prep
514dbb
%autosetup -n %{pypi_name}-%{version}
01b1e3
01b1e3
%build
514dbb
%py3_build
01b1e3
PYTHONPATH=$(pwd) make -C docs html
01b1e3
rm -f docs/build/html/.buildinfo
01b1e3
01b1e3
%install
514dbb
%py3_install
01b1e3
01b1e3
%check
01b1e3
#Tests disabled (needs network connection)
01b1e3
# PYTHONPATH=$(pwd) 
01b1e3
# pushd bin
01b1e3
# ./runtests.sh
01b1e3
# popd
01b1e3
 
514dbb
514dbb
%files -n python3-%{pkg_name}
514dbb
%license LICENSE
514dbb
%doc AUTHORS PKG-INFO
514dbb
%{python3_sitelib}/scrapy
514dbb
%{python3_sitelib}/Scrapy-*.egg-info
01b1e3
%{_bindir}/scrapy
01b1e3
01b1e3
%files doc
01b1e3
%doc docs/build/html
01b1e3
01b1e3
%changelog
275a15
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-9
275a15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
275a15
909ede
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.5.1-8
909ede
- Rebuilt for Python 3.9
909ede
4f6281
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-7
4f6281
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
4f6281
a63281
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5.1-6
a63281
- Rebuilt for Python 3.8.0rc1 (#1748018)
a63281
9a8699
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5.1-5
9a8699
- Rebuilt for Python 3.8
9a8699
ae6399
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-4
ae6399
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
ae6399
dcaadd
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-3
dcaadd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
dcaadd
83000f
* Sun Nov 25 2018 Eduardo Echeverria  <echevemaster@gmail.com> - 1.5.1-2
83000f
- Remove python2-scrapy as part of this process https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
83000f
Eduardo Echeverria 71e8b7
* Mon Aug 13 2018 Eduardo Echeverria  <echevemaster@gmail.com> - 1.5.1-1
Eduardo Echeverria 71e8b7
- Update to 1.5.1
Eduardo Echeverria 71e8b7
17c7ea
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-3
83000f
- Update to 1.5.1
83000f
83000f
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-3
17c7ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
17c7ea
f3b6a6
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.5.0-2
f3b6a6
- Rebuilt for Python 3.7
f3b6a6
3d1955
* Thu Feb 08 2018 Filipe Rosset <rosset.filipe@gmail.com> - 1.5.0-1
3d1955
- Rebuilt for new upstream release 1.5.0, fixes rhbz #1431310
3d1955
- Fixes rhbz #1478686 and rhbz #1507308
3d1955
847977
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-2
847977
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
847977
514dbb
* Wed Feb 22 2017 Jan Beran <jberan@redhat.com> - 1.3.2-1
514dbb
- Update to the latest upstream version
514dbb
- Provides python 3 subpackage
514dbb
171cf9
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-4
171cf9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
171cf9
2362ae
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-3
2362ae
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
2362ae
7ede5b
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-2
7ede5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
7ede5b
b9e316
* Sun Nov 1 2015 Eduardo Echeverria  <echevemaster@gmail.com> - 1.0.3-1
b9e316
- Update to the latest upstream version
b9e316
8bb303
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.24.4-2
8bb303
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
8bb303
5e4ddd
* Fri Dec 5 2014 Eduardo Echeverria  <echevemaster@gmail.com> - 0.24.4-1
5e4ddd
- Update to the latest upstream version
5e4ddd
610c67
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22.0-2
610c67
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
610c67
01b1e3
* Sun Jan 19 2014 Eduardo Echeverria  <echevemaster@gmail.com> - 0.22.0-1
01b1e3
- Update to the latest upstream version
01b1e3
01b1e3
* Sun Jan 19 2014 Eduardo Echeverria  <echevemaster@gmail.com> - 0.20.2-1
01b1e3
- Initial packaging