Commit 84d666f1 authored by Thomas Bushnell's avatar Thomas Bushnell Committed by Andrej Shadura

Imported Debian patch 0.12-4

parent fcc38d6e
python-xlib (0.12-4) unstable; urgency=low
* QA Upload.
* Set maintainer to Debian QA Group <packages@qa.debian.org>.
-- Thomas Bushnell, BSG <tb@debian.org> Sat, 7 Aug 2004 18:11:23 -0700
python-xlib (0.12-3.2) unstable; urgency=low
* NMU
* Move section to python (closes: #208179).
* Remove .pyc's in clean target.
-- Josselin Mouette <joss@debian.org> Fri, 12 Sep 2003 13:00:42 +0200
python-xlib (0.12-3.1) unstable; urgency=low
* NMU
* Move to section python, and doc for the doc package.
* Build a python2.3 version.
* Use dh_python, build-depend accordingly.
* Correct boilerplate in copyright.
* Remove postinst/prerm stuff, it is now autogenerated.
* Link to system GPL in copyright.
-- Josselin Mouette <joss@debian.org> Fri, 29 Aug 2003 00:24:50 +0200
python-xlib (0.12-3) unstable; urgency=low
* Set PV in python2.2-xlib (Closes: #159671)
* Oops, info-browser, not info-reader (Closes: #159758)
-- Moshe Zadka <moshez@debian.org> Sat, 7 Sep 2002 16:50:11 +0300
python-xlib (0.12-2) unstable; urgency=low
* Building support for python 2.1 and 2.2
* Switching to 2.2 as default Python version
-- Moshe Zadka <moshez@debian.org> Thu, 23 May 2002 20:27:30 +0300
python-xlib (0.12-1) unstable; urgency=low
* New upstream version.
......
Source: python-xlib
Section: x11
Section: python
Priority: extra
Maintainer: Moshe Zadka <moshez@debian.org>
Build-Depends-Indep: debhelper
Maintainer: Debian QA Group <packages@qa.debian.org>
Build-Depends-Indep: debhelper (>= 4.1.67), python (>= 2.3)
Standards-Version: 3.5.6
Package: python-xlib
Architecture: all
Depends: python (>= 2.1), python (<< 2.2)
Description: Interface for Python to the X11 Protocol
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.
Package: python2.1-xlib
Architecture: all
Depends: python2.1
Description: Interface for Python to the X11 Protocol (for Python2.1)
python-xlib is a 100% pure python implementation of the X11
protocol.
Package: python2.2-xlib
Architecture: all
Depends: python2.2
Description: Interface for Python to the X11 Protocol (for Python2.2)
python-xlib is a 100% pure python implementation of the X11
protocol.
Package: python2.3-xlib
Architecture: all
Depends: python2.3
Description: Interface for Python to the X11 Protocol (for Python2.3)
python-xlib is a 100% pure python implementation of the X11
protocol.
Package: python-xlib-doc
Architecture: all
Section: doc
Recommends: info-browser
Description: Documentation for the Python interface to the X11 Protocol
python-xlib is a 100% pure python implementation of the X11
protocol.
......@@ -3,11 +3,23 @@ sun, 15 Jul 2001 13:03:04 +0300.
It was downloaded from http://python-xlib.sf.net
Upstream Author(s): Peter Liljenberg
Upstream Author: Peter Liljenberg
Copyright:
Copyright (C) 2000,2001 Peter Liljenberg
The Python X Library is released under GPL, see the file COPYING for
details.
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 dated June, 1991.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
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.
On Debian systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL'.
usr/lib/python2.1/site-packages/Xlib
usr/share/info
usr/share/doc/python-xlib/
usr/share/doc/python-xlib/examples
usr/share/doc/python-xlib/html
#! /bin/sh -e
#
# postinst script for Debian python packages.
# Written 1998 by Gregor Hoffleit <flight@debian.org>.
# Modified 2001 by Matthias Klose <doko@debian.org>
# Modified 2002 by Moshe Zadka <moshez@debian.org>
PACKAGE=`basename $0 .postinst`
PV=`dpkg --listfiles $PACKAGE | sed -n -e '/^\/usr\/lib\/python.*\//{
s,/usr/lib/python\([0-9][0-9.]*\)/.*,\1,p
q
}'`
PYTHON=python$PV
DIRLIST="/usr/lib/python$PV/site-packages/Xlib"
case "$1" in
configure|abort-upgrade|abort-remove|abort-deconfigure)
for i in $DIRLIST ; do
/usr/bin/$PYTHON -O /usr/lib/python$PV/compileall.py -q $i
/usr/bin/$PYTHON /usr/lib/python$PV/compileall.py -q $i
done
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
if [ "$1" = "configure" ]; then
if [ -d /usr/doc -a ! -e /usr/doc/$PACKAGE -a -d /usr/share/doc/$PACKAGE ]; then
ln -sf ../share/doc/$PACKAGE /usr/doc/$PACKAGE
fi
fi
exit 0
#! /bin/sh -e
#
# sample prerm script for Debian python packages.
# Written 1998 by Gregor Hoffleit <flight@debian.org>.
# Modified 2002 by Moshe Zadka <moshez@debian.org>.
#
PACKAGE=`basename $0 .prerm`
dpkg --listfiles $PACKAGE |
awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
xargs rm -f >&2
if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/$PACKAGE ]; then
rm -f /usr/doc/$PACKAGE
fi
usr/share/doc/python-xlib-doc/
usr/share/doc/python-xlib-doc/examples
usr/share/doc/python-xlib-doc/html
usr/share/info
usr/share/doc/python-xlib/
usr/lib/python2.1/site-packages/Xlib
usr/share/doc/python2.1-xlib/
usr/lib/python2.2/site-packages/Xlib
usr/share/doc/python2.2-xlib/
usr/lib/python2.3/site-packages/Xlib
usr/share/doc/python2.3-xlib/
......@@ -8,7 +8,7 @@
#export DH_VERBOSE=1
# This is the debhelper compatability version to use.
export DH_COMPAT=1
export DH_COMPAT=2
build: build-stamp
build-stamp:
......@@ -21,6 +21,7 @@ clean:
dh_testroot
rm -f build-stamp install-stamp
find Xlib -name \*.pyc | xargs rm -f
# Add here commands to clean up after the build process.
dh_clean
......@@ -31,15 +32,23 @@ install-stamp: build-stamp
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/tmp.
cp -r Xlib debian/tmp/usr/lib/python2.1/site-packages/
find debian/tmp/usr/lib/python2.1/site-packages/ -name .cvsignore -print | xargs rm
cp README NEWS TODO debian/tmp/usr/share/doc/python-xlib
cp doc/html/*.html debian/tmp/usr/share/doc/python-xlib/html
cp doc/info/*.info debian/tmp/usr/share/info
gzip -9 debian/tmp/usr/share/info/python-xlib.info
cp examples/*.py debian/tmp/usr/share/doc/python-xlib/examples
cp debian/copyright debian/tmp/usr/share/doc/python-xlib/
# Add here commands to install the package into debian/<package>.
cp -r Xlib debian/python2.1-xlib/usr/lib/python2.1/site-packages/
cp -r Xlib debian/python2.2-xlib/usr/lib/python2.2/site-packages/
cp -r Xlib debian/python2.3-xlib/usr/lib/python2.3/site-packages/
find debian/python2.1-xlib/usr/lib/python2.1/site-packages/ -name .cvsignore -print | xargs rm
find debian/python2.2-xlib/usr/lib/python2.2/site-packages/ -name .cvsignore -print | xargs rm
find debian/python2.3-xlib/usr/lib/python2.3/site-packages/ -name .cvsignore -print | xargs rm
cp README NEWS TODO debian/python-xlib-doc/usr/share/doc/python-xlib-doc
cp doc/html/*.html debian/python-xlib-doc/usr/share/doc/python-xlib-doc/html
cp doc/info/*.info debian/python-xlib-doc/usr/share/info
gzip -9 debian/python-xlib-doc/usr/share/info/python-xlib.info
cp examples/*.py debian/python-xlib-doc/usr/share/doc/python-xlib-doc/examples
cp debian/copyright debian/python2.1-xlib/usr/share/doc/python2.1-xlib/
cp debian/copyright debian/python2.2-xlib/usr/share/doc/python2.2-xlib/
cp debian/copyright debian/python2.3-xlib/usr/share/doc/python2.3-xlib/
cp debian/copyright debian/python-xlib/usr/share/doc/python-xlib/
cp debian/copyright debian/python-xlib-doc/usr/share/doc/python-xlib-doc/
touch install-stamp
......@@ -55,6 +64,7 @@ binary-indep: build install
dh_installchangelogs
dh_compress
dh_fixperms
dh_python
dh_installdeb
dh_shlibdeps
dh_gencontrol
......
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