From 99db39a633f5d050555fe2abfad73c60e45c241d Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 27 Apr 2021 15:24:41 -0700 Subject: [PATCH] Initial package. --- .gitignore | 1 + python-resolvelib.spec | 68 ++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 70 insertions(+) create mode 100644 .gitignore create mode 100644 python-resolvelib.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6098142 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/resolvelib-0.5.5.tar.gz diff --git a/python-resolvelib.spec b/python-resolvelib.spec new file mode 100644 index 0000000..7bac65f --- /dev/null +++ b/python-resolvelib.spec @@ -0,0 +1,68 @@ +# Created by pyp2rpm-3.3.6 +%global pypi_name resolvelib + +Name: python-%{pypi_name} +Version: 0.5.5 +Release: 1%{?dist} +Summary: Resolve abstract dependencies into concrete ones + +License: ISC License +URL: https://github.com/sarugaku/resolvelib +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3dist(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 python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{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 python3-%{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}-%{version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{pypi_name} +%license LICENSE +%doc README.rst +%{python3_sitelib}/%{pypi_name} +%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info + +%changelog +* Sat Apr 10 2021 Kevin Fenzi - 0.5.5-1 +- Initial package. diff --git a/sources b/sources new file mode 100644 index 0000000..1f96fc8 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (resolvelib-0.5.5.tar.gz) = c2aaee98f9eb70ab8cdc2ecd9da1d17419e28bd2ceabe541a5515d42536fdc40c9da3debea07a15d41ac5c896e06e840a99499e8b522e6ebbb88109179288ba3