Hello community, here is the log from the commit of package python-pycups for openSUSE:Leap:15.2 checked in at 2020-04-17 13:36:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-pycups (Old) and /work/SRC/openSUSE:Leap:15.2/.python-pycups.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pycups" Fri Apr 17 13:36:47 2020 rev:12 rq:794161 version:1.9.74 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-pycups/python-pycups.changes 2020-01-15 15:51:51.435543356 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-pycups.new.2738/python-pycups.changes 2020-04-17 13:36:48.184186465 +0200 @@ -1,0 +2,16 @@ +Wed Aug 28 19:22:11 UTC 2019 - Martin Wilck <[email protected]> + +- Package /usr/lib/rpm/postscriptdriver.prov again, in the + new "cups-rpm-helper" subpackage (bsc#735865). The file hasn't + been packaged any more after the switch from python-cups to + python-pycups (sr#502741). + * removed revert-postscriptdriver.prov-py3.patch + (we use python3 now) + +------------------------------------------------------------------- +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 revert-postscriptdriver.prov-py3.patch New: ---- pycups-1.9.74.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pycups.spec ++++++ --- /var/tmp/diff_new_pack.V98CH2/_old 2020-04-17 13:36:48.764186901 +0200 +++ /var/tmp/diff_new_pack.V98CH2/_new 2020-04-17 13:36:48.768186904 +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 @@ -12,22 +12,20 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!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+ +License: GPL-2.0-or-later Group: Development/Libraries/Python Url: http://cyberelk.net/tim/software/pycups/ Source: https://files.pythonhosted.org/packages/source/p/pycups/pycups-%{version}.tar.bz2 -# PATCH-FIX-OPENSUSE revert-postscriptdriver.prov-py3.patch switch back to python2 -Patch0: revert-postscriptdriver.prov-py3.patch BuildRequires: %{python_module devel} BuildRequires: cups-devel BuildRequires: fdupes @@ -46,9 +44,20 @@ %description Python Bindings for CUPS, the Common Unix Printing System +%package -n cups-rpm-helper +Summary: RPM macros for building cups drivers +Group: Development/Libraries/Python +Url: https://fedoraproject.org/wiki/Features/AutomaticPrintDriverInstallation +Requires: python3-cups +Requires: rpm-build +Supplements: (rpm-build and cups-devel) + +%description -n cups-rpm-helper +RPM helper scripts to create automatic "Provides:" tags for printer +driver RPMs. + %prep %setup -q -n pycups-%{version} -%patch0 -p1 %build export CFLAGS="%{optflags}" @@ -57,11 +66,17 @@ %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitearch} +make install-rpmhook DESTDIR=%{buildroot} %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 +%files -n cups-rpm-helper +%{_rpmconfigdir}/fileattrs/psdriver.attr +%{_rpmconfigdir}/postscriptdriver.prov + %changelog ++++++ 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",
