[Python-modules-commits] [python-dugong] 02/05: Import python-dugong_3.7+dfsg-3.debian.tar.xz

Nikolaus Rath nikratio-guest at moszumanska.debian.org
Thu Jun 15 17:54:42 UTC 2017


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

nikratio-guest pushed a commit to annotated tag archive/debian/3.7.1+dfsg-1
in repository python-dugong.

commit e3b9dffb09a200f027e76ba36ba7cd129bc09c93
Author: Nikolaus Rath <Nikolaus at rath.org>
Date:   Fri Oct 7 20:44:21 2016 -0700

    Import python-dugong_3.7+dfsg-3.debian.tar.xz
    
    [dgit import tarball python-dugong 3.7+dfsg-3 python-dugong_3.7+dfsg-3.debian.tar.xz]
---
 .git-dpm                            |  11 +++++
 README.source                       |  16 +++++++
 changelog                           |  85 ++++++++++++++++++++++++++++++++++++
 compat                              |   1 +
 control                             |  61 ++++++++++++++++++++++++++
 copyright                           |  62 ++++++++++++++++++++++++++
 patches/series                      |   1 +
 patches/use-local-intersphinx.patch |  28 ++++++++++++
 python-dugong-doc.doc-base          |   8 ++++
 python-dugong-doc.docs              |   2 +
 python.inv                          | Bin 0 -> 124722 bytes
 rules                               |  35 +++++++++++++++
 source/format                       |   1 +
 source/include-binaries             |   2 +
 source/options                      |   4 ++
 tests/control                       |   2 +
 tests/upstream-standard             |   3 ++
 upstream-signing-key.pgp            | Bin 0 -> 2722 bytes
 watch                               |   8 ++++
 19 files changed, 330 insertions(+)

