Commit 3b43484f authored by Marc Deslauriers's avatar Marc Deslauriers Committed by Andrej Shadura

Imported Debian patch 0.14+20091101-1ubuntu2

parent 3b6f70c4
python-xlib (0.14+20091101-1ubuntu2) saucy; urgency=low
* debian/patches/python3: updated to fix a couple of porting errors
resulting in get_full_property() throwing an exception. (LP: #1231453)
-- Marc Deslauriers <marc.deslauriers@ubuntu.com> Fri, 11 Oct 2013 14:22:01 -0400
python-xlib (0.14+20091101-1ubuntu1) saucy; urgency=low
* Drop obsolete python-support, move to dh_python2.
* Reduce texlive build dependency to texlive-latex-base, which is much less
heavyweight.
* Add debian/patches/python3: Port code to work with Python 3.
(http://sourceforge.net/p/python-xlib/patches/5)
* Build a python3-xlib package.
* debian/rules: Add missing dh_clean for clean target. (Closes: #671157)
* debian/rules: Clean doc/ directory, too.
-- Martin Pitt <martin.pitt@ubuntu.com> Wed, 28 Aug 2013 12:43:02 +0200
python-xlib (0.14+20091101-1) unstable; urgency=low
[ Mike O'Connor ]
......
Source: python-xlib
Section: python
Priority: extra
Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
XSBC-Original-Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Uploaders: Mike O'Connor <stew@debian.org>
Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11), quilt
Build-Depends-Indep: python-support (>= 0.3), texlive, texinfo
Build-Depends: debhelper (>= 5.0.37.2), python-all (>= 2.3.5-11), python3-all, quilt
Build-Depends-Indep: texlive-latex-base, texinfo
Standards-Version: 3.8.3
Homepage: http://python-xlib.sourceforge.net/
Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-xlib/trunk/
Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-xlib/trunk/
X-Python-Version: >= 2.5
X-Python3-Version: >= 3.1
Package: python-xlib
Architecture: all
Depends: ${python:Depends}, ${misc:Depends}, dpkg (>= 1.15.4) | install-info
Replaces: python2.3-xlib (<< 0.12-5.1), python2.4-xlib (<< 0.12-5.1), python-xlib-doc
Conflicts: python2.3-xlib (<< 0.12-5.1), python2.4-xlib (<< 0.12-5.1), python-xlib-doc
XB-Python-Version: ${python:Versions}
Description: Interface for Python to the X11 Protocol
python-xlib is a 100% pure Python implementation of the X11
protocol. It currently implements client-side X11R6 fully, supports
the resource database, ICCM, and the Shape extension.
Package: python3-xlib
Architecture: all
Depends: ${python3:Depends}, ${misc:Depends}, dpkg (>= 1.15.4) | install-info
Description: Interface for Python 3 to the X11 Protocol
python-xlib is a 100% pure Python 3 implementation of the X11
protocol. It currently implements client-side X11R6 fully, supports
the resource database, ICCM, and the Shape extension.
This diff is collapsed.
......@@ -3,3 +3,4 @@ increase-receiving-buffer
add-texinfo-dir-entry
fix-ssh-tunnel-auth
fix-rhomboid-examples
python3
......@@ -10,12 +10,13 @@
include /usr/share/quilt/quilt.make
PYVERS:=$(shell pyversions -r)
PY3VERS:=$(shell py3versions -r)
build: build-stamp
build-stamp: patch
dh_testdir
set -e; \
for py in $(PYVERS); do \
for py in $(PYVERS) $(PY3VERS); do \
$$py setup.py build; \
done
make -C doc
......@@ -24,13 +25,14 @@ build-stamp: patch
clean: unpatch
dh_testdir
dh_testroot
-for py in $(PYVERS); do \
dh_clean
-for py in $(PYVERS) $(PY3VERS); do \
$$py setup.py clean; \
done
rm -f install-stamp build-stamp
find Xlib -name \*.pyc | xargs rm -f
rm -rf build
make -C doc/info clean
make -C doc clean
install: install-stamp
install-stamp:
......@@ -42,8 +44,13 @@ install-stamp:
for py in $(PYVERS); do \
$$py setup.py install --root=debian/python-xlib; \
done
for py in $(PY3VERS); do \
$$py setup.py install --root=debian/python3-xlib; \
done
dh_installdocs -A
dh_installexamples
dh_installexamples -A examples/*.py
# adjust python3 examples hashbang
sed -i '1 s/python$$/python3/' debian/python3-xlib/usr/share/doc/*/examples/*.py
dh_installinfo doc/info/*.info
touch install-stamp
......@@ -57,7 +64,8 @@ binary-indep: build install
dh_installchangelogs NEWS
dh_compress -X.py
dh_fixperms
dh_pysupport
dh_python2
dh_python3
dh_installdeb
dh_gencontrol
dh_md5sums
......
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