Compare commits

1 Commits
main ... 1.1

4 changed files with 11 additions and 38 deletions

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

Binary file not shown.

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

Binary file not shown.

View File

@@ -1,38 +1,12 @@
-------------------------------------------------------------------
Thu Oct 31 09:25:25 UTC 2024 - Dirk Müller <dmueller@suse.com>
- fix_shebang on the postscript driver rpmhook
-------------------------------------------------------------------
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>
- build as wheel
- build as wheel
-------------------------------------------------------------------
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>
@@ -64,7 +38,7 @@ Wed Aug 28 19:22:11 UTC 2019 - Martin Wilck <mwilck@suse.com>
- 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
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)
@@ -324,5 +298,5 @@ Wed Aug 20 14:19:48 CEST 2008 - kssingvo@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
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,10 @@
#
%{?sle15_python_module_pythons}
%{?!python_module:%define python_module() python3-%{**}}
%global skip_python2 1
Name: python-pycups
Version: 2.0.4
Version: 2.0.1
Release: 0
Summary: Python Bindings for CUPS
License: GPL-2.0-or-later
@@ -27,7 +28,6 @@ URL: https://github.com/OpenPrinting/pycups
Source: https://files.pythonhosted.org/packages/source/p/pycups/pycups-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: cups-devel
BuildRequires: fdupes
@@ -64,7 +64,6 @@ export CFLAGS="%{optflags}"
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
make install-rpmhook DESTDIR=%{buildroot}
%python3_fix_shebang_path %{buildroot}%{_rpmconfigdir}/postscriptdriver.prov
%files %{python_files}
%doc NEWS README TODO