Commit 2b34a13d authored by Sandro Tosi's avatar Sandro Tosi

add initial Debian packaging

parent 93fcc655
......@@ -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"
pyvirtualdisplay (0.2-1) unstable; urgency=low
* Initial release (closes: #NNNNNN)
-- Sandro Tosi <morph@debian.org> Thu, 15 Sep 2016 11:36:14 +0000
Source: pyvirtualdisplay
Section: python
Priority: optional
Maintainer: Sandro Tosi <morph@debian.org>
Uploaders: Debian Python Modules Team <python-modules-team@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
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@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
#! /usr/bin/make -f
export PYBUILD_NAME=pyvirtualdisplay
%:
dh $@ --with python2,python3 --buildsystem=pybuild
\ No newline at end of file
extend-diff-ignore="^[^/]+.egg-info/"
# 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)))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment