Blame SPECS/python-resolvelib.spec

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