Blame SPECS/python-resolvelib.spec

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