Blame SPECS/python-resolvelib.spec

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