81 lines
2.6 KiB
RPMSpec
81 lines
2.6 KiB
RPMSpec
# Created by pyp2rpm-3.3.6
|
|
%global pypi_name resolvelib
|
|
|
|
Name: python-%{pypi_name}
|
|
Version: 0.5.5
|
|
Release: 5%{?dist}
|
|
Summary: Resolve abstract dependencies into concrete ones
|
|
|
|
License: ISC
|
|
URL: https://github.com/sarugaku/resolvelib
|
|
Source0: %{pypi_source}
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3dist(setuptools)
|
|
|
|
%description
|
|
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...
|
|
|
|
%package -n python3-%{pypi_name}
|
|
Summary: %{summary}
|
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
|
#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 python3-%{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
|
|
%autosetup -n %{pypi_name}-%{version}
|
|
# Remove bundled egg-info
|
|
rm -rf %{pypi_name}.egg-info
|
|
|
|
%build
|
|
%py3_build
|
|
|
|
%install
|
|
%py3_install
|
|
|
|
%files -n python3-%{pypi_name}
|
|
%license LICENSE
|
|
%doc README.rst
|
|
%{python3_sitelib}/%{pypi_name}
|
|
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
|
|
|
|
%changelog
|
|
* 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.
|