Blame SPECS/python-resolvelib.spec

0c3135
# Created by pyp2rpm-3.3.6
0c3135
%global pypi_name resolvelib
0c3135
%global python3_pkgversion 38
0c3135
%global python38_sitelib /usr/lib/python3.8/site-packages/
0c3135
%global commitId d935f9fd07246d9641436c7a8e6ae39423374e28
0c3135
0c3135
Name:           python-%{pypi_name}
0c3135
Version:        0.5.4
0c3135
Release:        5%{?dist}
0c3135
Summary:        Resolve abstract dependencies into concrete ones
0c3135
0c3135
License:        ISC
0c3135
URL:            https://github.com/sarugaku/resolvelib.git
0c3135
Source0:        resolvelib-d935f9fd07246d9641436c7a8e6ae39423374e28.tar.gz
0c3135
BuildArch:      noarch
0c3135
0c3135
BuildRequires:  python%{python3_pkgversion}-devel
0c3135
BuildRequires:  python%{python3_pkgversion}-rpm-macros
0c3135
BuildRequires:  python%{python3_pkgversion}-setuptools
0c3135
0c3135
%description
0c3135
ResolveLib at the highest level provides a Resolver class that
0c3135
includes dependency resolution logic. You give it some things, and a little
0c3135
information on how it should interact with them, and it will spit out a
0c3135
resolution result. Intended Usage :: import resolvelib Things I want to
0c3135
resolve. requirements [...] Implement logic so the resolver understands the
0c3135
requirement format. class...
0c3135
0c3135
%package -n     python%{python3_pkgversion}-%{pypi_name}
0c3135
Summary:        %{summary}
0c3135
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
0c3135
0c3135
#Requires:       python3dist(black)
0c3135
#Requires:       python3dist(commentjson)
0c3135
#Requires:       python3dist(flake8)
0c3135
#Requires:       python3dist(html5lib)
0c3135
#Requires:       python3dist(packaging)
0c3135
#Requires:       python3dist(packaging)
0c3135
#Requires:       python3dist(pygraphviz)
0c3135
#Requires:       python3dist(pytest)
0c3135
#Requires:       python3dist(requests)
0c3135
#Requires:       python3dist(setl)
0c3135
#Requires:       python3dist(towncrier)
0c3135
0c3135
%description -n python%{python3_pkgversion}-%{pypi_name}
0c3135
ResolveLib at the highest level provides a Resolver class that
0c3135
includes dependency resolution logic. You give it some things, and a little
0c3135
information on how it should interact with them, and it will spit out a
0c3135
resolution result. Intended Usage :: import resolvelib Things I want to
0c3135
resolve. requirements [...] Implement logic so the resolver understands the
0c3135
requirement format. class...
0c3135
0c3135
%prep
0c3135
%autosetup -n %{pypi_name}-%{commitId}
0c3135
# Remove bundled egg-info
0c3135
rm -rf %{pypi_name}.egg-info
0c3135
0c3135
%build
0c3135
%py3_build
0c3135
0c3135
%install
0c3135
%py3_install
0c3135
0c3135
%files -n python%{python3_pkgversion}-%{pypi_name}
0c3135
%license LICENSE
0c3135
%doc README.rst
0c3135
%{python38_sitelib}/%{pypi_name}
0c3135
%{python38_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
0c3135
0c3135
%changelog
0c3135
* Mon Jun 14 2021 Paul Belanger <pabelanger@redhat.com> - 0.5.4-1
0c3135
- Initial package.
0c3135
- Forked from https://fedora.pkgs.org/rawhide/fedora-x86_64/python3-resolvelib-0.5.5-2.fc35.noarch.rpm.html however
0c3135
  downgraded to 0.5.4 due to 0.5.5 being yanked from pypi.