14
0
forked from pool/python-pyipp
Files
python-pyipp/python-pyipp.spec

75 lines
2.4 KiB
RPMSpec
Raw Normal View History

#
# spec file for package python-pyipp
#
Accepting request 1236809 from home:glaubitz:branches:devel:languages:python - Update to 0.17.0 * Fix parsing of IPP collections @ctalkington (#572) * Fix finishings enum @ctalkington (#604) * Parse more enums to python enums @ctalkington (#573) * Support appending pre-encoded data when serializing @dellorogiulio (#510) * Track when printer was last booted using uptime @ctalkington (#599) * Add media and center-of-pixel attributes tags to map @so-saf (#598) * Use syrupy snapshots for parser tests @ctalkington (#571) * Update dependency pylint to v3.2.0 @renovate (#569) * Update actions/checkout action to v4.1.6 @renovate (#570) * Update dependency node to v20.14.0 @renovate (#583) * Update actions/checkout action to v4.2.1 @renovate (#586) * Update codecov/codecov-action action to v4.6.0 @renovate (#576) * Update dependency pytest to v8.3.3 @renovate (#577) * Update dependency pytest-asyncio to v0.24.0 @renovate (#578) * Update dependency prettier to v3.3.3 @renovate (#584) * Update dependency coverage to v7.6.2 @renovate (#581) * Update dependency codespell to v2.3.0 @renovate (#580) * Update dependency pylint to v3.3.1 @renovate (#574) * Update pypa/gh-action-pypi-publish action to v1.10.3 @renovate (#600) * Update dependency ruff to v0.6.9 @renovate (#579) * Update actions/setup-python action to v5.2.0 @renovate (#602) * Update dependency safety to v3.2.8 @renovate (#601) * Update dependency yarl to v1.14.0 @renovate (#603) * Update dependency aiohttp to v3.10.2 [SECURITY] @renovate (#595) - Update BuildRequires from pyproject.toml OBS-URL: https://build.opensuse.org/request/show/1236809 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyipp?expand=0&rev=11
2025-01-13 01:39:30 +00:00
# Copyright (c) 2025 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.17.1
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}
Accepting request 1236809 from home:glaubitz:branches:devel:languages:python - Update to 0.17.0 * Fix parsing of IPP collections @ctalkington (#572) * Fix finishings enum @ctalkington (#604) * Parse more enums to python enums @ctalkington (#573) * Support appending pre-encoded data when serializing @dellorogiulio (#510) * Track when printer was last booted using uptime @ctalkington (#599) * Add media and center-of-pixel attributes tags to map @so-saf (#598) * Use syrupy snapshots for parser tests @ctalkington (#571) * Update dependency pylint to v3.2.0 @renovate (#569) * Update actions/checkout action to v4.1.6 @renovate (#570) * Update dependency node to v20.14.0 @renovate (#583) * Update actions/checkout action to v4.2.1 @renovate (#586) * Update codecov/codecov-action action to v4.6.0 @renovate (#576) * Update dependency pytest to v8.3.3 @renovate (#577) * Update dependency pytest-asyncio to v0.24.0 @renovate (#578) * Update dependency prettier to v3.3.3 @renovate (#584) * Update dependency coverage to v7.6.2 @renovate (#581) * Update dependency codespell to v2.3.0 @renovate (#580) * Update dependency pylint to v3.3.1 @renovate (#574) * Update pypa/gh-action-pypi-publish action to v1.10.3 @renovate (#600) * Update dependency ruff to v0.6.9 @renovate (#579) * Update actions/setup-python action to v5.2.0 @renovate (#602) * Update dependency safety to v3.2.8 @renovate (#601) * Update dependency yarl to v1.14.0 @renovate (#603) * Update dependency aiohttp to v3.10.2 [SECURITY] @renovate (#595) - Update BuildRequires from pyproject.toml OBS-URL: https://build.opensuse.org/request/show/1236809 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyipp?expand=0&rev=11
2025-01-13 01:39:30 +00:00
BuildRequires: %{python_module syrupy}
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