[Python-modules-commits] [pyvirtualdisplay] 03/09: add initial Debian packaging

Sandro Tosi morph at moszumanska.debian.org
Thu Sep 22 11:31:41 UTC 2016


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

morph pushed a commit to branch master
in repository pyvirtualdisplay.

commit 2b34a13d0f2af35a36821a7b6c5207ab69dd709c
Author: Sandro Tosi <morph at debian.org>
Date:   Thu Sep 15 07:36:15 2016 -0400

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

diff --git a/debian/.git-dpm b/debian/.git-dpm
index 6d819df..d4efec9 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -6,3 +6,6 @@ c821982c3226409e77e26a99a09e54d2616d0ac5
 pyvirtualdisplay_0.2.orig.tar.gz
 16d406b47f03c2fe2303b573839fa88dfa0e06c7
 29649
+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..677d114
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+pyvirtualdisplay (0.2-1) unstable; urgency=low
+
+  * Initial release (closes: #NNNNNN)
+
+ -- Sandro Tosi <morph at debian.org>  Thu, 15 Sep 2016 11:36:14 +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..f752d75
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,108 @@
+Source: pyvirtualdisplay
+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/pyvirtualdisplay
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/pyvirtualdisplay.git
+Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/pyvirtualdisplay.git
+
+Package: python-pyvirtualdisplay
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends},
+Recommends: ${python:Recommends}
+Suggests: ${python:Suggests}
+Description: python wrapper for Xvfb, Xephyr and Xvnc - Python 2.X
+ pyvirtualdisplay is a python wrapper for Xvfb_, Xephyr_ and Xvnc_
+ .
+ Links:
+  * home: https://github.com/ponty/pyvirtualdisplay
+  * documentation: http://pyvirtualdisplay.readthedocs.org
+  * PYPI: https://pypi.python.org/pypi/pyvirtualdisplay
+ .
+ |Travis| |Coveralls| |Latest Version| |Supported Python versions| |License| |Downloads| |Code Health| |Documentation|
+ .
+ Features:
+  - python wrapper
+  - supported python versions: 2.6, 2.7, 3.3, 3.4, 3.5
+  - back-ends: Xvfb_, Xephyr_, Xvnc_
+ .
+  .. warning:: at least one back-end should be installed
+ .
+ Known problems:
+  - only a few back-end options are supported
+ .
+ Possible applications:
+  * GUI testing
+  * automatic GUI screenshot
+ .
+ Basic usages
+ ============
+ .
+ Start Xephyr::
+ .
+     from pyvirtualdisplay import Display
+     xephyr=Display(visible=1, size=(320, 240)).start()
+ .
+ Create screenshot of xmessage with Xvfb::
+ .
+     from easyprocess import EasyProcess
+     from pyvirtualdisplay.smartdisplay import SmartDisplay
+     with SmartDisplay(visible=0, bgcolor='black') as disp:
+         with EasyProcess('xmessage hello'):
+             img = disp.waitgrab()
+     img.show()
+ .
+
+Package: python3-pyvirtualdisplay
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends},
+Recommends: ${python3:Recommends}
+Suggests: ${python3:Suggests}
+Description: python wrapper for Xvfb, Xephyr and Xvnc
+ pyvirtualdisplay is a python wrapper for Xvfb_, Xephyr_ and Xvnc_
+ .
+ Links:
+  * home: https://github.com/ponty/pyvirtualdisplay
+  * documentation: http://pyvirtualdisplay.readthedocs.org
+  * PYPI: https://pypi.python.org/pypi/pyvirtualdisplay
+ .
+ |Travis| |Coveralls| |Latest Version| |Supported Python versions| |License| |Downloads| |Code Health| |Documentation|
+ .
+ Features:
+  - python wrapper
+  - supported python versions: 2.6, 2.7, 3.3, 3.4, 3.5
+  - back-ends: Xvfb_, Xephyr_, Xvnc_
+ .
+  .. warning:: at least one back-end should be installed
+ .
+ Known problems:
+  - only a few back-end options are supported
+ .
+ Possible applications:
+  * GUI testing
+  * automatic GUI screenshot
+ .
+ Basic usages
+ ============
+ .
+ Start Xephyr::
+ .
+     from pyvirtualdisplay import Display
+     xephyr=Display(visible=1, size=(320, 240)).start()
+ .
+ Create screenshot of xmessage with Xvfb::
+ .
+     from easyprocess import EasyProcess
+     from pyvirtualdisplay.smartdisplay import SmartDisplay
+     with SmartDisplay(visible=0, bgcolor='black') as disp:
+         with EasyProcess('xmessage hello'):
+             img = disp.waitgrab()
+     img.show()
+ .
\ No newline at end of file
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..d8cfa46
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,38 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: PyVirtualDisplay
+Upstream-Contact: ponty <>
+Source: https://github.com/ponty/pyvirtualdisplay
+
+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-pyvirtualdisplay.docs b/debian/python3-pyvirtualdisplay.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/python3-pyvirtualdisplay.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..66a3ed4
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,5 @@
+#! /usr/bin/make -f
+
+export PYBUILD_NAME=pyvirtualdisplay
+%:
+	dh $@ --with python2,python3 --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..47dbc9b
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+# try also https://pypi.debian.net/PyVirtualDisplay/watch
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/PyVirtualDisplay/PyVirtualDisplay-(.+)\.(?: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/pyvirtualdisplay.git



More information about the Python-modules-commits mailing list