forked from pool/python-Scrapy
Accepting request 718179 from devel:languages:python
- Format with spec-cleaner - Use just python3 version of Sphinx - version update to 1.7.1 * Improvements for crawls targeting multiple domains * A cleaner way to pass arguments to callbacks * A new class for JSON requests * Improvements for rule-based spiders * New features for feed exports see news.rst for details OBS-URL: https://build.opensuse.org/request/show/718179 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Scrapy?expand=0&rev=3
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:558dfd10ac53cb324ecd7eefd3eac412161c7507c082b01b0bcd2c6e2e9f0766
|
||||
size 926576
|
3
Scrapy-1.7.1.tar.gz
Normal file
3
Scrapy-1.7.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:da8987d199092c3bb33d4d1d021507cd933aa67f5177e2d36f31343e8a6bd7f1
|
||||
size 951526
|
@@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 24 10:27:07 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Format with spec-cleaner
|
||||
- Use just python3 version of Sphinx
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 24 08:37:28 UTC 2019 - pgajdos@suse.com
|
||||
|
||||
- version update to 1.7.1
|
||||
* Improvements for crawls targeting multiple domains
|
||||
* A cleaner way to pass arguments to callbacks
|
||||
* A new class for JSON requests
|
||||
* Improvements for rule-based spiders
|
||||
* New features for feed exports
|
||||
see news.rst for details
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 16 19:33:46 UTC 2019 - ranand@suse.com
|
||||
|
||||
|
@@ -12,43 +12,40 @@
|
||||
# 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/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-Scrapy
|
||||
Version: 1.6.0
|
||||
Version: 1.7.1
|
||||
Release: 0
|
||||
Url: http://scrapy.org
|
||||
Summary: A high-level Python Screen Scraping framework
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Source: http://pypi.python.org/packages/source/S/Scrapy/Scrapy-%{version}.tar.gz
|
||||
URL: https://scrapy.org
|
||||
Source: https://files.pythonhosted.org/packages/source/S/Scrapy/Scrapy-%{version}.tar.gz
|
||||
BuildRequires: %{python_module Pillow}
|
||||
BuildRequires: %{python_module PyDispatcher >= 2.0.5}
|
||||
BuildRequires: %{python_module Twisted >= 17.9.0}
|
||||
BuildRequires: %{python_module cryptography}
|
||||
BuildRequires: %{python_module cssselect >= 0.9}
|
||||
BuildRequires: %{python_module jmespath}
|
||||
BuildRequires: %{python_module lxml >= 3.4}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module parsel >= 1.5}
|
||||
BuildRequires: %{python_module pyOpenSSL >= 0.14}
|
||||
BuildRequires: %{python_module pyasn1}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module queuelib >= 1.1.1}
|
||||
BuildRequires: %{python_module service_identity}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six >= 1.5.2}
|
||||
BuildRequires: %{python_module testfixtures}
|
||||
BuildRequires: %{python_module w3lib >= 1.17.2}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# doc dependencies
|
||||
BuildRequires: %{python_module Sphinx}
|
||||
# test requirements
|
||||
BuildRequires: %{python_module jmespath}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module testfixtures}
|
||||
# runtime dependencies
|
||||
BuildRequires: python3-Sphinx
|
||||
Requires: python-Pillow
|
||||
Requires: python-PyDispatcher >= 2.0.5
|
||||
Requires: python-Twisted >= 17.9.0
|
||||
@@ -60,6 +57,7 @@ Requires: python-pyOpenSSL >= 0.14
|
||||
Requires: python-pyasn1
|
||||
Requires: python-queuelib >= 1.1.1
|
||||
Requires: python-service_identity
|
||||
Requires: python-setuptools
|
||||
Requires: python-six >= 1.5.2
|
||||
Requires: python-w3lib >= 1.17.2
|
||||
BuildArch: noarch
|
||||
@@ -79,11 +77,12 @@ Provides documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n Scrapy-%{version}
|
||||
sed -i -e 's:= python:= python3:g' docs/Makefile
|
||||
|
||||
%build
|
||||
%python_build
|
||||
pushd docs
|
||||
make html && rm -r build/html/.buildinfo
|
||||
make %{?_smp_mflags} html && rm -r build/html/.buildinfo
|
||||
popd
|
||||
|
||||
%install
|
||||
@@ -105,7 +104,8 @@ skiplist="$skiplist and not CrawlerTestCase"
|
||||
tests}
|
||||
|
||||
%files %{python_files}
|
||||
%doc AUTHORS LICENSE README.rst
|
||||
%license LICENSE
|
||||
%doc AUTHORS README.rst
|
||||
%{python_sitelib}/*
|
||||
%{_bindir}/scrapy-%{python_bin_suffix}
|
||||
%python3_only %{_bindir}/scrapy
|
||||
|
Reference in New Issue
Block a user