Commit e177eb4d authored by Pierre Habouzit's avatar Pierre Habouzit Committed by Andrej Shadura

Imported Debian patch 0.12-5.1

parent 3e298216
python-xlib (0.12-5.1) unstable; urgency=low
* Non-maintainer upload.
* Fix old FSF address.
* Update package to new python policy (Closes: #373367).
-- Pierre Habouzit <madcoder@debian.org> Fri, 30 Jun 2006 11:18:19 +0200
python-xlib (0.12-5) unstable; urgency=low
* New maintainer (closes: #254793)
......
......@@ -2,31 +2,19 @@ Source: python-xlib
Section: python
Priority: extra
Maintainer: Martin v. Löwis <martin@v.loewis.de>
Build-Depends-Indep: debhelper (>= 4.1.67), python (>= 2.3), texinfo
Standards-Version: 3.6.2
Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11)
Build-Depends-Indep: python-support (>= 0.3), texinfo
Standards-Version: 3.7.2
Package: python-xlib
Architecture: all
Depends: ${python:Depends}
Description: Interface for Python to the X11 Protocol (dummy package)
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: python2.3-xlib
Architecture: all
Depends: python2.3
Provides: ${python:Provides}
Replaces: python2.3-xlib (<< 0.12-5.1), python2.4-xlib (<< 0.12-5.1)
Conflicts: python2.3-xlib (<< 0.12-5.1), python2.4-xlib (<< 0.12-5.1)
Suggests: python-xlib-doc
Description: Interface for Python to the X11 Protocol (for Python2.3)
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: python2.4-xlib
Architecture: all
Depends: python2.4
Suggests: python-xlib-doc
Description: Interface for Python to the X11 Protocol (for Python2.4)
XB-Python-Version: ${python:Versions}
Description: Interface for Python to the X11 Protocol (dummy package)
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.
......
......@@ -22,8 +22,8 @@ Copyright (C) 2001-2002 Moshe Zadka
You should have received a copy of the GNU General Public License
along with this package; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
MA 02110-1301, USA.
On Debian systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL'.
......@@ -7,12 +7,24 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
build:
PYVERS:=$(shell pyversions -r)
build: build-stamp
build-stamp:
dh_testdir
set -e; \
for py in $(PYVERS); do \
$$py setup.py build; \
done
make -C doc/info.deb
touch $@
clean:
dh_testdir
dh_testroot
-for py in $(PYVERS); do \
$$py setup.py clean; \
done
rm -f install-stamp build-stamp
find Xlib -name \*.pyc | xargs rm -f
make -C doc/info.deb clean
......@@ -24,8 +36,10 @@ install-stamp:
dh_testroot
dh_clean -k
dh_installdirs
dh_install -Xcvsignore -ppython2.3-xlib Xlib usr/lib/python2.3/site-packages
dh_install -Xcvsignore -ppython2.4-xlib Xlib usr/lib/python2.4/site-packages
set -e; \
for py in $(PYVERS); do \
$$py setup.py install --root=debian/python-xlib; \
done
dh_installdocs -A -Xcvsignore
# installdocs doesn't copy the symbolic link
dh_install -ppython-xlib-doc doc/html/*.html usr/share/doc/python-xlib-doc/html
......@@ -43,13 +57,14 @@ binary-indep: build install
dh_installchangelogs
dh_compress -X.py
dh_fixperms
dh_pysupport
dh_python
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
source diff:
source diff:
@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
binary: binary-indep binary-arch
......
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