debian/0000775000000000000000000000000012316332514007170 5ustar debian/source/0000775000000000000000000000000011732641153010473 5ustar debian/source/format0000664000000000000000000000001411732641153011701 0ustar 3.0 (quilt) debian/copyright0000664000000000000000000000224411725510337011131 0ustar This package was debianized by Jani Monoses on Wed, 6 Sep 2006 13:09:13 +0300. It was downloaded from http://cyberelk.net/tim/data/pycups/ Upstream Author: Tim Waugh Copyright 2006, Tim Waugh License: 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; either version 2 of the License, or (at your option) any later version. 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., 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'. The Debian packaging is (C) 2006, Jani Monoses and is licensed under the GPL, see above. debian/changelog0000664000000000000000000002524212316332513011046 0ustar python-cups (1.9.66-0ubuntu2) trusty; urgency=medium * No change rebuild to drop python3.3 compiled extension. -- Dimitri John Ledkov Mon, 31 Mar 2014 19:34:51 +0100 python-cups (1.9.66-0ubuntu1) trusty; urgency=low * New upstream release o Python3 compatibility o cupsconnection.c (PyObject_from_attr_value): Fix getting of booleans. o cupsconnection.c (UTF8_from_PyObj): Propagate UTF-8 decoding errors. o cupsconnection.c: Don't just append printer name to base URI to get printer URI. Need to actually encode the name. o cupsconnection.c: Fixed documentation typo for Connection.getPPDs2. * debian/patches/python3.patch: Removed, included upstream. -- Till Kamppeter Wed, 19 Feb 2014 13:08:03 +0100 python-cups (1.9.63-0ubuntu2) trusty; urgency=medium * Rebuild for python3.4 as a supported python version. -- Matthias Klose Sat, 04 Jan 2014 18:32:21 +0000 python-cups (1.9.63-0ubuntu1) saucy; urgency=low * New upstream release o cupsconnection.c (set_ipp_error): IPPError tuple now contains a string describing the specific error encountered, if available. * debian/patches/python3.patch: Refreshed with quilt. -- Till Kamppeter Tue, 27 Aug 2013 20:56:41 +0200 python-cups (1.9.62-0ubuntu3) raring; urgency=low * Rebuild to drop python3.2 extension. -- Matthias Klose Thu, 08 Nov 2012 11:16:08 +0000 python-cups (1.9.62-0ubuntu2) raring-proposed; urgency=low * Rebuild against python3.3. -- Dmitrijs Ledkovs Tue, 23 Oct 2012 16:34:36 +0100 python-cups (1.9.62-0ubuntu1) quantal; urgency=low * New upstream release (LP: #1032105) o cupsppd.c (PPD_dealloc): Add missing NULL check for debugging message (LP: #951001). o cupsmodule.c: Define all constants regardless of which version of CUPS is built against. * debian/patches/cupsppd-ppd-dealloc-null-check.patch: Removed, incorporated upstream. * debian/patches/python3.patch: Updated to match new source code. -- Till Kamppeter Thu, 02 Aug 2012 22:07:22 +0200 python-cups (1.9.61-0ubuntu3) quantal; urgency=low * Build for python3. -- Matthias Klose Wed, 13 Jun 2012 16:33:08 +0200 python-cups (1.9.61-0ubuntu2) precise; urgency=low * debian/patches/cupsppd-ppd-dealloc-null-check.patch: Added NULL check to the PPD_dealloc() function in cupsppd.c. * debian/source/format: Set format 3.0/quilt. -- Till Kamppeter Thu, 22 Mar 2012 16:23:09 +0100 python-cups (1.9.61-0ubuntu1) precise; urgency=low * New upstream bug fix release o IPPRequest_getAttributes() hardened for Py* failures. o Prevent NULL dereference when Py_BuildValue fails (Upstream bug #17). o Use Py_RETURN_NONE where appropriate. o Fixed reference count issues with Py_None (Upstream bug #17). o HTTP_AUTHORIZATION_CANCELED constant requires CUPS 1.4 (Upstream bug #16). o Object lifecycle debugging in cupsppd.c. -- Till Kamppeter Tue, 06 Mar 2012 23:34:09 +0100 python-cups (1.9.60-0ubuntu1) precise; urgency=low * New upstream release o cupsmodule.c: New constants defined. -- Till Kamppeter Mon, 30 Jan 2012 14:20:54 +0100 python-cups (1.9.59-0ubuntu1) precise; urgency=low * fix LP: #883112 - python-cups no longer depends on libcups2; Add back ${shlibs:Depends}, accidentally dropped during the dh_python2 conversion - update debian/control -- Micah Gersten Fri, 28 Oct 2011 11:56:07 -0500 python-cups (1.9.59-0ubuntu0.1) oneiric-proposed; urgency=low * New upstream bug fix release o CUPS password callback: Return NULL instead of the empty string when handling an exception or when the callback returned an empty string, and handle the callback returning None. This avoids infinite password dialog loops (LP: #653132). -- Till Kamppeter Tue, 04 Oct 2011 15:58:18 +0200 python-cups (1.9.58-0ubuntu1) oneiric; urgency=low * New upstream release o New adminExportSamba method for the Connection class. -- Till Kamppeter Sun, 31 Jul 2011 14:17:48 +0200 python-cups (1.9.56-0ubuntu3) oneiric; urgency=low * By setting --buildsystem, the rules file can be simplified. -- Barry Warsaw Fri, 01 Jul 2011 11:11:43 +0100 python-cups (1.9.56-0ubuntu2) oneiric; urgency=low * Switch to dh_python2. (LP: #788514) -- Barry Warsaw Wed, 29 Jun 2011 18:18:45 +0100 python-cups (1.9.56-0ubuntu1) oneiric; urgency=low * New upstream release o Support for IPP_TAG_RESOLUTION. o IPP_RES_PER_CM, IPP_RES_PER_INCH, IPP orientation and quality constants. -- Till Kamppeter Fri, 03 Jun 2011 00:04:44 +0200 python-cups (1.9.54-0ubuntu1) natty; urgency=low * New upstream release o RPM hooks for tagging packages with Device IDs of models supported by drivers. o More defensive coding for deleting a printer from a class (Red Hat bug #673468). -- Till Kamppeter Wed, 23 Feb 2011 13:42:43 +0100 python-cups (1.9.53-0ubuntu1) natty; urgency=low * New upstream release o Added Connection.getPPDs2() method which reading out arrays from the IPP responses of PPD/driver list polls. o New function get_TLS(). o Use thread-local storage for CUPS password callback to avoid segmentation faults (Red Hat bug #662805). * debian/patches/ppd-list-extract-also-arrays.patch: Removed, functionality implemented upstream by the Connection.getPPDs2() method. -- Till Kamppeter Mon, 31 Jan 2011 09:49:19 +0100 python-cups (1.9.51-0ubuntu3) natty; urgency=low * Rebuild to add support for python 2.7. -- Matthias Klose Fri, 03 Dec 2010 00:10:05 +0000 python-cups (1.9.51-0ubuntu2) maverick; urgency=low * debian/patches/ppd-list-extract-also-arrays.patch: When polling a list of available PPDs/drivers from CUPS also read out data arrays from the IPP reply and not only the first values. Especially the info of all "*Product:" lines and of all supported languages of PPDs get available this way. To keep backwards-compatibility, the full arrays are in new fields in the output dictionaries, named as the old fields suffixed by "-all", like "ppd-product-all". * debian/rules: Added patch support. -- Till Kamppeter Wed, 21 Jul 2010 15:12:56 +0200 python-cups (1.9.51-0ubuntu1) maverick; urgency=low * New upstream release o Getting up to date with the CUPS API binding new functions and constants. o Fix for a stack overflow in Connection.deletePrinterOptionDefault. -- Till Kamppeter Tue, 13 Jul 2010 23:36:56 +0200 python-cups (1.9.49-0ubuntu1) lucid; urgency=low * New upstream release o Fixes LP: #545755 (Red Hat bug #567386). o The new release only adds the above-mentioned bug fix, nothing else (according to the ChangeLog file), so no problem with the Lucid FF. -- Till Kampeter Thu, 25 Mar 2010 13:17:56 +0100 python-cups (1.9.48-0ubuntu1) lucid; urgency=low * New upstream release -- Till Kampeter Tue, 09 Feb 2010 21:02:36 +0100 python-cups (1.9.46-0ubuntu3) lucid; urgency=low * Rebuild dropping the extension for python2.5. -- Matthias Klose Mon, 01 Feb 2010 22:05:02 +0000 python-cups (1.9.46-0ubuntu2) karmic; urgency=low * debian/control: libcupsys2-dev → libcups2-dev, we want to get rid of the old names finally. (See Debian #494032) -- Martin Pitt Tue, 01 Sep 2009 13:03:54 +0200 python-cups (1.9.46-0ubuntu1) karmic; urgency=low * New upstream release -- Till Kamppeter Sat, 25 Jul 2009 12:59:27 +0200 python-cups (1.9.45-0ubuntu2) jaunty; urgency=low * Rebuild for python2.6. -- Matthias Klose Sun, 22 Feb 2009 14:26:17 +0100 python-cups (1.9.45-0ubuntu1) jaunty; urgency=low * New upstream release -- Till Kamppeter Sun, 25 Jan 2009 18:26:30 +0100 python-cups (1.9.41-0ubuntu1) intrepid; urgency=low * New upstream release -- Till Kamppeter Thu, 31 Jul 2008 12:47:13 +0200 python-cups (1.9.39-0ubuntu1) intrepid; urgency=low * New upstream release -- Till Kamppeter Mon, 09 Jun 2008 16:00:36 +0100 python-cups (1.9.34-0ubuntu1) hardy; urgency=low * New upstream release o Fixed job handling bug LP: #185363. -- Till Kamppeter Wed, 06 Feb 2008 15:47:02 +0100 python-cups (1.9.32-0ubuntu1) hardy; urgency=low * New upstream release o Crasher fixes, especially LP: #177359. -- Till Kamppeter Fri, 21 Dec 2007 14:50:44 +0000 python-cups (1.9.31-1) unstable; urgency=low * Imported upstream version 1.9.31 * Bump standards-version to 3.7.3 (no changes required) * Replace XS-VCS-* fields with VCS-* ones since dpkg has support for them now -- Otavio Salvador Sat, 15 Dec 2007 19:04:19 -0200 python-cups (1.9.24-1) unstable; urgency=low * New Upstream Version * debian/pycompat: Readd since CDBS needs it and ends recreating it anyway. * debian/watch: Use git-import-orig instead of uupdate so it integrates better with our git repository. * debian/rules: export upstream version since the upstream has change the building system and now uses a mix between python-distutils and Makefile. * debian/control, debian/pyversions: Stop using XS-Python-Version -- Otavio Salvador Wed, 04 Jul 2007 15:28:47 -0300 python-cups (1.9.21-3) unstable; urgency=low * debian/control: - Add XS-VCS-{Git,Browser} fields. - Change my e-mail to use the @debian.org. - Remove XB-Python-Version field. * debian/pycompat: Removed. -- Otavio Salvador Fri, 18 May 2007 21:23:37 -0300 python-cups (1.9.21-2) unstable; urgency=low * debian/control: Add build-depends on libcupsys2-dev, closes: #424980. -- Otavio Salvador Fri, 18 May 2007 10:47:29 -0300 python-cups (1.9.21-1) unstable; urgency=low [ This package has been done using 1.9.19-0ubuntu1 sources as base. Thanks to Jani Monoses by his work on it ] * Initial Debian release * debian/watch: Added to make easier to update the package version. -- Otavio Salvador Mon, 14 May 2007 16:27:55 -0300 debian/control0000664000000000000000000000157212316332514010600 0ustar Source: python-cups Section: python Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Otavio Salvador Build-Depends: debhelper (>= 8), python-all-dev (>= 2.6.6-3~), python3-all-dev, libcups2-dev Standards-Version: 3.9.1 X-Python-Version: >= 2.6 VCS-Git: git://git.debian.org/git/collab-maint/python-cups.git VCS-Browser: http://git.debian.org/?p=collab-maint/python-cups.git Package: python-cups Architecture: any Provides: ${python:Provides} Depends: ${python:Depends}, ${misc:Depends}, ${shlibs:Depends} Description: Python bindings for CUPS A module for using the CUPS 1.2 API in Python programs. Package: python3-cups Architecture: any Depends: ${python3:Depends}, ${misc:Depends}, ${shlibs:Depends} Description: Python3 bindings for CUPS A module for using the CUPS 1.2 API in Python3 programs. debian/python3-cups.install0000664000000000000000000000002011767614120013131 0ustar usr/lib/python3 debian/rules0000775000000000000000000000137111766402543010262 0ustar #!/usr/bin/make -f # Used during building to set the version export CFLAGS=-DVERSION=\"$(DEB_UPSTREAM_VERSION)\" DEB_DESTDIR := debian/python-cups PYTHON2=$(shell pyversions -vr) PYTHON3=$(shell py3versions -vr) %: dh $@ --with python2,python3 --buildsystem python_distutils build-python%: python$* setup.py build override_dh_auto_build: $(PYTHON3:%=build-python%) dh_auto_build install-python%: python$* setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb override_dh_auto_install: $(PYTHON3:%=install-python%) dh_auto_install make DESTDIR=$(DEB_DESTDIR) RPMCONFIGDIR=/usr/lib/rpm install-rpmhook override_dh_installchangelogs: dh_installchangelogs -k NEWS override_dh_auto_clean: dh_auto_clean rm -rf build rm -rf *.egg-info debian/watch0000664000000000000000000000013111725510337010220 0ustar version=3 http://cyberelk.net/tim/data/pycups/pycups-(.*).tar.bz2 debian git-import-orig debian/patches/0000775000000000000000000000000012301117537010617 5ustar debian/compat0000664000000000000000000000000211766402457010402 0ustar 8 debian/python-cups.install0000664000000000000000000000002511767614105013056 0ustar usr/lib/python2.[67] debian/python-cups.docs0000664000000000000000000000001411725510337012332 0ustar README TODO