## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global _description %{expand: ppft is a fork of Parallel Python, and is developed as part of pathos: https://github.com/uqfoundation/pathos Parallel Python module (pp) provides an easy and efficient way to create parallel-enabled applications for SMP computers and clusters. pp module features cross-platform portability and dynamic load balancing. Thus application written with pp will parallelize efficiently even on heterogeneous and multi-platform clusters (including clusters running other application with variable CPU loads). Visit http://www.parallelpython.com for further information. ppft is part of pathos, a python framework for heterogeneous computing. ppft is in active development, so any user feedback, bug reports, comments, or suggestions are highly appreciated. A list of issues is located at https://github.com/uqfoundation/ppft/issues, with a legacy list maintained at https://uqfoundation.github.io/project/pathos/query.} Name: python-ppft Version: 1.7.6.6 Release: %autorelease Summary: Distributed and parallel python License: BSD URL: https://pypi.org/pypi/ppft Source0: %{pypi_source ppft} BuildArch: noarch %description %_description %package -n python3-ppft Summary: %{summary} BuildRequires: python3-devel # For the tests BuildRequires: %{py3_dist pox} # ppft is a drop in replacement of pp Provides: python3-pp = %{version}-%{release} # Latest build before retirement was 1.6.0-18 # https://koji.fedoraproject.org/koji/packageinfo?packageID=5272 Obsoletes: python3-pp < 1.6.0-19 %description -n python3-ppft %_description %package doc Summary: Documentation for %{name} %description doc This package provides documentation for %{name}. %prep %autosetup -n ppft-%{version} # remove shebangs find . -type f -name "*.py" -exec sed -i '/^#![ ]*\/usr\/bin\/env.*$/ d' {} 2>/dev/null ';' %generate_buildrequires %pyproject_buildrequires -r %build %pyproject_wheel %install %pyproject_install %pyproject_save_files ppft pp %check # run the tests # needs to be run from a directory that does not contain a ppft folder cd ppft/tests PYTHONPATH="$RPM_BUILD_ROOT/%{python3_sitelib}:$RPM_BUILD_ROOT/%{python3_sitearch}" %{python3} -m ppft.tests %files -n python3-ppft -f %{pyproject_files} %doc README.md CHANGELOG %{_bindir}/ppserver %files doc %license COPYING LICENSE %doc ppft/tests %changelog * Thu Jul 13 2023 Sandro - 1.7.6.6-1 - Update to 1.7.6.6 - Examples have been moved to ppft/tests * Wed Jun 14 2023 Python Maint - 1.7.6.5-4 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 1.7.6.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.7.6.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 05 2022 Ankur Sinha (Ankur Sinha Gmail) - 1.7.6.5-1 - feat: update to 1.7.6.5 (fixes rhbz#2088652) * Mon Jun 13 2022 Python Maint - 1.6.6.4-9 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 1.6.6.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Dec 10 2021 Ankur Sinha (Ankur Sinha Gmail) - 1.6.6.4-7 - chore: bump * Fri Dec 10 2021 Ankur Sinha (Ankur Sinha Gmail) - 1.6.6.4-6 - chore: check-in patch * Fri Dec 10 2021 Ankur Sinha (Ankur Sinha Gmail) - 1.6.6.4-5 - fix: correct macro in provides * Tue Dec 07 2021 Ankur Sinha - 1.6.6.4-3 - provide python-pp - use pyproject rpm macros * Fri Jul 23 2021 Fedora Release Engineering - 1.6.6.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Jul 08 2021 Ankur Sinha - 1.6.6.4-1 - Initial build - Add left over docs and man page