14
0
forked from pool/python-pyipp
Files
python-pyipp/python-pyipp.spec
Dirk Mueller 0b9dd2c2fb - update to 0.14.4:
* Fix type of info.printer_uri_supported
  * fix: remove I/O in the event loop when creating IPP
  * Convert client class to dataclass
- update to 0.14.0:
  * Export all models
  * Thaw models
- update to 0.13.0:
  * Allow for markers and URIs being single values
  * Improvements to serializer
  * Improve typing
  * Refactor models
  * Configure Renovate
  * Improvements to serializer
  * Improve typing
  * Define exports
  * Improve models test coverage
  * Refactor models
  * Development workflow updates
- update to 0.12.1:
  * Add marker/other attributes to default attributes
- update to 0.12.0:
  * This release requires Python 3.9
  * Use encoded value length when serializing attributes
  * Accept successful and informational status codes
  * Add additional tags/enum cleanup. Fix date parsing.
  * Adding printer-more-info support
  * Packaging Overhaul (Python 3.9)
  * Add Kyocera to known makes
  * Parse unsupported-attributes group

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyipp?expand=0&rev=5
2024-01-03 10:22:52 +00:00

74 lines
2.4 KiB
RPMSpec

#
# spec file for package python-pyipp
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-pyipp
Version: 0.14.4
Release: 0
Summary: Asynchronous Python client for Internet Printing Protocol (IPP)
License: MIT
Group: Development/Languages/Python
URL: https://github.com/ctalkington/python-ipp
Source0: https://files.pythonhosted.org/packages/source/p/pyipp/pyipp-%{version}.tar.gz
Source1: https://github.com/ctalkington/python-ipp/archive/%{version}.tar.gz#/pyipp-%{version}-gh-tests.tar.gz
BuildRequires: %{python_module aiohttp >= 3.6.2}
BuildRequires: %{python_module async-timeout}
BuildRequires: %{python_module base >= 3.9}
BuildRequires: %{python_module covdefaults}
BuildRequires: %{python_module deepmerge >= 0.1.0}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core}
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module yarl >= 1.4.2}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-aiohttp >= 3.6.2
Requires: python-deepmerge >= 0.1.0
Requires: python-yarl >= 1.4.2
BuildArch: noarch
%python_subpackages
%description
Asynchronous Python client for Internet Printing Protocol (IPP).
%prep
%autosetup -p1 -n pyipp-%{version} -a1
ln -s python-ipp-%{version}/tests/ tests
rm tests/test_client.py tests/test_interface.py
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/pyipp
%{python_sitelib}/pyipp-%{version}.dist-info
%changelog