summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2018-01-29 11:45:12 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2018-01-29 11:45:12 +0000
commit489106b5385a80db7a4d4d4c2a9a11a81b6cb4de (patch)
tree1e570fbabbc5615748c1c10681f70e30c7ec1049
parentAdding upstream version 0.7.0+dfsg. (diff)
downloadpython-evdev-489106b5385a80db7a4d4d4c2a9a11a81b6cb4de.zip
python-evdev-489106b5385a80db7a4d4d4c2a9a11a81b6cb4de.tar.xz
Adding debian version 0.7.0+dfsg-1.debian/0.7.0+dfsg-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/changelog5
-rw-r--r--debian/clean1
-rw-r--r--debian/compat1
-rw-r--r--debian/control63
-rw-r--r--debian/copyright41
-rw-r--r--debian/gbp.conf3
-rw-r--r--debian/patches/removed-images.patch34
-rw-r--r--debian/patches/series1
-rw-r--r--debian/python-evdev-doc.doc-base11
-rw-r--r--debian/python-evdev-doc.docs1
-rw-r--r--debian/python-evdev-doc.manpages1
-rw-r--r--debian/python-evdev.lintian-overrides2
-rwxr-xr-xdebian/rules15
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/options1
-rw-r--r--debian/watch5
16 files changed, 186 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..83db5b9
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-evdev (0.7.0+dfsg-1) unstable; urgency=medium
+
+ * Initial release. Closes: #709988.
+
+ -- Stephen Kitt <skitt@debian.org> Fri, 01 Sep 2017 13:56:02 +0200
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..4abaca3
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+evdev/ecodes.c
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..2a8d476
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,63 @@
+Source: python-evdev
+Section: python
+Priority: optional
+Maintainer: Stephen Kitt <skitt@debian.org>
+Build-Depends: debhelper (>= 10), dh-python, python-setuptools, python3-setuptools, python-docutils, python-sphinx, python-sphinx-rtd-theme, python-all-dev, python3-all-dev
+Standards-Version: 4.1.0
+Homepage: https://github.com/gvalkov/python-evdev
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
+Vcs-Git: https://anonscm.debian.org/git/collab-maint/python-evdev.git
+Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/python-evdev.git
+Testsuite: autopkgtest-pkg-python
+
+Package: python-evdev
+Architecture: any
+Depends: ${python:Depends}, ${misc:Depends}, ${shlibs:Depends}
+Suggests: python-evdev-doc
+Description: Python bindings for the Linux input subsystem
+ This package provides bindings to the generic input event interface
+ in Linux. The evdev interface serves the purpose of passing events
+ generated in the kernel directly to userspace through character
+ devices that are typically located in /dev/input/.
+ .
+ This package also comes with bindings to uinput, the userspace input
+ subsystem. Uinput allows userspace programs to create and handle
+ input devices that can inject events directly into the input
+ subsystem.
+ .
+ This package installs the library for Python 2.
+
+Package: python3-evdev
+Architecture: any
+Depends: ${python3:Depends}, ${misc:Depends}, ${shlibs:Depends}
+Suggests: python-evdev-doc
+Description: Python 3 bindings for the Linux input subsystem
+ This package provides bindings to the generic input event interface
+ in Linux. The evdev interface serves the purpose of passing events
+ generated in the kernel directly to userspace through character
+ devices that are typically located in /dev/input/.
+ .
+ This package also comes with bindings to uinput, the userspace input
+ subsystem. Uinput allows userspace programs to create and handle
+ input devices that can inject events directly into the input
+ subsystem.
+ .
+ This package installs the library for Python 3.
+
+Package: python-evdev-doc
+Architecture: all
+Section: doc
+Depends: ${sphinxdoc:Depends}, ${misc:Depends}
+Description: Python bindings for the Linux input subsystem (docs)
+ This package provides bindings to the generic input event interface
+ in Linux. The evdev interface serves the purpose of passing events
+ generated in the kernel directly to userspace through character
+ devices that are typically located in /dev/input/.
+ .
+ This package also comes with bindings to uinput, the userspace input
+ subsystem. Uinput allows userspace programs to create and handle
+ input devices that can inject events directly into the input
+ subsystem.
+ .
+ This is the documentation package.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..0f1e697
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,41 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: python-evdev
+Source: https://github.com/gvalkov/python-evdev
+Files-Excluded: docs/_static/github-logo.png docs/_static/pacifica-icon-set
+
+Files: *
+Copyright: 2012-2017 Georgi Valkov
+License: BSD-3
+
+Files: debian/*
+Copyright: 2017 Stephen Kitt <skitt@debian.org>
+License: BSD-3
+
+License: BSD-3
+ 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 author 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 AUTHORS OR
+ COPYRIGHT HOLDERS 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/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..28bbcc5
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,3 @@
+[DEFAULT]
+pristine-tar = True
+git-upstream-branch = upstream-dfsg
diff --git a/debian/patches/removed-images.patch b/debian/patches/removed-images.patch
new file mode 100644
index 0000000..db76413
--- /dev/null
+++ b/debian/patches/removed-images.patch
@@ -0,0 +1,34 @@
+Description: Adjust documentation after removing logos
+Author: Stephen Kitt <skitt@debian.org>
+
+--- a/docs/install.rst
++++ b/docs/install.rst
+@@ -8,19 +8,20 @@
+
+ <div style="margin:1em;">
+ <a href="https://aur.archlinux.org/packages/python-evdev/">
+- <img height="30px" src="_static/pacifica-icon-set/distributor-logo-archlinux.png">
++ Arch Linux
+ </a>
+ <a href="http://packages.ubuntu.com/wily/python-evdev">
+- <img height="30px" src="_static/pacifica-icon-set/distributor-logo-ubuntu.png">
++ Ubuntu
+ </a>
+- <a href="https://copr.fedorainfracloud.org/coprs/gvalkov/python-evdev/">
+- <img height="30px" src="_static/pacifica-icon-set/distributor-logo-fedora.png">
++ <a
++ href="https://copr.fedorainfracloud.org/coprs/gvalkov/python-evdev/">
++ Fedora
+ </a>
+ <!--
+- <a href=""><img height="40px" src="_static/pacifica-icon-set/distributor-logo-raspbian.png"></a>
+- <a href=""><img height="40px" src="_static/pacifica-icon-set/distributor-logo-debian.png"></a>
+- <a href=""><img height="40px" src="_static/pacifica-icon-set/distributor-logo-linux-mint.png"></a>
+- <a href=""><img height="40px" src="_static/pacifica-icon-set/distributor-logo-opensuse.png"></a>
++ <a href="">Raspbian</a>
++ <a href="">Debian</a>
++ <a href="">Linux Mint</a>
++ <a href="">OpenSuse</a>
+ --!>
+ </div>
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..1f343f8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+removed-images.patch
diff --git a/debian/python-evdev-doc.doc-base b/debian/python-evdev-doc.doc-base
new file mode 100644
index 0000000..1045278
--- /dev/null
+++ b/debian/python-evdev-doc.doc-base
@@ -0,0 +1,11 @@
+Document: python-evdev
+Title: Debian python-evdev manual
+Author: Georgi Valkov
+Abstract: This manual describes what python-evdev is
+ and how it can be used to access the input subsystem
+ from Python code.
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-evdev-doc/html/index.html
+Files: /usr/share/doc/python-evdev-doc/html/*.html
diff --git a/debian/python-evdev-doc.docs b/debian/python-evdev-doc.docs
new file mode 100644
index 0000000..6d28621
--- /dev/null
+++ b/debian/python-evdev-doc.docs
@@ -0,0 +1 @@
+build/html
diff --git a/debian/python-evdev-doc.manpages b/debian/python-evdev-doc.manpages
new file mode 100644
index 0000000..b697dbc
--- /dev/null
+++ b/debian/python-evdev-doc.manpages
@@ -0,0 +1 @@
+build/man/python-evdev.1
diff --git a/debian/python-evdev.lintian-overrides b/debian/python-evdev.lintian-overrides
new file mode 100644
index 0000000..3d04af3
--- /dev/null
+++ b/debian/python-evdev.lintian-overrides
@@ -0,0 +1,2 @@
+# Ubuntu carried this for Python 2 previously
+python-evdev: new-package-should-not-package-python2-module python-evdev
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..c80f10a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=evdev
+
+%:
+ dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_auto_build:
+ dh_auto_build
+ PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ build/html
+ PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bman docs/ build/man
+
+# By default, changelog.html ends up being compressed
+override_dh_compress:
+ dh_compress -X.html
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..cb61fa5
--- /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..a0dfc8b
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+version=4
+
+opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%<project>-$1.tar.gz%,dversionmangle=s/\+dfsg\d*$//,repacksuffix=+dfsg" \
+ https://github.com/gvalkov/python-evdev/tags \
+ (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate