forked from pool/python-pyipp
- spec file cleanups
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyipp?expand=0&rev=4
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 3 10:12:47 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- spec file cleanups
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 13 15:11:50 UTC 2020 - Antonio Larrosa <alarrosa@suse.com>
|
Mon Apr 13 15:11:50 UTC 2020 - Antonio Larrosa <alarrosa@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pyipp
|
# spec file for package python-pyipp
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 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,9 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?sle15_python_module_pythons}
|
||||||
%define skip_python2 1
|
|
||||||
%define skip_python36 1
|
|
||||||
Name: python-pyipp
|
Name: python-pyipp
|
||||||
Version: 0.11.0
|
Version: 0.11.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -28,9 +26,12 @@ Group: Development/Languages/Python
|
|||||||
URL: https://github.com/ctalkington/python-ipp
|
URL: https://github.com/ctalkington/python-ipp
|
||||||
Source: https://github.com/ctalkington/python-ipp/archive/%{version}.tar.gz#/pyipp-%{version}.tar.gz
|
Source: https://github.com/ctalkington/python-ipp/archive/%{version}.tar.gz#/pyipp-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module aiohttp >= 3.6.2}
|
BuildRequires: %{python_module aiohttp >= 3.6.2}
|
||||||
|
BuildRequires: %{python_module async-timeout}
|
||||||
BuildRequires: %{python_module deepmerge >= 0.1.0}
|
BuildRequires: %{python_module deepmerge >= 0.1.0}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: %{python_module yarl >= 1.4.2}
|
BuildRequires: %{python_module yarl >= 1.4.2}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -48,10 +49,10 @@ Asynchronous Python client for Internet Printing Protocol (IPP).
|
|||||||
rm tests/test_client.py tests/test_interface.py
|
rm tests/test_client.py tests/test_interface.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -60,6 +61,7 @@ rm tests/test_client.py tests/test_interface.py
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/pyipp
|
||||||
|
%{python_sitelib}/pyipp-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user