[Python-modules-commits] [sshpubkeys] 02/02: Add initial Debian packaging

Vincent Bernat bernat at moszumanska.debian.org
Thu Nov 23 12:59:54 UTC 2017


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

bernat pushed a commit to annotated tag debian/2.2.0-1
in repository sshpubkeys.

commit 535d385160e455e7c7a45bf0f0ba60d5a90a97fa
Author: Vincent Bernat <vincent at bernat.im>
Date:   Thu Nov 23 13:41:11 2017 +0100

    Add initial Debian packaging
---
 debian/changelog               |  6 ++++++
 debian/compat                  |  1 +
 debian/control                 | 43 ++++++++++++++++++++++++++++++++++++++++++
 debian/copyright               | 43 ++++++++++++++++++++++++++++++++++++++++++
 debian/python3-sshpubkeys.docs |  1 +
 debian/rules                   |  8 ++++++++
 debian/source/format           |  1 +
 debian/source/options          |  1 +
 debian/watch                   |  4 ++++
 9 files changed, 108 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..e7eba3f
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+sshpubkeys (2.2.0-1) unstable; urgency=low
+
+  * Initial release (closes: #882488)
+
+ -- Vincent Bernat <bernat at debian.org>  Thu, 23 Nov 2017 13:50:10 +0100
+
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..77a6e5a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,43 @@
+Source: sshpubkeys
+Section: python
+Priority: optional
+Maintainer: Vincent Bernat <bernat at debian.org>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 9), dh-python,
+               python-all,
+               python-crypto (>= 2.6),
+               python-ecdsa,
+               python-setuptools,
+               python3-all,
+               python3-crypto (>= 2.6),
+               python3-ecdsa,
+               python3-setuptools,
+Standards-Version: 4.1.1
+Homepage: https://github.com/ojarva/python-sshpubkeys
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/sshpubkeys.git
+Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/sshpubkeys.git
+Testsuite: autopkgtest-pkg-python
+
+Package: python-sshpubkeys
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends},
+Recommends: ${python:Recommends}
+Suggests: ${python:Suggests}
+Description: SSH public key parser - Python 2
+ This module provides a native implementation for validating OpenSSH
+ public keys.  Currently ssh-rsa, ssh-dss (DSA), ssh-ed25519 and ecdsa
+ keys with NIST curves are supported.
+ .
+ This package contains the module for Python 2.
+
+Package: python3-sshpubkeys
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends},
+Recommends: ${python3:Recommends}
+Suggests: ${python3:Suggests}
+Description: SSH public key parser - Python 3
+ This module provides a native implementation for validating OpenSSH
+ public keys.  Currently ssh-rsa, ssh-dss (DSA), ssh-ed25519 and ecdsa
+ keys with NIST curves are supported.
+ .
+ This package contains the module for Python 3.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..5197c4c
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,43 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: sshpubkeys
+Upstream-Contact: Olli Jarva <olli at jarva.fi>
+Source: https://github.com/ojarva/python-sshpubkeys
+
+Files: *
+Copyright: Olli Jarva <olli at jarva.fi>
+License: BSD-3-clause
+
+Files: debian/*
+Copyright: 2017 © Vincent Bernat <bernat at debian.org>
+License: BSD-3-clause
+Comment:
+ License is not clearly stated in distributed tarball. See:
+ https://github.com/ojarva/python-sshpubkeys/blob/master/LICENSE.txt
+ (reproduced here).
+
+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:
+ .
+ 1. Redistributions of source code must retain the above copyright notice, 
+    this list of conditions and the following disclaimer.
+ .
+ 2. 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.
+ .
+ 3. Neither the name of the copyright holder 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 HOLDER 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.
diff --git a/debian/python3-sshpubkeys.docs b/debian/python3-sshpubkeys.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/python3-sshpubkeys.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..5c90548
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,8 @@
+#! /usr/bin/make -f
+
+export PYBUILD_NAME=sshpubkeys
+%:
+	dh $@ --with python3,python2 --buildsystem=pybuild
+
+override_dh_auto_test:
+	# No test shipped
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)
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..d81db3f
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore="^[^/]+.egg-info/"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..770542c
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+# try also https://pypi.debian.net/sshpubkeys/watch
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/sshpubkeys/sshpubkeys-(.+)\.(?: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/sshpubkeys.git



More information about the Python-modules-commits mailing list