2019-03-07 12:49:53 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-resolvelib
|
|
|
|
#
|
2023-01-18 09:46:42 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2019-03-07 12:49:53 +00:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-resolvelib
|
2022-12-15 21:05:02 +00:00
|
|
|
# ansible-core 2.14.x is currently requiring < 0.9.0
|
|
|
|
Version: 0.8.1
|
2019-03-07 12:49:53 +00:00
|
|
|
Release: 0
|
2019-03-17 15:30:33 +00:00
|
|
|
Summary: Module to resolve abstract dependencies into concrete ones
|
2019-03-07 12:49:53 +00:00
|
|
|
License: ISC
|
|
|
|
Group: Development/Languages/Python
|
|
|
|
URL: https://github.com/sarugaku/resolvelib
|
|
|
|
Source: https://github.com/sarugaku/resolvelib/archive/%{version}.tar.gz#/resolvelib-%{version}.tar.gz
|
2020-04-16 10:26:01 +00:00
|
|
|
BuildRequires: %{python_module commentjson}
|
2023-01-18 09:46:42 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
2019-03-07 12:49:53 +00:00
|
|
|
BuildRequires: %{python_module pytest}
|
2023-01-18 09:46:42 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
2019-03-07 12:49:53 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildArch: noarch
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
%description
|
2019-03-17 15:30:33 +00:00
|
|
|
A Python module to resolve abstract dependencies into concrete ones.
|
2019-03-07 12:49:53 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n resolvelib-%{version}
|
|
|
|
|
|
|
|
%build
|
2023-01-18 09:46:42 +00:00
|
|
|
%pyproject_wheel
|
2019-03-07 12:49:53 +00:00
|
|
|
|
|
|
|
%install
|
2023-01-18 09:46:42 +00:00
|
|
|
%pyproject_install
|
2019-03-07 12:49:53 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
%check
|
2023-01-18 09:49:17 +00:00
|
|
|
# Ignoring some faulty tests because of python-packaging version:
|
|
|
|
# gh#sarugaku/resolvelib#114
|
2023-01-18 09:46:42 +00:00
|
|
|
%pytest --ignore tests/functional/cocoapods/test_resolvers_cocoapods.py --ignore tests/functional/python/test_resolvers_python.py
|
2019-03-07 12:49:53 +00:00
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
%doc README.rst
|
2023-01-18 09:46:42 +00:00
|
|
|
%{python_sitelib}/resolvelib
|
|
|
|
%{python_sitelib}/resolvelib-%{version}*info
|
2019-03-07 12:49:53 +00:00
|
|
|
|
|
|
|
%changelog
|