From a28c61a059d93af1c4b0815b91b1fae333c87745 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 17 2022 10:14:28 +0000 Subject: import python-resolvelib-0.5.4-5.el9 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9c9199f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/resolvelib-d935f9fd07246d9641436c7a8e6ae39423374e28.tar.gz diff --git a/.python-resolvelib.metadata b/.python-resolvelib.metadata new file mode 100644 index 0000000..65b69dc --- /dev/null +++ b/.python-resolvelib.metadata @@ -0,0 +1 @@ +2203e09b2add3d1edceb28e20b2a091e5e6c0344 SOURCES/resolvelib-d935f9fd07246d9641436c7a8e6ae39423374e28.tar.gz diff --git a/SPECS/python-resolvelib.spec b/SPECS/python-resolvelib.spec new file mode 100644 index 0000000..1d152ff --- /dev/null +++ b/SPECS/python-resolvelib.spec @@ -0,0 +1,74 @@ +# Created by pyp2rpm-3.3.6 +%global pypi_name resolvelib +%global python3_pkgversion 3 +%global python39_sitelib /usr/lib/python3.9/site-packages/ +%global commitId d935f9fd07246d9641436c7a8e6ae39423374e28 + +Name: python-%{pypi_name} +Version: 0.5.4 +Release: 5%{?dist} +Summary: Resolve abstract dependencies into concrete ones + +License: ISC +URL: https://github.com/sarugaku/resolvelib.git +Source0: resolvelib-d935f9fd07246d9641436c7a8e6ae39423374e28.tar.gz +BuildArch: noarch + +BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: python%{python3_pkgversion}-rpm-macros +BuildRequires: python%{python3_pkgversion}-setuptools + +%description +ResolveLib at the highest level provides a Resolver class that +includes dependency resolution logic. You give it some things, and a little +information on how it should interact with them, and it will spit out a +resolution result. Intended Usage :: import resolvelib Things I want to +resolve. requirements [...] Implement logic so the resolver understands the +requirement format. class... + +%package -n python%{python3_pkgversion}-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}} + +#Requires: python3dist(black) +#Requires: python3dist(commentjson) +#Requires: python3dist(flake8) +#Requires: python3dist(html5lib) +#Requires: python3dist(packaging) +#Requires: python3dist(packaging) +#Requires: python3dist(pygraphviz) +#Requires: python3dist(pytest) +#Requires: python3dist(requests) +#Requires: python3dist(setl) +#Requires: python3dist(towncrier) + +%description -n python%{python3_pkgversion}-%{pypi_name} +ResolveLib at the highest level provides a Resolver class that +includes dependency resolution logic. You give it some things, and a little +information on how it should interact with them, and it will spit out a +resolution result. Intended Usage :: import resolvelib Things I want to +resolve. requirements [...] Implement logic so the resolver understands the +requirement format. class... + +%prep +%autosetup -n %{pypi_name}-%{commitId} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + +%build +%py3_build + +%install +%py3_install + +%files -n python%{python3_pkgversion}-%{pypi_name} +%license LICENSE +%doc README.rst +%{python39_sitelib}/%{pypi_name} +%{python39_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info + +%changelog +* Mon Jun 14 2021 Paul Belanger - 0.5.4-1 +- Initial package. +- Forked from https://fedora.pkgs.org/rawhide/fedora-x86_64/python3-resolvelib-0.5.5-2.fc35.noarch.rpm.html however + downgraded to 0.5.4 due to 0.5.5 being yanked from pypi.