From 6e297cacff6acde1477f63443b8a06aca93b92c2 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Fri, 22 Mar 2019 00:50:49 -0400 Subject: [PATCH] debian: add packaging files Signed-off-by: Alfredo Deza --- debian/changelog | 13 +++++++++++++ debian/compat | 1 + debian/control | 33 +++++++++++++++++++++++++++++++++ debian/copyright | 30 ++++++++++++++++++++++++++++++ debian/gbp.conf | 10 ++++++++++ debian/remoto.lintian-overrides | 2 ++ debian/rules | 8 ++++++++ debian/source/format | 1 + debian/source/options | 1 + 9 files changed, 99 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/gbp.conf create mode 100644 debian/remoto.lintian-overrides create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/source/options diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..30ef689 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,13 @@ +remoto (0.0.29-0ubuntu0.16.04.2) xenial; urgency=medium + + * d/patches: drop bundled execnet, rework patches for gbp + * d/control: add extended description for lintian + * d/control: Build-Depends execnet + + -- Ken Dreyer Mon, 03 Jul 2017 16:19:14 -0600 + +remoto (0.0.29-0ubuntu0.16.04.1) xenial; urgency=medium + + * Latest upstream release + + -- Ken Dreyer Thu, 29 Jun 2017 11:22:45 -0600 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..4c95fd6 --- /dev/null +++ b/debian/control @@ -0,0 +1,33 @@ +Source: remoto +Maintainer: Ken Dreyer +Section: python +Priority: optional +Build-Depends: + debhelper (>= 7.4.3), + dh-python, + python, + python-execnet, + python-mock, + python-pytest, + python-setuptools, + python3, + python3-execnet, + python3-mock, + python3-pytest, + python3-setuptools +Standards-Version: 3.9.7 +X-Python-Version: >=2.7 + +Package: python-remoto +Architecture: all +Depends: ${misc:Depends}, ${python:Depends} +Description: Execute remote commands or processes + A very simplistic remote-command-executor using ssh and Python in the remote + end. + +Package: python3-remoto +Architecture: all +Depends: ${misc:Depends}, ${python3:Depends} +Description: Execute remote commands or processes + A very simplistic remote-command-executor using ssh and Python in the remote + end. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..b9c4f54 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,30 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 +Upstream-Name: remoto +Source: https://github.com/alfredodeza/remoto + +Files: * +Copyright: 2013 Alfredo Deza +License: Expat + +Files: debian/* +Copyright: 2017 Red Hat, Inc. +License: Expat + +License: Expat + 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/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..c7a5ad9 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,10 @@ +[DEFAULT] +debian-branch = xenial +pristine-tar = True +upstream-tag = upstream/%(version)s + +[dch] +# Use git committer as author +git-author = True +# Use a simple message format +multimaint-merge = False diff --git a/debian/remoto.lintian-overrides b/debian/remoto.lintian-overrides new file mode 100644 index 0000000..b811d18 --- /dev/null +++ b/debian/remoto.lintian-overrides @@ -0,0 +1,2 @@ +# Package has not yet been submitted to Debian. +new-package-should-close-itp-bug diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..55bc857 --- /dev/null +++ b/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +export DH_VERBOSE=1 + +export PYBUILD_NAME=remoto + +%: + dh $@ --with python2,python3 --buildsystem=pybuild 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..bcc4bbb --- /dev/null +++ b/debian/source/options @@ -0,0 +1 @@ +extend-diff-ignore="\.egg-info$" \ No newline at end of file -- 2.39.5