From 34d533cb7915f89bc2c4983ecd402390c3e3cf1a Mon Sep 17 00:00:00 2001 From: Sergey Cherevko Date: Thu, 27 Apr 2023 20:47:37 +0300 Subject: [PATCH] Initial import from EPEL 9 upstream --- .gitignore | 1 + .python-jaraco-functools.metadata | 1 + SPECS/python-jaraco-functools.spec | 146 +++++++++++++++++++++++++++++ 3 files changed, 148 insertions(+) create mode 100644 .gitignore create mode 100644 .python-jaraco-functools.metadata create mode 100644 SPECS/python-jaraco-functools.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cd6087f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/jaraco.functools-3.5.0.tar.gz diff --git a/.python-jaraco-functools.metadata b/.python-jaraco-functools.metadata new file mode 100644 index 0000000..b045353 --- /dev/null +++ b/.python-jaraco-functools.metadata @@ -0,0 +1 @@ +3a2b3f8d538c3dcbf71d7cc1365cc7536df34dd0 SOURCES/jaraco.functools-3.5.0.tar.gz diff --git a/SPECS/python-jaraco-functools.spec b/SPECS/python-jaraco-functools.spec new file mode 100644 index 0000000..3dc2e37 --- /dev/null +++ b/SPECS/python-jaraco-functools.spec @@ -0,0 +1,146 @@ +# Created by pyp2rpm-3.3.2 +%global pypi_name jaraco.functools +%global pkg_name jaraco-functools +# Fedora doesn't have all the docs deps yet +%bcond_with docs + +Name: python-%{pkg_name} +Version: 3.5.0 +Release: 2%{?dist} +Summary: Functools like those found in stdlib + +License: MIT +URL: https://github.com/jaraco/jaraco.functools +Source0: %{pypi_source %{pypi_name}} +BuildArch: noarch + +%description +Functools like those found in stdlib + +%package -n python3-%{pkg_name} +Summary: %{summary} +Requires: python3-jaraco +Requires: python3dist(toml) + +BuildRequires: python3-devel +BuildConflicts: python3dist(pytest) = 3.7.3 +BuildRequires: python3-jaraco-classes +BuildRequires: python3dist(more-itertools) +BuildRequires: python3dist(pytest) >= 3.4 +BuildRequires: python3dist(setuptools) +BuildRequires: python3dist(setuptools-scm) >= 1.15 +BuildRequires: python3dist(six) +BuildRequires: python3dist(toml) +%{?python_provide:%python_provide python3-%{pkg_name}} + +%description -n python3-%{pkg_name} +Functools like those found in stdlib + +%if %{with docs} +%package -n python-%{pkg_name}-doc +Summary: jaraco-functools documentation + +BuildRequires: python3dist(jaraco-packaging) >= 3.2 +BuildRequires: python3dist(rst-linker) >= 1.9 +BuildRequires: python3dist(sphinx) + +%description -n python-%{pkg_name}-doc +Documentation for jaraco-functools +%endif + +%prep +%autosetup -n jaraco.functools-%{version} +# Remove bundled egg-info +rm -rf jaraco.functools.egg-info + +%build +%py3_build + +%if %{with docs} +# generate html docs +PYTHONPATH=${PWD} sphinx-build docs html +# remove the sphinx-build leftovers +rm -rf html/.{doctrees,buildinfo} +%endif + +%install +%py3_install + +%check +LANG=C.utf-8 %{__python3} -m pytest --ignore=build + +%files -n python3-%{pkg_name} +%license LICENSE +%doc README.rst +# These excludes are provided by python3-jaraco +%exclude %{python3_sitelib}/jaraco/__init__* +%exclude %{python3_sitelib}/jaraco/__pycache__/__init__* +%{python3_sitelib}/jaraco/functools* +%{python3_sitelib}/jaraco/__pycache__/functools* +%{python3_sitelib}/jaraco.functools-%{version}-py%{python3_version}.egg-info + +%if %{with docs} +%files -n python-%{pkg_name}-doc +%doc html +%license LICENSE +%endif + +%changelog +* Thu Apr 27 2023 Sergey Cherevko - 3.5.0-2 +- Rebuilt for MSVSphere 9.1 + +* Fri Jan 21 2022 Fedora Release Engineering - 3.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Jan 04 2022 Dan Radez - 3.5.0-1 +- updating to 3.5.0 +- Reenabled checks! Yay \o/ + +* Mon Dec 06 2021 Dan Radez - 3.4.0-1 +- updating to 3.4.0 + +* Fri Jul 23 2021 Fedora Release Engineering - 3.3.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 3.3.0-2 +- Rebuilt for Python 3.10 + +* Fri Apr 30 2021 Dan Radez - 3.3.0-1 +- updating to 3.3.0 + +* Tue Feb 23 2021 Dan Radez - 3.2.1-1 +- updating to 3.2.1 + +* Wed Jan 27 2021 Fedora Release Engineering - 3.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jan 05 2021 Dan Radez - 3.1.0-1 +- updating to 3.1.0 + +* Wed Jul 29 2020 Fedora Release Engineering - 3.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Miro Hrončok - 3.0.1-2 +- Rebuilt for Python 3.9 + +* Fri May 08 2020 Dan Radez - 3.0.1-1 +- updating to 3.0.1-1 +- added toml dep + +* Wed Feb 12 2020 Dan Radez - 3.0.0-1 +- updating to 3.0.0-1 + +* Thu Jan 30 2020 Fedora Release Engineering - 2.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Sep 27 2019 Dan Radez - 2.0-4 +- Rebuilding to resolve dep issues + +* Mon Aug 19 2019 Miro Hrončok - 2.0-3 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Wed Apr 03 2019 Dan Radez - 2.0-1 +- Initial package.