From df0b1428762a9d1ebead6e77dc9179687fc64b2baf0218395572dc90cd6af4a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 24 Jul 2019 09:00:54 +0000 Subject: [PATCH 1/2] Accepting request 718147 from home:pgajdos - 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/718147 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Scrapy?expand=0&rev=5 --- Scrapy-1.6.0.tar.gz | 3 --- Scrapy-1.7.1.tar.gz | 3 +++ python-Scrapy.changes | 11 +++++++++++ python-Scrapy.spec | 8 +++++--- 4 files changed, 19 insertions(+), 6 deletions(-) delete mode 100644 Scrapy-1.6.0.tar.gz create mode 100644 Scrapy-1.7.1.tar.gz diff --git a/Scrapy-1.6.0.tar.gz b/Scrapy-1.6.0.tar.gz deleted file mode 100644 index 4d911e0..0000000 --- a/Scrapy-1.6.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:558dfd10ac53cb324ecd7eefd3eac412161c7507c082b01b0bcd2c6e2e9f0766 -size 926576 diff --git a/Scrapy-1.7.1.tar.gz b/Scrapy-1.7.1.tar.gz new file mode 100644 index 0000000..ae333e0 --- /dev/null +++ b/Scrapy-1.7.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:da8987d199092c3bb33d4d1d021507cd933aa67f5177e2d36f31343e8a6bd7f1 +size 951526 diff --git a/python-Scrapy.changes b/python-Scrapy.changes index 5415e2b..dd39ec5 100644 --- a/python-Scrapy.changes +++ b/python-Scrapy.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +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 diff --git a/python-Scrapy.spec b/python-Scrapy.spec index 19228e9..773d181 100644 --- a/python-Scrapy.spec +++ b/python-Scrapy.spec @@ -12,13 +12,13 @@ # 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 @@ -60,6 +60,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 @@ -105,7 +106,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 From ddab9089bef69241c19164e1cbfa81898703eaf47de9d64258af59ed73c3f8ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 24 Jul 2019 10:27:28 +0000 Subject: [PATCH 2/2] - Format with spec-cleaner - Use just python3 version of Sphinx OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Scrapy?expand=0&rev=6 --- python-Scrapy.changes | 6 ++++++ python-Scrapy.spec | 20 +++++++++----------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/python-Scrapy.changes b/python-Scrapy.changes index dd39ec5..6784665 100644 --- a/python-Scrapy.changes +++ b/python-Scrapy.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jul 24 10:27:07 UTC 2019 - Tomáš Chvátal + +- Format with spec-cleaner +- Use just python3 version of Sphinx + ------------------------------------------------------------------- Wed Jul 24 08:37:28 UTC 2019 - pgajdos@suse.com diff --git a/python-Scrapy.spec b/python-Scrapy.spec index 773d181..bf94607 100644 --- a/python-Scrapy.spec +++ b/python-Scrapy.spec @@ -20,35 +20,32 @@ Name: python-Scrapy 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 @@ -80,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