Sync from SUSE:SLFO:Main python-pycups revision 516c84117763013d7e1a22edf60c02b3

This commit is contained in:
Adrian Schröter 2024-12-13 12:02:36 +01:00
parent 0ae602c99c
commit 14db266b85
4 changed files with 32 additions and 11 deletions

BIN
pycups-2.0.1.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
pycups-2.0.4.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,12 +1,33 @@
-------------------------------------------------------------------
Sat Apr 20 21:20:26 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.0.4:
* remove the install_requires from setup.py
* removed shebang from example/cupstree.py
* ignore driverless utilities for postscriptdriver tags
creation (Fedora bug #1873385)
* remove epydoc from Makefile (#27)
* fix invalid delete of pointer (#11)
* Makefile uses wrong Python (#32)
* define PY_SSIZE_T_CLEAN in cupsipp.h - fixes traceback during
IPPRequest.writeIO with Python 3.10
* fix the test.py when there is no printer installed (#46)
* Use PyObject_Call() instead of deprecated PyEval
-------------------------------------------------------------------
Wed Jan 3 10:10:49 UTC 2024 - Dirk Müller <dmueller@suse.com>
- require setuptools
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Aug 14 22:20:32 UTC 2023 - Dirk Müller <dmueller@suse.com> Mon Aug 14 22:20:32 UTC 2023 - Dirk Müller <dmueller@suse.com>
- build as wheel - build as wheel
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Feb 16 23:36:06 UTC 2022 - Dirk Müller <dmueller@suse.com> Wed Feb 16 23:36:06 UTC 2022 - Dirk Müller <dmueller@suse.com>
- spec-cleaner - spec-cleaner
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 23 11:54:47 UTC 2021 - Dirk Müller <dmueller@suse.com> Tue Feb 23 11:54:47 UTC 2021 - Dirk Müller <dmueller@suse.com>
@ -38,7 +59,7 @@ Wed Aug 28 19:22:11 UTC 2019 - Martin Wilck <mwilck@suse.com>
- Package /usr/lib/rpm/postscriptdriver.prov again, in the - Package /usr/lib/rpm/postscriptdriver.prov again, in the
new "cups-rpm-helper" subpackage (bsc#735865). The file hasn't new "cups-rpm-helper" subpackage (bsc#735865). The file hasn't
been packaged any more after the switch from python-cups to been packaged any more after the switch from python-cups to
python-pycups (sr#502741). python-pycups (sr#502741).
* removed revert-postscriptdriver.prov-py3.patch * removed revert-postscriptdriver.prov-py3.patch
(we use python3 now) (we use python3 now)
@ -298,5 +319,5 @@ Wed Aug 20 14:19:48 CEST 2008 - kssingvo@suse.de
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jul 14 09:51:00 CEST 2008 - dmueller@suse.de Mon Jul 14 09:51:00 CEST 2008 - dmueller@suse.de
- Initial package (1.9.40) - Initial package (1.9.40)

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-pycups # spec file for package python-pycups
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,10 +16,9 @@
# #
%{?!python_module:%define python_module() python3-%{**}} %{?sle15_python_module_pythons}
%global skip_python2 1
Name: python-pycups Name: python-pycups
Version: 2.0.1 Version: 2.0.4
Release: 0 Release: 0
Summary: Python Bindings for CUPS Summary: Python Bindings for CUPS
License: GPL-2.0-or-later License: GPL-2.0-or-later
@ -28,6 +27,7 @@ URL: https://github.com/OpenPrinting/pycups
Source: https://files.pythonhosted.org/packages/source/p/pycups/pycups-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pycups/pycups-%{version}.tar.gz
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: cups-devel BuildRequires: cups-devel
BuildRequires: fdupes BuildRequires: fdupes