## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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 srcname cma Name: python-cma Version: 4.0.0 Release: %autorelease Summary: Covariance Matrix Adaptation Evolution Strategy numerical optimizer # Automatically converted from old format: BSD - review is highly recommended. License: LicenseRef-Callaway-BSD URL: http://cma.gforge.inria.fr/cmaes_sourcecode_page.html Source0: %{pypi_source} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-numpy %global _description %{expand: A stochastic numerical optimization algorithm for difficult (non-convex, ill-conditioned, multi-modal, rugged, noisy) optimization problems in continuous search spaces, implemented in Python.} %description %_description %package -n python3-cma Summary: %{summary} %description -n python3-cma %_description %prep %autosetup -n cma-%{version} #Fix line-endings sed -i 's/\r//' README.txt #Remove unneeded shebang sed -i '1d' cma/{bbobbenchmarks.py,purecma.py,test.py} %build %py3_build %install %py3_install %files -n python3-cma %doc README.txt %license LICENSE %{python3_sitelib}/cma/ %{python3_sitelib}/cma-*.egg-info/ %changelog ## START: Generated by rpmautospec * Wed Sep 04 2024 Miroslav Suchý - 4.0.0-2 - convert license to SPDX * Tue Sep 03 2024 Christoph Junghans - 4.0.0-1 - Version bump to v4.0.0 (bug #2295972) * Fri Jul 19 2024 Fedora Release Engineering - 3.3.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jun 08 2024 Python Maint - 3.3.0-6 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 3.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 3.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 3.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 3.3.0-2 - Rebuilt for Python 3.12 * Sat May 20 2023 Zbigniew Jędrzejewski-Szmek - 3.3.0-1 - Version 3.3.0 (rhbz#2164607) * Fri Jan 20 2023 Fedora Release Engineering - 3.2.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 3.2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 3.2.2-2 - Rebuilt for Python 3.11 * Thu Mar 24 2022 Christoph Junghans - 3.2.2-1 - Version bump v3.2.2 (bug #2065978) * Thu Mar 03 2022 Christoph Junghans - 3.2.1-1 - Version bump to v3.2.1 (bug #2060105) * Tue Mar 01 2022 Christoph Junghans - 3.2.0-1 - Version bump to v3.2.0 (bug #2058983) * Fri Jan 21 2022 Fedora Release Engineering - 3.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 3.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat Jun 26 2021 Christoph Junghans - 3.1.0-1 - Version bump to v3.1.0 (bug #1974146) * Fri Jun 04 2021 Python Maint - 3.0.3-5 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 3.0.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 3.0.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 3.0.3-2 - Rebuilt for Python 3.9 * Fri Apr 24 2020 Christoph Junghans - 3.0.3-1 - Version bump to v3.0.3 (bug #1827440) * Tue Apr 21 2020 Christoph Junghans - 3.0.2-1 - Version bump to v3.0.2 (bug #1825645) * Sun Apr 19 2020 Christoph Junghans - 3.0.1-1 - Version bump to v3.0.1 (bug #1825645) * Fri Apr 17 2020 Christoph Junghans - 3.0.0-1 - Update to 3.0.0 (#1825359) * Thu Jan 30 2020 Fedora Release Engineering - 2.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Sep 23 2019 Christoph Junghans - 2.7.0-1 - Version bump to 2.7.0 * Mon Aug 19 2019 Miro Hrončok - 1.1.7-11 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.1.7-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.1.7-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek - 1.1.7-8 - Subpackage python2-cma has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Fri Jul 13 2018 Fedora Release Engineering - 1.1.7-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 1.1.7-6 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 1.1.7-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Tue Jan 16 2018 Iryna Shcherbina - 1.1.7-4 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Thu Jul 27 2017 Fedora Release Engineering - 1.1.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.1.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Jan 23 2017 Zbigniew Jędrzejewski-Szmek - 1.1.7-1 - Update to latest version (only license file added) * Mon Dec 19 2016 Miro Hrončok - 1.1.06-3 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 1.1.06-2 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Mar 31 2016 Zbigniew Jędrzejewski-Szmek - 1.1.06-1 - Initial package using pyp2rpm-2.0.0 ## END: Generated by rpmautospec