Hello community,

here is the log from the commit of package python-pycups for openSUSE:Factory 
checked in at 2019-05-16 21:59:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pycups (Old)
 and      /work/SRC/openSUSE:Factory/.python-pycups.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pycups"

Thu May 16 21:59:54 2019 rev:2 rq:702986 version:1.9.74

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pycups/python-pycups.changes      
2017-06-20 09:41:12.881136909 +0200
+++ /work/SRC/openSUSE:Factory/.python-pycups.new.5148/python-pycups.changes    
2019-05-16 21:59:56.218781532 +0200
@@ -1,0 +2,6 @@
+Tue May 14 20:43:51 UTC 2019 - [email protected]
+
+- Update to version 1.9.74
+  * no changelog provided
+
+-------------------------------------------------------------------

Old:
----
  pycups-1.9.73.tar.bz2

New:
----
  pycups-1.9.74.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pycups.spec ++++++
--- /var/tmp/diff_new_pack.6n2khL/_old  2019-05-16 21:59:57.642780724 +0200
+++ /var/tmp/diff_new_pack.6n2khL/_new  2019-05-16 21:59:57.654780718 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pycups
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define oldpython python
 Name:           python-pycups
-Version:        1.9.73
+Version:        1.9.74
 Release:        0
 Summary:        Python Bindings for CUPS
 License:        GPL-2.0+
@@ -60,7 +60,8 @@
 
 %files %{python_files}
 %defattr(-,root,root)
-%doc COPYING NEWS README TODO
+%doc NEWS README TODO
+%license COPYING
 %{python_sitearch}/cups*.so
 %{python_sitearch}/pycups-%{version}-py*.egg-info
 

++++++ pycups-1.9.73.tar.bz2 -> pycups-1.9.74.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pycups-1.9.73/Makefile new/pycups-1.9.74/Makefile
--- old/pycups-1.9.73/Makefile  2014-10-06 18:41:24.000000000 +0200
+++ new/pycups-1.9.74/Makefile  2018-10-03 13:09:54.000000000 +0200
@@ -30,7 +30,7 @@
        $(PYTHON) setup.py sdist $(SDIST_ARGS)
 
 upload:
-       $(PYTHON) setup.py sdist $(SDIST_ARGS) upload -s
+       $(PYTHON) setup.py sdist $(SDIST_ARGS) upload
 
 install:       install-rpmhook
        ROOT= ; \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pycups-1.9.73/NEWS new/pycups-1.9.74/NEWS
--- old/pycups-1.9.73/NEWS      2015-07-10 01:00:17.000000000 +0200
+++ new/pycups-1.9.74/NEWS      2018-04-06 13:23:41.000000000 +0200
@@ -1,6 +1,11 @@
 NEWS
 ----
 
+New in 1.9.74:
+* fix Connection_writeRequestData with binary data 
(https://github.com/zdohnal/pycups/pull/1)
+* misspelling (patch by Edward Betts)
+* fixed print function in example/cupstree.py (patch by Jiri Popelka)
+
 New in 1.9.73:
 
 * Fixed build for CUPS 1.6.3 by making several constants conditional
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pycups-1.9.73/PKG-INFO new/pycups-1.9.74/PKG-INFO
--- old/pycups-1.9.73/PKG-INFO  2015-07-10 01:21:44.000000000 +0200
+++ new/pycups-1.9.74/PKG-INFO  2018-10-03 13:16:41.000000000 +0200
@@ -1,12 +1,12 @@
 Metadata-Version: 1.1
 Name: pycups
-Version: 1.9.73
+Version: 1.9.74
 Summary: Python bindings for libcups
-Home-page: http://cyberelk.net/tim/software/pycups/
-Author: Tim Waugh
-Author-email: [email protected]
+Home-page: https://github.com/zdohnal/pycups
+Author: Zdenek Dohnal
+Author-email: [email protected]
 License: GPLv2+
-Download-URL: http://cyberelk.net/tim/data/pycups/
+Download-URL: https://github.com/zdohnal/pycups/releases
 Description: This is a set of Python bindings for the libcups library from the
         CUPS project.
         
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pycups-1.9.73/cupsconnection.c 
new/pycups-1.9.74/cupsconnection.c
--- old/pycups-1.9.73/cupsconnection.c  2015-03-27 10:54:33.000000000 +0100
+++ new/pycups-1.9.74/cupsconnection.c  2018-04-06 13:23:41.000000000 +0200
@@ -2061,7 +2061,8 @@
                                    &buffer_obj, &length))
     return NULL;
 
