[Pkg-privacy-commits] [pyptlib] 68/136: Initial Debian packaging
Ximin Luo
infinity0 at moszumanska.debian.org
Sat Aug 22 13:25:10 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch master
in repository pyptlib.
commit 14d66a84e16c6195dac4c00c7c9ab8669592e689
Author: Jérémy Bobbio <lunar at debian.org>
Date: Wed Feb 6 15:37:35 2013 +0100
Initial Debian packaging
Closes: #699921
---
debian/README.source | 22 +++++++++++++++++++++
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 17 ++++++++++++++++
debian/copyright | 44 ++++++++++++++++++++++++++++++++++++++++++
debian/gbp.conf | 2 ++
debian/python-pyptlib.docs | 3 +++
debian/python-pyptlib.examples | 2 ++
debian/rules | 16 +++++++++++++++
debian/source/format | 1 +
10 files changed, 113 insertions(+)
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..c8edf04
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,22 @@
+README.source for the pyptlib package
+=====================================
+
+pyptlib is managed in a Git repository using git-buildpackage.
+
+Upstream tarballs are imported using git-import-orig with:
+
+ * `--pristine-tar` to record upstream tarball,
+ * `--upstream-vcs-tag` to link upstream source repository.
+
+Quilt patches are managed using gbp-pq.
+
+Packaging practices also follow most of the advices provided by Russ
+Allbery at: <http://www.eyrie.org/~eagle/notes/debian/git.html>
+
+The branches are organized as follow:
+
+ * upstream: tracks the "master" branch of upstream repository [1]
+ * patch-queue/*: branches exported to quilt patches (handled by gbp-pq)
+ * master: export of patch-queue/* branches and Debian specific changes
+
+[1] <https://git.torproject.org/pluggable-transports/pyptlib.git>
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..cef8842
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+pyptlib (0.0.3-1) UNRELEASED; urgency=low
+
+ * Initial release. (Closes: #699921)
+
+ -- Jérémy Bobbio <lunar at debian.org> Wed, 06 Feb 2013 15:00:21 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..4db60ae
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,17 @@
+Source: pyptlib
+Maintainer: Jérémy Bobbio <lunar at debian.org>
+Section: python
+Priority: extra
+Build-Depends: debhelper (>= 8), python-setuptools, python-sphinx
+Standards-Version: 3.9.4
+X-Python-Version: >= 2.7
+Vcs-Git: git://anonscm.debian.org/collab-maint/pyptlib.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/pyptlib.git
+
+Package: python-pyptlib
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Description: library for Tor pluggable transports written in Python
+ pyptlib is a little Python library which understands the Tor pluggable
+ transport managed-proxy protocol. It is useful for developers writing
+ Tor pluggable transports in Python.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..8f6cd8a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,44 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pyptlib
+Upstream-Contact: George Kadianakis <desnacked at riseup.net>
+Source: https://git.torproject.org/pluggable-transports/pyptlib.git
+
+Files: *
+Copyright: Copyright 2012 Brandon Wiley <brandon at blanu.net>
+ Copyright 2012-2013 George Kadianakis <desnacked at riseup.net>
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ .
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ .
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in
+ the documentation and/or other materials provided with the
+ distribution.
+ .
+ * Neither the names of the copyright owners nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Files: debian/*
+Copyright: Copyright 2013 Jérémy Bobbio <lunar at debian.org>
+License: permissive
+ Copying and distribution of this package, with or without
+ modification, are permitted in any medium without royalty
+ provided the copyright notice and this notice are
+ preserved.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..739562a
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,2 @@
+[git-import-orig]
+pristine-tar = True
diff --git a/debian/python-pyptlib.docs b/debian/python-pyptlib.docs
new file mode 100644
index 0000000..15ae37f
--- /dev/null
+++ b/debian/python-pyptlib.docs
@@ -0,0 +1,3 @@
+README.rst
+TODO
+doc/text
diff --git a/debian/python-pyptlib.examples b/debian/python-pyptlib.examples
new file mode 100644
index 0000000..87a8c52
--- /dev/null
+++ b/debian/python-pyptlib.examples
@@ -0,0 +1,2 @@
+examples/client.py
+examples/server.py
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..a09cd51
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@ --buildsystem=python_distutils
+
+override_dh_installdocs:
+ cd sphinx && make text
+ dh_installdocs
+
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+override_dh_auto_test:
+ set -e && \
+ for test in $$(find pyptlib/test -type f -name '*.py'); do \
+ PYTHONPATH=. python $$test; \
+ done
+endif
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/pyptlib.git
More information about the Pkg-privacy-commits
mailing list