[Python-modules-commits] [python-treq] 03/03: Init packaging

Orestis Ioannou oorestisime-guest at moszumanska.debian.org
Tue Apr 26 20:56:01 UTC 2016


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

oorestisime-guest pushed a commit to branch master
in repository python-treq.

commit e693e5fab1a300719b7db453927ca756bf0f9867
Author: Orestis Ioannou <orestis at oioannou.com>
Date:   Sat Apr 23 01:13:29 2016 +0200

    Init packaging
---
 debian/.git-dpm                 |  4 +++
 debian/changelog                |  5 ++++
 debian/compat                   |  1 +
 debian/control                  | 66 +++++++++++++++++++++++++++++++++++++++++
 debian/copyright                | 34 +++++++++++++++++++++
 debian/python-treq-doc.doc-base |  9 ++++++
 debian/python-treq-doc.docs     |  1 +
 debian/rules                    | 14 +++++++++
 debian/watch                    |  3 ++
 9 files changed, 137 insertions(+)

diff --git a/debian/.git-dpm b/debian/.git-dpm
index 3326238..8d0edf3 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -6,3 +6,7 @@ b849ce523d00693b21c151871234fe330498e4fc
 treq_15.1.0.orig.tar.gz
 f19a67a14cfe4031dd0564fbb1623d539386933d
 42642
+
+debianTag="debian/%e%v"
+patchedTag="patched/%e%v"
+upstreamTag="upstream/%e%u"
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..619554b
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-treq (15.1.0-1) UNRELEASED; urgency=medium
+
+  * Initial release. (Closes: #822193)
+
+ -- Orestis Ioannou <orestis at oioannou.com>  Sat, 23 Apr 2016 00:30:03 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..c508dc7
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,66 @@
+Source: python-treq
+Section: python
+Priority: optional
+Maintainer: Orestis Ioannou <orestis at oioannou.com>
+Build-Depends:
+ debhelper (>= 9),
+ dh-python,
+ python-all,
+ python3-all,
+ python-sphinx,
+ python-setuptools,
+ python-openssl (>= 0.13),
+ python-requests,
+ python-service-identity,
+ python-six,
+ python-twisted (>= 14.0.2),
+ python3-openssl (>= 0.15.1),
+ python3-requests,
+ python3-service-identity,
+ python3-six,
+ python3-twisted (>= 15.5.0),
+ python3-setuptools,
+Standards-Version: 3.9.7
+Homepage: http://treq.readthedocs.org/en/latest/
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-treq.git
+Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/python-treq.git
+
+Package: python-treq
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python:Depends},
+Provides:
+ ${python:Provides},
+Description: Higher level API for making HTTP requests with Twisted (Python 2)
+ Treq is a HTTP library inspired by requests written on top of Twisted.
+ It provides a simple, higher level API for making HTTP requests when using
+ Twisted.
+ .
+ This is the Python 2 package.
+
+Package: python3-treq
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python:Depends},
+Provides:
+ ${python:Provides},
+Description: Higher level API for making HTTP requests with Twisted (Python 3)
+ Treq is a HTTP library inspired by requests written on top of Twisted.
+ It provides a simple, higher level API for making HTTP requests when using
+ Twisted.
+ .
+ This is the Python 3 package.
+
+Package: python-treq-doc
+Architecture: all
+Depends:
+ ${misc:Depends},
+Section: doc
+Description: Higher level API for making HTTP requests with Twisted (doc)
+ Treq is a HTTP library inspired by requests written on top of Twisted.
+ It provides a simple, higher level API for making HTTP requests when using
+ Twisted.
+ .
+ This package contains the HTML documentation.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..4739e95
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,34 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: treq
+Source: https://github.com/twisted/treq
+
+Files: *
+Copyright: 2012-2014 David Reid
+License: MIT
+
+Files: treq/multipart.py
+ treq/test/test_multipart.py
+Copyright: Twisted Matrix Laboratories
+License: MIT
+
+Files: debian/*
+Copyright: 2016 Orestis Ioannou <orestis at oioannou.com>
+License: MIT
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
+ this software and associated documentation files (the "Software"), to deal in
+ the Software without restriction, including without limitation the rights to
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+ the Software, and to permit persons to whom the Software is furnished to do so,
+ subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/debian/python-treq-doc.doc-base b/debian/python-treq-doc.doc-base
new file mode 100644
index 0000000..6b7cbdb
--- /dev/null
+++ b/debian/python-treq-doc.doc-base
@@ -0,0 +1,9 @@
+Document: python-treq-doc
+Title: Treq User Documentation
+Author: David Reid
+Abstract: Treq is a higher level API for making HTTP requests with Twisted
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/python-treq-doc/html/index.html
+Files: /usr/share/doc/python-treq-doc/html/*.html
diff --git a/debian/python-treq-doc.docs b/debian/python-treq-doc.docs
new file mode 100644
index 0000000..bbc0d2c
--- /dev/null
+++ b/debian/python-treq-doc.docs
@@ -0,0 +1 @@
+docs/_build/html
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..716a5fd
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,14 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=treq
+
+%:
+	dh $@ --with sphinxdoc,python2,python3 --buildsystem=pybuild
+
+override_dh_auto_build:
+	$(MAKE) -C docs html
+	dh_auto_build
+
+override_dh_auto_test:
+	# tests require extental internet so until this is fixed
+	# tests are disabled
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..95af033
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/treq/treq-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

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



More information about the Python-modules-commits mailing list