diff --git a/.git-dpm b/.git-dpm
new file mode 100644
index 0000000..fac2792
--- /dev/null
+++ b/.git-dpm
@@ -0,0 +1,11 @@
+# see git-dpm(1) from git-dpm package
+cdf2dfcb0896376f9ec68c488bdad9fbd208f895
+cdf2dfcb0896376f9ec68c488bdad9fbd208f895
+4d86a28f722ed797e6780a871eeadc5b80c5686f
+4d86a28f722ed797e6780a871eeadc5b80c5686f
+python-dugong_3.7+dfsg.orig.tar.bz2
+44efbf4180d73c2d1715b53bcc89643a8fc1ce28
+51028
+debianTag="debian/%e%v"
+patchedTag="patched/%e%v"
+upstreamTag="upstream/%e%u"
diff --git a/README.source b/README.source
new file mode 100644
index 0000000..1e5bcce
--- /dev/null
+++ b/README.source
@@ -0,0 +1,16 @@
+
+* As requested by ftpmaster, the upstream tarball is repacked to
+  remove minified javascript files.
+
+* Since removing just the minified javascript files would leave the
+  rest of them broken, we are removing the entire pre-rendered HTML
+  documentation. There is no loss of information, since the entire
+  documentation (including the problematic javascript files) is
+  regenerated during build.
+
+* Repackaging of the upstream tarball is done with uscan. The list of
+  excluded files is specified in the Files-Excluded paragraph in
+  debian/copyright. To retrieve and repack the latest upstream
+  tarball, run
+
+  # uscan --repack
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..65401be
--- /dev/null
+++ b/changelog
@@ -0,0 +1,85 @@
+python-dugong (3.7+dfsg-3) unstable; urgency=medium
+
+  * Added missing python3-pytest-catchlog dependency for tests.
+
+ -- Nikolaus Rath <Nikolaus at rath.org>  Fri, 07 Oct 2016 20:44:21 -0700
+
+python-dugong (3.7+dfsg-2) unstable; urgency=medium
+
+  * Fixed py.test invocation during build.
+
+ -- Nikolaus Rath <Nikolaus at rath.org>  Mon, 20 Jun 2016 11:54:57 -0700
+
+python-dugong (3.7+dfsg-1) unstable; urgency=medium
+
+  * new upstream version
+
+ -- Nikolaus Rath <Nikolaus at rath.org>  Mon, 20 Jun 2016 11:01:26 -0700
+
+python-dugong (3.5+dfsg-2) UNRELEASED; urgency=medium
+
+  * Fixed VCS URL (https)
+
+ -- Ondřej Nový <novy at ondrej.org>  Tue, 29 Mar 2016 22:01:44 +0200
+
+python-dugong (3.5+dfsg-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Nikolaus Rath <Nikolaus at rath.org>  Sat, 31 Jan 2015 20:12:05 -0800
+
+python-dugong (3.4+dfsg-1) experimental; urgency=medium
+
+  * New upstream release.
+  * Dropped fix_test_examples.diff, fixed upstream.
+  * Bumped Standard-Version to 3.9.6 (no changes required).
+
+ -- Nikolaus Rath <Nikolaus at rath.org>  Sat, 29 Nov 2014 13:34:00 -0800
+
+python-dugong (3.3+dfsg-2) unstable; urgency=medium
+
+  * Skip unit tests in test/test_examples.py. These tests require network
+    connectivity, and in addition to that the hardcoded remote server no
+    longer works (thus causing the tests to fail even if there is
+    connectivity). Closes: #769250
+
+ -- Nikolaus Rath <Nikolaus at rath.org>  Fri, 14 Nov 2014 15:20:44 -0800
+
+python-dugong (3.3+dfsg-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Nikolaus Rath <Nikolaus at rath.org>  Wed, 06 Aug 2014 18:45:37 -0700
+
+python-dugong (3.2+dfsg-1) unstable; urgency=medium
+
+  * Removed some packaging workarounds for Python 3.3 that are no longer
+    required.
+  * New upstream release.
+  * Dropped patches, included upstream:
+    - disable_mock_server_logging.diff
+    - fix_test_abort_co_read.diff
+
+ -- Nikolaus Rath <Nikolaus at rath.org>  Sun, 27 Jul 2014 17:06:09 -0700
+
+python-dugong (3.1+dfsg-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Added disable_mock_server_logging.diff to make adt-run happy.
+  * Added fix_test_abort_co_read.diff, cherry-picked from upstream to fix a
+    unit test failure.
+
+ -- Nikolaus Rath <Nikolaus at rath.org>  Sat, 28 Jun 2014 13:13:56 -0700
+
+python-dugong (3.0+dfsg-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Add kFreeBSD support (Closes: #745243)
+
+ -- Nikolaus Rath <Nikolaus at rath.org>  Sun, 20 Apr 2014 17:25:22 -0700
+
+python-dugong (2.2+dfsg-1) unstable; urgency=medium
+
+  * First official debian release. Closes: 741387
+
+ -- Nikolaus Rath <Nikolaus at rath.org>  Thu, 27 Mar 2014 16:41:30 -0700
diff --git a/compat b/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/compat
@@ -0,0 +1 @@
+9
diff --git a/control b/control
new file mode 100644
index 0000000..eeb696a
--- /dev/null
+++ b/control
@@ -0,0 +1,61 @@
+Source: python-dugong
+Section: python
+X-Python3-Version: >= 3.4
+Priority: optional
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Maintainer: Nikolaus Rath <Nikolaus at rath.org>
+Build-Depends: debhelper (>= 9),
+               python3-all,
+               python3-sphinx (>= 1.0.7+dfsg),
+               python3-pytest (>= 2.8.0),
+               python3-pytest-catchlog,
+               dh-python,
+               python3-setuptools
+Standards-Version: 3.9.6
+XS-Testsuite: autopkgtest
+Homepage: https://bitbucket.org/nikratio/python-dugong
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-dugong.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-dugong.git
+
+Package: python3-dugong
+Architecture: all
+Depends: ${misc:Depends},
+         ${python3:Depends}
+Provides: ${python3:Provides}
+Suggests: python-dugong-doc
+Description: HTTP 1.1 client module for Python
+ The Python Dugong module provides an API for communicating with HTTP 1.1
+ servers. It is an alternative to the standard library's http.client (formerly
+ httplib) module. In contrast to http.client, Dugong:
+ .
+  * allows you to send multiple requests right after each other without having
+    to read the responses first.
+  * supports waiting for 100-continue before sending the request body.
+  * raises an exception instead of silently delivering partial data if the
+    connection is closed before all data has been received.
+  * raises one specific exception (ConnectionClosed) if the connection has been
+    closed (while http.client connection may raise any of BrokenPipeError,
+    BadStatusLine, ConnectionAbortedError, ConnectionResetError, IncompleteRead
+    or simply return '' on read)
+  * supports non-blocking, asynchronous operation and is compatible with the
+    asyncio module.
+  * can in most cases distinguish between an unavailable DNS server and
+    an unresolvable hostname.
+  * is not compatible with old HTTP 0.9 or 1.0 servers.
+ .
+ All request and response headers are represented as str, but must be encodable
+ in latin1. Request and response body must be bytes-like objects or binary
+ streams.
+
+Package: python-dugong-doc
+Architecture: all
+Section: doc
+Recommends: python3-dugong
+Depends: ${sphinxdoc:Depends},
+         ${misc:Depends}
+Description: HTTP 1.1 client module for Python (documentation)
+ The Python Dugong module provides an API for communicating with HTTP 1.1
+ servers. It is an alternative to the standard library's http.client (formerly
+ httplib) module.
+ .
+ This package provides the documentation.
diff --git a/copyright b/copyright
new file mode 100644
index 0000000..ee32e84
--- /dev/null
+++ b/copyright
@@ -0,0 +1,62 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: python-dugong
+Upstream-Contact: Nikolaus Rath <Nikolaus at rath.org>
+Source: https://bitbucket.org/nikratio/python-dugong/src
+Files-Excluded: doc/html
+
+Files: *
+Copyright: Copyright 2013-2014 Nikolaus Rath <Nikolaus at rath.org>
+License: PSF
+ 1. This LICENSE AGREEMENT is between the Python Software Foundation
+ ("PSF"), and the Individual or Organization ("Licensee") accessing and
+ otherwise using this software ("Python") in source or binary form and
+ its associated documentation.
+ .
+ 2. Subject to the terms and conditions of this License Agreement, PSF hereby
+ grants Licensee a nonexclusive, royalty-free, world-wide license to
+ reproduce, analyze, test, perform and/or display publicly, prepare
+ derivative works, distribute, and otherwise use Python alone or in
+ any derivative version, provided, however, that PSF's License
+ Agreement and PSF's notice of copyright, i.e., "Copyright (c) 2001,
+ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012,
+ 2013, 2014 Python Software Foundation; All Rights Reserved" are
+ retained in Python alone or in any derivative version prepared by
+ Licensee.
+ .
+ 3. In the event Licensee prepares a derivative work that is based on
+ or incorporates Python or any part thereof, and wants to make
+ the derivative work available to others as provided herein, then
+ Licensee hereby agrees to include in any such work a brief summary of
+ the changes made to Python.
+ .
+ 4. PSF is making Python available to Licensee on an "AS IS"
+ basis.  PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
+ IMPLIED.  BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
+ INFRINGE ANY THIRD PARTY RIGHTS.
+ .
+ 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
+ FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
+ A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
+ OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
+ .
+ 6. This License Agreement will automatically terminate upon a material
+ breach of its terms and conditions.
+ .
+ 7. Nothing in this License Agreement shall be deemed to create any
+ relationship of agency, partnership, or joint venture between PSF and
+ Licensee.  This License Agreement does not grant permission to use PSF
+ trademarks or trade name in a trademark sense to endorse or promote
+ products or services of Licensee, or any third party.
+ .
+ 8. By copying, installing or otherwise using Python, Licensee
+ agrees to be bound by the terms and conditions of this License
+ Agreement.
+
+Files: dugong/__init__.py
+Comment: This applies to the CaseInsensitiveDict class implementation.
+Copyright: Copyright 2013 Kenneth Reitz
+License: Apache
+ On Debian systems the full text of the Apache 2.0 license can be
+ found in the `/usr/share/common-licenses/Apache-2.0' file.
diff --git a/patches/series b/patches/series
new file mode 100644
index 0000000..6fea815
--- /dev/null
+++ b/patches/series
@@ -0,0 +1 @@
+use-local-intersphinx.patch
diff --git a/patches/use-local-intersphinx.patch b/patches/use-local-intersphinx.patch
new file mode 100644
index 0000000..5b7de44
--- /dev/null
+++ b/patches/use-local-intersphinx.patch
@@ -0,0 +1,28 @@
+From cdf2dfcb0896376f9ec68c488bdad9fbd208f895 Mon Sep 17 00:00:00 2001
+From: Nikolaus Rath <Nikolaus at rath.org>
+Date: Thu, 8 Oct 2015 11:58:34 -0700
+Subject: Use local intersphinx inventory
+
+Forwarded: not-needed
+Last-Update: 2014-03-11
+ Instead of downloading the Python intersphinx directory
+ at build time, use the cached copy shipped in debian/.
+Patch-Name: use-local-intersphinx.patch
+---
+ rst/conf.py | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/rst/conf.py b/rst/conf.py
+index f312..851f 100644
+--- a/rst/conf.py
++++ b/rst/conf.py
+@@ -8,7 +8,8 @@ import os.path
+ sys.path.append(os.path.abspath('..'))
+ 
+ extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx' ]
+-intersphinx_mapping = {'python': ('http://docs.python.org/3/', None) }
++intersphinx_mapping = {'python': ('http://docs.python.org/3/',
++                                  '../debian/python.inv')}
+ templates_path = ['_templates']
+ source_suffix = '.rst'
+ source_encoding = 'utf-8'
diff --git a/python-dugong-doc.doc-base b/python-dugong-doc.doc-base
new file mode 100644
index 0000000..5a62e28
--- /dev/null
+++ b/python-dugong-doc.doc-base
@@ -0,0 +1,8 @@
+Document: python-dugong
+Title: Python-Dugong API Documentation
+Author: Nikolaus Rath <Nikolaus at rath.org>
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-dugong-doc/html/index.html
+Files: /usr/share/doc/python-dugong-doc/html/*.html
diff --git a/python-dugong-doc.docs b/python-dugong-doc.docs
new file mode 100644
index 0000000..1eefda5
--- /dev/null
+++ b/python-dugong-doc.docs
@@ -0,0 +1,2 @@
+doc/html/
+examples/
diff --git a/python.inv b/python.inv
new file mode 100644
index 0000000..6a277e8
Binary files /dev/null and b/python.inv differ
diff --git a/rules b/rules
new file mode 100755
index 0000000..7fb852b
--- /dev/null
+++ b/rules
@@ -0,0 +1,35 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+#export DH_VERBOSE=1
+export PYBUILD_NAME=dugong
+export PYBUILD_TEST_PYTEST=1
+export PYBUILD_TEST_ARGS=--installed "{dir}/test/"
+
+%:
+	dh $@ --with python3,sphinxdoc --buildsystem=pybuild
+
+.PHONY: override_dh_auto_build
+override_dh_auto_build:
+	dh_auto_build
+
+	# Build docs
+	python3 setup.py build_sphinx
+
+.PHONY: override_dh_auto_clean
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -rf doc/html doc/doctrees
+
+.PHONY: update_intersphinx
+update_intersphinx:
+	wget http://docs.python.org/3/objects.inv -O debian/python.inv
+
+.PHONY: get-orig-source
+get-orig-source:
+	uscan --rename --destdir=$(CURDIR)/.. --repack --force-download \
+	      --download-current-version --compression xz
+
+.PHONY: uscan
+uscan:
+	uscan --rename --destdir=$(CURDIR)/.. --repack --compression xz
diff --git a/source/format b/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/source/include-binaries b/source/include-binaries
new file mode 100644
index 0000000..fb217db
--- /dev/null
+++ b/source/include-binaries
@@ -0,0 +1,2 @@
+debian/python.inv
+debian/upstream-signing-key.pgp
diff --git a/source/options b/source/options
new file mode 100644
index 0000000..c5f99fb
--- /dev/null
+++ b/source/options
@@ -0,0 +1,4 @@
+compression = "xz"
+compression-level = 6
+extend-diff-ignore = "\.pyc$"
+tar-ignore = "*.pyc"
diff --git a/tests/control b/tests/control
new file mode 100644
index 0000000..4ada917
--- /dev/null
+++ b/tests/control
@@ -0,0 +1,2 @@
+Tests: upstream-standard
+Depends: python3-pytest, python3-dugong, python3-pytest-catchlog
diff --git a/tests/upstream-standard b/tests/upstream-standard
new file mode 100755
index 0000000..ded21b9
--- /dev/null
+++ b/tests/upstream-standard
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec py.test-3 --installed test/
diff --git a/upstream-signing-key.pgp b/upstream-signing-key.pgp
new file mode 100644
index 0000000..d2ea347
Binary files /dev/null and b/upstream-signing-key.pgp differ
diff --git a/watch b/watch
new file mode 100644
index 0000000..170ac3f
--- /dev/null
+++ b/watch
@@ -0,0 +1,8 @@
+# watch control file for uscan
+version=3
+opts=\
+pgpsigurlmangle=s/$/.asc/,\
+uversionmangle=s/$/+dfsg/,\
+  https://pypi.python.org/pypi/dugong/ \
+  .*/dugong-(\d\S*)\.tar\.bz2 \
+  debian

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



More information about the Python-modules-commits mailing list