Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ojkastl_buildservice:Branch_devel_microos
python-podman
python-podman.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-podman.spec of Package python-podman
# # spec file for package python-podman # # 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/ # %define skip_python2 1 %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -test %bcond_without test %else %define psuffix %{nil} %bcond_with test %endif Name: python-podman%{psuffix} Version: 5.3.0 Release: 0 Summary: A library to interact with a Podman server License: Apache-2.0 Group: Development/Languages/Python URL: https://github.com/containers/podman-py Source: https://github.com/containers/podman-py/archive/refs/tags/v%{version}.tar.gz#./podman-%{version}.tar.gz BuildRequires: %{python_module pbr} BuildRequires: %{python_module tomli >= 1.2.3 if python-base < 3.11} BuildRequires: %{python_module requests >= 2.24} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module pip} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: (python-tomli >= 1.2.3 if python-base < 3.11) Requires: python-requests Requires: python-urllib3 BuildArch: noarch %if %{with test} # SECTION test requirements BuildRequires: %{python_module fixtures} BuildRequires: %{python_module podman >= %{version}} BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests-mock} BuildRequires: %{python_module setuptools >= 39} %if %{defined sle_version} BuildRequires: %{python_module dataclasses} %endif # /SECTION %endif %python_subpackages %description A library to interact with a Podman server %prep %autosetup -n podman-py-%{version} %build %pyproject_wheel %if !%{with test} %install %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif %if %{with test} %check %{python_expand $python -m pytest podman/tests/unit} %endif %if !%{with test} %files %{python_files} %doc README.md %license LICENSE %{python_sitelib}/podman/ %{python_sitelib}/podman-%{version}.dist-info/ %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor