[Python-modules-commits] [python-scrapy] 06/12: Switch to pybuild and add all packages required to run the tests to Build-Depends-Indep.

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 ebdb9d05d37e5f2ec8cb1898cccf891180230f63
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date:   Sun Jan 29 16:18:57 2017 +0100

    Switch to pybuild and add all packages required to run the tests to
    Build-Depends-Indep.
---
 debian/changelog |  2 ++
 debian/control   | 12 +++++++++++-
 debian/rules     |  3 ++-
 3 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 8632c3f..fb3a099 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ python-scrapy (1.3.0-1~exp2) UNRELEASED; urgency=medium
   * Switch to python3-sphinx.
   * Install upstream changelog and remove lintian overrides.
   * Remove README.Debian as upstream no longer ships embedded libraries.
+  * Switch to pybuild and add all packages required to run the tests to
+    Build-Depends-Indep.
 
  -- Michael Fladischer <fladi at debian.org>  Wed, 25 Jan 2017 11:19:54 +0100
 
diff --git a/debian/control b/debian/control
index 7b2ba2c..0b090d9 100644
--- a/debian/control
+++ b/debian/control
@@ -9,11 +9,21 @@ Build-Depends: bash-completion,
                python-all,
                python3-all
 Build-Depends-Indep: libjs-jquery,
-                     python-parsel,
+                     python-botocore,
+                     python-jmespath,
+                     python-lxml,
+                     python-mock,
+                     python-parsel (>= 1.1.0-1~),
+                     python-pil,
+                     python-pydispatch,
+                     python-pytest,
+                     python-queuelib,
                      python-setuptools,
+                     python-testfixtures,
                      python-twisted-conch,
                      python-twisted-core,
                      python-twisted-web,
+                     python-w3lib (>= 1.16.0-1~),
                      python3-sphinx,
                      python3-sphinx-rtd-theme
 Standards-Version: 3.9.8
diff --git a/debian/rules b/debian/rules
index 9611d75..a247dd0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
+export PYBUILD_NAME=scrapy
 export DH_ALWAYS_EXCLUDE=license.txt:_sources/:.buildinfo
 
 LAST_CHANGE = $(shell dpkg-parsechangelog -S Date)
@@ -8,7 +9,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
+	dh $@ --with python2,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