-  buffer = strdup(PyBytes_AsString (buffer_obj));
+  buffer = (char *) malloc((size_t) length);
+  memcpy(buffer, PyBytes_AsString(buffer_obj), length);
   debugprintf ("-> Connection_writeRequestData(length=%d)\n", length);
 
   Connection_begin_allow_threads (self);
@@ -5524,7 +5525,7 @@
       "@type time_interval: integer\n"
       "@keyword time_interval: time interval\n"
       "@type user_data: string\n"
-      "@keyword user_data: user data to receieve with notifications\n"
+      "@keyword user_data: user data to receive with notifications\n"
       "@return: subscription ID\n"
       "@raise IPPError: IPP problem" },
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pycups-1.9.73/cupsmodule.c 
new/pycups-1.9.74/cupsmodule.c
--- old/pycups-1.9.73/cupsmodule.c      2015-07-10 00:56:03.000000000 +0200
+++ new/pycups-1.9.74/cupsmodule.c      2017-06-28 15:55:30.000000000 +0200
@@ -838,7 +838,7 @@
     "@param s1: first string\n"
     "@type s2: string\n"
     "@param s2: second string\n"
-    "@return: strcmp-style comparision result"},
+    "@return: strcmp-style comparison result"},
 
   { "setUser", cups_setUser, METH_VARARGS,
     "setUser(user) -> None\n\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pycups-1.9.73/cupsppd.c new/pycups-1.9.74/cupsppd.c
--- old/pycups-1.9.73/cupsppd.c 2013-11-27 14:56:38.000000000 +0100
+++ new/pycups-1.9.74/cupsppd.c 2017-06-28 15:56:41.000000000 +0200
@@ -996,7 +996,7 @@
       "@type section: integer\n"
       "@param section: section id\n"
       "@type min_order: float\n"
-      "@param min_order: minumum order dependency\n"
+      "@param min_order: minimum order dependency\n"
       "@return: string containing emitted postscript" },
 
     { "emit",
@@ -1019,7 +1019,7 @@
       "@type limit: integer\n"
       "@param limit: non-zero to use min_order\n"
       "@type min_order: float\n"
-      "@param min_order: minumum order dependency" },
+      "@param min_order: minimum order dependency" },
 
     { "emitFd",
       (PyCFunction) PPD_emitFd, METH_VARARGS,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pycups-1.9.73/examples/cupstree.py 
new/pycups-1.9.74/examples/cupstree.py
--- old/pycups-1.9.73/examples/cupstree.py      2013-11-27 14:56:38.000000000 
+0100
+++ new/pycups-1.9.74/examples/cupstree.py      2017-06-28 15:53:25.000000000 
+0200
@@ -56,7 +56,7 @@
                        getippqueue (dev, name, depth)
 
        if depth == 0:
-               print
+               print ("")
 
 def gethost (host=None, depth=0):
        if host:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pycups-1.9.73/setup.py new/pycups-1.9.74/setup.py
--- old/pycups-1.9.73/setup.py  2015-07-10 01:10:06.000000000 +0200
+++ new/pycups-1.9.74/setup.py  2018-10-03 13:08:24.000000000 +0200
@@ -35,7 +35,7 @@
 
 from distutils.core import setup, Extension
 import sys
-VERSION="1.9.73"
+VERSION="1.9.74"
 libraries=["cups"]
 
 if sys.platform == "darwin" or sys.platform.startswith("freebsd"):
@@ -45,10 +45,10 @@
        version=VERSION,
        description="Python bindings for libcups",
        long_description=__doc__,
-       maintainer="Tim Waugh",
-       maintainer_email="[email protected]",
-       url="http://cyberelk.net/tim/software/pycups/";,
-       download_url="http://cyberelk.net/tim/data/pycups/";,
+       maintainer="Zdenek Dohnal",
+       maintainer_email="[email protected]",
+       url="https://github.com/zdohnal/pycups";,
+       download_url="https://github.com/zdohnal/pycups/releases";,
        classifiers=[
                "Intended Audience :: Developers",
                "Topic :: Software Development :: Libraries :: Python Modules",


Reply via email to