[Python-modules-commits] [easyprocess] 03/05: add initial Debian packaging

Sandro Tosi morph at moszumanska.debian.org
Mon Sep 19 12:52:45 UTC 2016


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

morph pushed a commit to branch master
in repository easyprocess.

commit 7dbe2b2a414279d3e5d2b70364a8a92305f1d130
Author: Sandro Tosi <morph at debian.org>
Date:   Fri Sep 16 11:26:13 2016 -0400

    add initial Debian packaging
---
 debian/.git-dpm                 |   3 ++
 debian/changelog                |   6 +++
 debian/compat                   |   1 +
 debian/control                  | 112 ++++++++++++++++++++++++++++++++++++++++
 debian/copyright                |  38 ++++++++++++++
 debian/python3-easyprocess.docs |   1 +
 debian/rules                    |   5 ++
 debian/source/options           |   1 +
 debian/watch                    |   4 ++
 9 files changed, 171 insertions(+)

diff --git a/debian/.git-dpm b/debian/.git-dpm
index c5d8047..87783e4 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -6,3 +6,6 @@
 easyprocess_0.2.2.orig.tar.gz
 e72469c0e3eb1b8eb8f57c55e4785820cf01e56a
 10390
+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..84d6571
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+easyprocess (0.2.2-1) unstable; urgency=low
+
+  * Initial release (closes: #NNNNNN)
+
+ -- Sandro Tosi <morph at debian.org>  Fri, 16 Sep 2016 15:26:12 +0000
+
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..40bcb7e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,112 @@
+Source: easyprocess
+Section: python
+Priority: optional
+Maintainer: Sandro Tosi <morph 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-setuptools,
+               python3-all,
+               python3-setuptools,
+Standards-Version: 3.9.8
+Homepage: https://github.com/ponty/easyprocess
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/easyprocess.git
+Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/easyprocess.git
+
+Package: python-easyprocess
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends},
+Recommends: ${python:Recommends}
+Suggests: ${python:Suggests}
+Description: Easy to use python subprocess interface - Python 2.X
+ EasyProcess is an easy to use python subprocess interface.
+ .
+ Links:
+  * home: https://github.com/ponty/EasyProcess
+  * documentation: http://EasyProcess.readthedocs.org
+  * PYPI: https://pypi.python.org/pypi/EasyProcess
+ .
+ |Travis| |Coveralls| |Latest Version| |Supported Python versions| |License| |Downloads| |Code Health| |Documentation|
+ .
+ Features:
+  - layer on top of subprocess_ module
+  - easy to start, stop programs
+  - easy to get standard output/error, return code of programs
+  - command can be list or string
+  - logging
+  - timeout
+  - unit-tests
+  - cross-platform, development on linux
+  - global config file with program aliases 
+  - shell is not supported
+  - pipes are not supported
+  - stdout/stderr is set only after the subprocess has finished
+  - stop() does not kill whole subprocess tree 
+  - unicode support
+  - supported python versions: 2.6, 2.7, 3.3, 3.4, 3.5
+  - Method chaining_
+ .
+ Similar projects:
+  * execute (http://pypi.python.org/pypi/execute)
+  * commandwrapper (http://pypi.python.org/pypi/commandwrapper)
+  * extcmd (http://pypi.python.org/pypi/extcmd)
+  * sh (https://github.com/amoffat/sh)
+  * envoy (https://github.com/kennethreitz/envoy)
+  * plumbum (https://github.com/tomerfiliba/plumbum)
+ .
+ Basic usage
+ ===========
+ .
+     >>> from easyprocess import EasyProcess
+     >>> EasyProcess('python --version').call().stderr
+     u'Python 2.6.6'
+ .
+
+Package: python3-easyprocess
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends},
+Recommends: ${python3:Recommends}
+Suggests: ${python3:Suggests}
+Description: Easy to use python subprocess interface
+ EasyProcess is an easy to use python subprocess interface.
+ .
+ Links:
+  * home: https://github.com/ponty/EasyProcess
+  * documentation: http://EasyProcess.readthedocs.org
+  * PYPI: https://pypi.python.org/pypi/EasyProcess
+ .
+ |Travis| |Coveralls| |Latest Version| |Supported Python versions| |License| |Downloads| |Code Health| |Documentation|
+ .
+ Features:
+  - layer on top of subprocess_ module
+  - easy to start, stop programs
+  - easy to get standard output/error, return code of programs
+  - command can be list or string
+  - logging
+  - timeout
+  - unit-tests
+  - cross-platform, development on linux
+  - global config file with program aliases 
+  - shell is not supported
+  - pipes are not supported
+  - stdout/stderr is set only after the subprocess has finished
+  - stop() does not kill whole subprocess tree 
+  - unicode support
+  - supported python versions: 2.6, 2.7, 3.3, 3.4, 3.5
+  - Method chaining_
+ .
+ Similar projects:
+  * execute (http://pypi.python.org/pypi/execute)
+  * commandwrapper (http://pypi.python.org/pypi/commandwrapper)
+  * extcmd (http://pypi.python.org/pypi/extcmd)
+  * sh (https://github.com/amoffat/sh)
+  * envoy (https://github.com/kennethreitz/envoy)
+  * plumbum (https://github.com/tomerfiliba/plumbum)
+ .
+ Basic usage
+ ===========
+ .
+     >>> from easyprocess import EasyProcess
+     >>> EasyProcess('python --version').call().stderr
+     u'Python 2.6.6'
+ .
\ No newline at end of file
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..ae30e9f
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,38 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: EasyProcess
+Upstream-Contact: ponty <>
+Source: https://github.com/ponty/easyprocess
+
+Files: *
+Copyright: (c) 2011, ponty
+License: BSD
+
+Files: debian/*
+Copyright: 2016 © Sandro Tosi <morph at debian.org>
+License: BSD
+
+License: BSD
+ Copyright (c) 2011, ponty
+ All rights reserved.
+ .
+ .
+ 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.
+ .
+ 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.
\ No newline at end of file
diff --git a/debian/python3-easyprocess.docs b/debian/python3-easyprocess.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/python3-easyprocess.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e857424
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,5 @@
+#! /usr/bin/make -f
+
+export PYBUILD_NAME=easyprocess
+%:
+	dh $@ --with python3,python2 --buildsystem=pybuild
\ No newline at end of file
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..3101649
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+# try also https://pypi.debian.net/EasyProcess/watch
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/EasyProcess/EasyProcess-(.+)\.(?: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/easyprocess.git



More information about the Python-modules-commits mailing list