[Python-modules-commits] [python-scrapy] 08/12: Add Python3 support through separate binary package.
Michael Fladischer
fladi at moszumanska.debian.org
Thu Feb 2 14:09:18 UTC 2017
This is an automated email from the git hooks/post-receive script.
fladi pushed a commit to branch master
in repository python-scrapy.
commit e5ae37e748576291901bee9e861ba0ffc65de1fe
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date: Sun Jan 29 16:56:57 2017 +0100
Add Python3 support through separate binary package.
---
debian/changelog | 1 +
debian/control | 50 +++++++++++++++++++++++++++++++++++++++-----
debian/python-scrapy.install | 2 --
debian/rules | 2 +-
4 files changed, 47 insertions(+), 8 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index dbcbaef..c21d2ca 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ python-scrapy (1.3.0-1~exp2) UNRELEASED; urgency=medium
Build-Depends-Indep.
* Recreate cert.pem before running the tests to avoid errors with
OpenSSL 1.1 because of weak keys (512bit).
+ * Add Python3 support through separate binary package.
-- Michael Fladischer <fladi at debian.org> Wed, 25 Jan 2017 11:19:54 +0100
diff --git a/debian/control b/debian/control
index 0b090d9..9c7c737 100644
--- a/debian/control
+++ b/debian/control
@@ -24,13 +24,27 @@ Build-Depends-Indep: libjs-jquery,
python-twisted-core,
python-twisted-web,
python-w3lib (>= 1.16.0-1~),
+ python3-botocore,
+ python3-jmespath,
+ python3-lxml,
+ python3-mock,
+ python3-parsel (>= 1.1.0-1~),
+ python3-pil,
+ python3-pydispatch,
+ python3-pytest,
+ python3-queuelib,
+ python3-setuptools,
python3-sphinx,
- python3-sphinx-rtd-theme
+ python3-sphinx-rtd-theme,
+ python3-testfixtures,
+ python3-twisted,
+ python3-w3lib (>= 1.16.0-1~)
Standards-Version: 3.9.8
Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-scrapy.git
Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-scrapy.git
Homepage: http://scrapy.org/
X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.3
Package: python-scrapy
Architecture: all
@@ -47,17 +61,43 @@ Depends: python-boto,
${misc:Depends},
${python:Depends}
Recommends: ipython,
- python-imaging,
+ python-pil,
python-mysqldb,
python-pygments
-Suggests: python-openssl
-Description: Python web scraping and crawling framework
+Suggests: python-openssl,
+ python-scrapy-doc (= ${binary:Version})
+Description: Python web scraping and crawling framework (Python 2)
Scrapy is a fast high-level screen scraping and web crawling framework,
used to crawl websites and extract structured data from their pages.
It can be used for a wide range of purposes, from data mining to
monitoring and automated testing.
.
- This package provides the python-scrapy script and modules.
+ This package provides the scrapy module for Python 2.
+
+Package: python3-scrapy
+Architecture: all
+Depends: python3-boto,
+ python3-cssselect,
+ python3-libxml2,
+ python3-lxml,
+ python3-queuelib,
+ python3-twisted,
+ python3-w3lib (>= 1.8),
+ ${misc:Depends},
+ ${python3:Depends}
+Recommends: ipython3,
+ python3-pil,
+ python3-mysqldb,
+ python3-pygments
+Suggests: python3-openssl,
+ python-scrapy-doc (= ${binary:Version})
+Description: Python web scraping and crawling framework (Python 3)
+ Scrapy is a fast high-level screen scraping and web crawling framework,
+ used to crawl websites and extract structured data from their pages.
+ It can be used for a wide range of purposes, from data mining to
+ monitoring and automated testing.
+ .
+ This package provides the scrapy module for Python 3.
Package: python-scrapy-doc
Architecture: all
diff --git a/debian/python-scrapy.install b/debian/python-scrapy.install
deleted file mode 100644
index 527b78f..0000000
--- a/debian/python-scrapy.install
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/bin
-usr/lib
diff --git a/debian/rules b/debian/rules
index c83d82f..a041d1e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@ BUILD_DATE = $(shell LC_ALL=C date -u "+%B %d, %Y" -d "$(LAST_CHANGE)")
SPHINXOPTS := -D html_last_updated_fmt=\"$(BUILD_DATE)\"
%:
- dh $@ --with python2,bash_completion,sphinxdoc --buildsystem=pybuild
+ dh $@ --with python2,python3,bash_completion,sphinxdoc --buildsystem=pybuild
override_dh_auto_install:
dh_auto_install
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-scrapy.git
More information about the Python-modules-commits
mailing list