Blame SPECS/python-resolvelib.spec

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