Hello community, here is the log from the commit of package python-cups for openSUSE:Factory checked in at 2011-11-16 17:21:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cups (Old) and /work/SRC/openSUSE:Factory/.python-cups.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cups", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/python-cups/python-cups.changes 2011-10-04 18:14:39.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-cups.new/python-cups.changes 2011-11-16 17:22:23.000000000 +0100 @@ -1,0 +2,6 @@ +Tue Nov 15 16:50:12 UTC 2011 - [email protected] + +- Update to version 1.9.60: + + Add new constants defined in cups 1.5. + +------------------------------------------------------------------- Old: ---- pycups-1.9.59.tar.bz2 New: ---- pycups-1.9.60.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cups.spec ++++++ --- /var/tmp/diff_new_pack.t6jvZm/_old 2011-11-16 17:22:24.000000000 +0100 +++ /var/tmp/diff_new_pack.t6jvZm/_new 2011-11-16 17:22:24.000000000 +0100 @@ -21,7 +21,7 @@ Name: python-cups %define _name pycups BuildRequires: cups-devel python-devel -Version: 1.9.59 +Version: 1.9.60 Release: 1 Group: Development/Libraries/Python License: GPLv2+ ++++++ pycups-1.9.59.tar.bz2 -> pycups-1.9.60.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycups-1.9.59/ChangeLog new/pycups-1.9.60/ChangeLog --- old/pycups-1.9.59/ChangeLog 2011-10-03 18:23:22.000000000 +0200 +++ new/pycups-1.9.60/ChangeLog 2011-10-06 17:37:00.000000000 +0200 @@ -1,3 +1,7 @@ +2011-10-06 Tim Waugh <[email protected]> + + * cupsmodule.c: New constants defined. + 2011-10-03 Tim Waugh <[email protected]> * setup.py: Version 1.9.59. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycups-1.9.59/NEWS new/pycups-1.9.60/NEWS --- old/pycups-1.9.59/NEWS 2011-10-03 18:23:08.000000000 +0200 +++ new/pycups-1.9.60/NEWS 2011-10-06 17:36:14.000000000 +0200 @@ -1,6 +1,19 @@ NEWS ---- +New in 1.9.60: + +* New constants from 1.5: + - IPP_AUTHENTICATION_CANCELED + - IPP_PKI_ERROR + - HTTP_NOT_IMPLEMENTED + - HTTP_BAD_GATEWAY + - HTTP_SERVICE_UNAVAILABLE + - HTTP_GATEWAY_TIMEOUT + - HTTP_NOT_SUPPORTED + - HTTP_AUTHORIZATION_CANCELED + - HTTP_PKI_ERROR + New in 1.9.59: * Password callbacks can now return None to indicate they want to diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycups-1.9.59/PKG-INFO new/pycups-1.9.60/PKG-INFO --- old/pycups-1.9.59/PKG-INFO 2011-10-03 18:32:45.000000000 +0200 +++ new/pycups-1.9.60/PKG-INFO 2011-10-11 17:36:55.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: pycups -Version: 1.9.59 +Version: 1.9.60 Summary: Python bindings for libcups Home-page: http://cyberelk.net/tim/software/pycups/ Author: Tim Waugh diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycups-1.9.59/cupsconnection.c new/pycups-1.9.60/cupsconnection.c --- old/pycups-1.9.59/cupsconnection.c 2011-10-03 18:13:58.000000000 +0200 +++ new/pycups-1.9.60/cupsconnection.c 2011-10-04 17:58:39.000000000 +0200 @@ -1658,6 +1658,7 @@ for (attr = answer->attrs; attr; attr = attr->next) { PyObject *obj; + debugprintf ("Attr: %s\n", attr->name); if (attr->num_values > 1 || !strcmp (attr->name, "job-printer-state-reasons")) obj = PyList_from_attr_values (attr); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycups-1.9.59/cupsmodule.c new/pycups-1.9.60/cupsmodule.c --- old/pycups-1.9.59/cupsmodule.c 2011-10-03 18:16:52.000000000 +0200 +++ new/pycups-1.9.60/cupsmodule.c 2011-10-06 17:36:38.000000000 +0200 @@ -687,6 +687,15 @@ INT_CONSTANT (HTTP_REQUEST_TIMEOUT); INT_CONSTANT (HTTP_UPGRADE_REQUIRED); INT_CONSTANT (HTTP_SERVER_ERROR); + INT_CONSTANT (HTTP_NOT_IMPLEMENTED); + INT_CONSTANT (HTTP_BAD_GATEWAY); + INT_CONSTANT (HTTP_SERVICE_UNAVAILABLE); + INT_CONSTANT (HTTP_GATEWAY_TIMEOUT); + INT_CONSTANT (HTTP_NOT_SUPPORTED); + INT_CONSTANT (HTTP_AUTHORIZATION_CANCELED); +#if CUPS_VERSION_MAJOR > 1 || (CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR >= 5) + INT_CONSTANT (HTTP_PKI_ERROR); +#endif /* CUPS 1.5 */ // PPD UI enum INT_CONSTANT (PPD_UI_BOOLEAN); @@ -806,6 +815,10 @@ INT_CONSTANT (IPP_ERROR_JOB_CANCELLED); INT_CONSTANT (IPP_MULTIPLE_JOBS_NOT_SUPPORTED); INT_CONSTANT (IPP_PRINTER_IS_DEACTIVATED); +#if CUPS_VERSION_MAJOR > 1 || (CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR >= 5) + INT_CONSTANT (IPP_AUTHENTICATION_CANCELED); + INT_CONSTANT (IPP_PKI_ERROR); +#endif /* CUPS 1.5 */ // IPP states INT_CONSTANT (IPP_ERROR); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycups-1.9.59/setup.py new/pycups-1.9.60/setup.py --- old/pycups-1.9.59/setup.py 2011-10-03 18:22:41.000000000 +0200 +++ new/pycups-1.9.60/setup.py 2011-10-11 17:28:53.000000000 +0200 @@ -35,7 +35,7 @@ from distutils.core import setup, Extension import sys -VERSION="1.9.59" +VERSION="1.9.60" libraries=["cups"] if sys.platform == "darwin": -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
