|
|
@ -1,74 +1,109 @@
|
|
|
|
# Created by pyp2rpm-3.3.6
|
|
|
|
|
|
|
|
%global pypi_name resolvelib
|
|
|
|
%global pypi_name resolvelib
|
|
|
|
%global python3_pkgversion 3
|
|
|
|
%global forgeurl https://github.com/sarugaku/resolvelib
|
|
|
|
%global python39_sitelib /usr/lib/python3.9/site-packages/
|
|
|
|
%bcond tests 1
|
|
|
|
%global commitId d935f9fd07246d9641436c7a8e6ae39423374e28
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-%{pypi_name}
|
|
|
|
Name: python-%{pypi_name}
|
|
|
|
Version: 0.5.4
|
|
|
|
Version: 1.0.1
|
|
|
|
Release: 5%{?dist}
|
|
|
|
%global tag %{version}
|
|
|
|
|
|
|
|
%forgemeta
|
|
|
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
Summary: Resolve abstract dependencies into concrete ones
|
|
|
|
Summary: Resolve abstract dependencies into concrete ones
|
|
|
|
|
|
|
|
|
|
|
|
License: ISC
|
|
|
|
License: ISC
|
|
|
|
URL: https://github.com/sarugaku/resolvelib.git
|
|
|
|
URL: %{forgeurl}
|
|
|
|
Source0: resolvelib-d935f9fd07246d9641436c7a8e6ae39423374e28.tar.gz
|
|
|
|
Source: %{forgesource}
|
|
|
|
|
|
|
|
# Avoid commentjson/json5 build dependency just for a couple tests
|
|
|
|
|
|
|
|
Patch: %{url}/pull/141.patch#/remove-commentjson-dep.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python%{python3_pkgversion}-rpm-macros
|
|
|
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%global _description %{expand:
|
|
|
|
ResolveLib at the highest level provides a Resolver class that
|
|
|
|
ResolveLib at the highest level provides a Resolver class that
|
|
|
|
includes dependency resolution logic. You give it some things, and a little
|
|
|
|
includes dependency resolution logic. You give it some things, and a little
|
|
|
|
information on how it should interact with them, and it will spit out a
|
|
|
|
information on how it should interact with them, and it will spit out a
|
|
|
|
resolution result. Intended Usage :: import resolvelib Things I want to
|
|
|
|
resolution result. Intended Usage :: import resolvelib Things I want to
|
|
|
|
resolve. requirements [...] Implement logic so the resolver understands the
|
|
|
|
resolve. requirements [...] Implement logic so the resolver understands the
|
|
|
|
requirement format. class...
|
|
|
|
requirement format. class...}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description %_description
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python%{python3_pkgversion}-%{pypi_name}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python3-%{pypi_name}
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
|
|
|
|
|
|
|
|
|
|
|
|
%description -n python3-%{pypi_name} %{_description}
|
|
|
|
#Requires: python3dist(black)
|
|
|
|
|
|
|
|
#Requires: python3dist(commentjson)
|
|
|
|
|
|
|
|
#Requires: python3dist(flake8)
|
|
|
|
|
|
|
|
#Requires: python3dist(html5lib)
|
|
|
|
|
|
|
|
#Requires: python3dist(packaging)
|
|
|
|
|
|
|
|
#Requires: python3dist(packaging)
|
|
|
|
|
|
|
|
#Requires: python3dist(pygraphviz)
|
|
|
|
|
|
|
|
#Requires: python3dist(pytest)
|
|
|
|
|
|
|
|
#Requires: python3dist(requests)
|
|
|
|
|
|
|
|
#Requires: python3dist(setl)
|
|
|
|
|
|
|
|
#Requires: python3dist(towncrier)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n python%{python3_pkgversion}-%{pypi_name}
|
|
|
|
|
|
|
|
ResolveLib at the highest level provides a Resolver class that
|
|
|
|
|
|
|
|
includes dependency resolution logic. You give it some things, and a little
|
|
|
|
|
|
|
|
information on how it should interact with them, and it will spit out a
|
|
|
|
|
|
|
|
resolution result. Intended Usage :: import resolvelib Things I want to
|
|
|
|
|
|
|
|
resolve. requirements [...] Implement logic so the resolver understands the
|
|
|
|
|
|
|
|
requirement format. class...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{pypi_name}-%{commitId}
|
|
|
|
%autosetup %{forgesetupargs} -p1
|
|
|
|
# Remove bundled egg-info
|
|
|
|
|
|
|
|
rm -rf %{pypi_name}.egg-info
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
|
|
|
%pyproject_buildrequires %{?with_tests:-x test}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%py3_build
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%py3_install
|
|
|
|
%pyproject_install
|
|
|
|
|
|
|
|
%pyproject_save_files %{pypi_name}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
|
|
|
%pytest -v
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python%{python3_pkgversion}-%{pypi_name}
|
|
|
|
%files -n python3-%{pypi_name} -f %{pyproject_files}
|
|
|
|
%license LICENSE
|
|
|
|
%license LICENSE
|
|
|
|
%doc README.rst
|
|
|
|
%doc README.rst
|
|
|
|
%{python39_sitelib}/%{pypi_name}
|
|
|
|
|
|
|
|
%{python39_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Jun 14 2021 Paul Belanger <pabelanger@redhat.com> - 0.5.4-1
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.0.1-6
|
|
|
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.0.1-5
|
|
|
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Nov 07 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 1.0.1-2
|
|
|
|
|
|
|
|
- Simplify build dependencies
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Oct 20 2023 Maxwell G <maxwell@gtmx.me> - 1.0.1-1
|
|
|
|
|
|
|
|
- Update to 1.0.1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-9
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.5.5-8
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-7
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-6
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.5.5-5
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.5.5-2
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Apr 10 2021 Kevin Fenzi <kevin@scrye.com> - 0.5.5-1
|
|
|
|
- Initial package.
|
|
|
|
- Initial package.
|
|
|
|
- Forked from https://fedora.pkgs.org/rawhide/fedora-x86_64/python3-resolvelib-0.5.5-2.fc35.noarch.rpm.html however
|
|
|
|
|
|
|
|
downgraded to 0.5.4 due to 0.5.5 being yanked from pypi.
|
|
|
|
|
|
|
|