[Python-modules-commits] [pytest-httpbin] 09/14: build Python 3 package

Daniel Stender danstender-guest at moszumanska.debian.org
Fri Mar 18 08:16:29 UTC 2016


This is an automated email from the git hooks/post-receive script.

danstender-guest pushed a commit to branch master
in repository pytest-httpbin.

commit 429520348f56ecd1aa29cc4aaa52eaf02b22d562
Author: Daniel Stender <stender at debian.org>
Date:   Thu Mar 17 21:10:52 2016 +0100

    build Python 3 package
---
 debian/changelog |  5 ++++-
 debian/control   | 26 ++++++++++++++++++++++++--
 debian/rules     |  2 +-
 3 files changed, 29 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a84b3fa..87234e4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,9 @@
 pytest-httpbin (0.2.0-1) UNRELEASED; urgency=medium
 
   * New upstream release.
+  * Build Python 3 package (Closes: #806137):
+    + deb/control: added package description and build-deps.
+    + deb/rules: run sequencer with dh_python3.
   * deb/control:
     + updated uploader email address.
     + bumped standards to 3.9.7 (no changes needed).
@@ -8,7 +11,7 @@ pytest-httpbin (0.2.0-1) UNRELEASED; urgency=medium
     + removed Testsuite field (deprecated).
   * deb/copyright: updated.
 
- -- Daniel Stender <stender at debian.org>  Thu, 17 Mar 2016 20:37:39 +0100
+ -- Daniel Stender <stender at debian.org>  Thu, 17 Mar 2016 20:47:42 +0100
 
 pytest-httpbin (0.1.1-1) unstable; urgency=medium
 
diff --git a/debian/control b/debian/control
index 88b49e2..31ec4ee 100644
--- a/debian/control
+++ b/debian/control
@@ -8,14 +8,23 @@ Build-Depends:
  dh-python,
  pandoc,
  python-all,
+ python3-all,
  python-decorator,
+ python3-decorator,
  python-flask,
+ python3-flask,
  python-httpbin,
+ python3-httpbin,
  python-pytest,
+ python3-pytest,
  python-requests,
+ python3-requests,
  python-setuptools,
+ python3-setuptools,
  python-six,
- python-werkzeug
+ python3-six,
+ python-werkzeug,
+ python3-werkzeug
 Standards-Version: 3.9.7
 Homepage: https://github.com/kevin1024/pytest-httpbin
 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/pytest-httpbin.git
@@ -38,4 +47,17 @@ Description: py.test plugin providing a local httpbin
  .
  This package provides the py.test plugin for Python 2 code.
 
-# no python3 package due to missing python3-httpbin (#661510).
\ No newline at end of file
+Package: python3-pytest-httpbin
+Architecture: all
+Depends:
+ ${python3:Depends},
+ python3-pytest,
+ ${misc:Depends}
+Description: py.test plugin providing a local httpbin (Python 3)
+ httpbin is a WSGI based test server for testing HTTP applications.
+ pytest-httpbin creates a fixture for the py.test framework that
+ is dependency-injected into tests, it automatically starts up a
+ local running instance of httpbin in a separate thread and
+ provides the test with the URL in the fixture.
+ .
+ This package provides the py.test plugin for Python 3 code.
diff --git a/debian/rules b/debian/rules
index 8ef47e5..76a8487 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,7 @@ export http_proxy=
 export https_proxy=
 
 %:
-	dh $@ --with python2 --buildsystem=pybuild
+	dh $@ --with python2,python3 --buildsystem=pybuild
 
 override_dh_auto_clean:
 	dh_auto_clean

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pytest-httpbin.git



More information about the Python-modules-commits mailing list