## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 6; 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 %bcond_without tests %global _description %{expand: Pingouin is an open-source statistical package written in Python 3 and based on Pandas and NumPy. It provides easy-to-grasp functions for computing several statistical functions: - ANOVAs: one- and two-ways, repeated measures, mixed, ancova - Post-hocs tests and pairwise comparisons - Robust correlations - Partial correlation, repeated measures correlation and intraclass correlation - Bayes Factor - Tests for sphericity, normality and homoscedasticity - Effect sizes (Cohen's d, Hedges'g, AUC, Glass delta, eta-square...) - Parametric/bootstrapped confidence intervals around an effect size or a correlation coefficient - Circular statistics - Linear/logistic regression and mediation analysis Pingouin is designed for users who want simple yet exhaustive statistical functions.} Name: python-pingouin Version: 0.5.2 Release: %autorelease Summary: Statistical package in Python based on Pandas # Documentation pulls in bootstrap, bootswatch, jquery which are MIT License: GPLv3 and MIT URL: https://pingouin-stats.org/ # PyPI tar does not contain docs and tests Source0: https://github.com/raphaelvallat/pingouin/archive/v%{version}/pingouin-%{version}.tar.gz # Use scikit-learn>=1.1.2 # https://github.com/raphaelvallat/pingouin/pull/300 # # Rebased on 0.5.2. Patch: pingouin-0.5.2-scikit-learn-1.1.2.patch # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} BuildRequires: python3-devel # The odd combination of an arched package with only noarch binary packages # makes it easier for us to detect with arch-dependent test failures, since the # tests will always be run on every platform, and easier for us to skip failing # tests if necessary, since we can be sure that %%ifarch macros work as # expected. # # Since the package still contains no compiled machine code, we still have no # debuginfo. %global debug_package %{nil} %description %_description %package -n python3-pingouin Summary: %{summary} BuildArch: noarch %description -n python3-pingouin %_description %package doc Summary: Documentation and examples for %{name} BuildArch: noarch %description doc %{summary}. %prep %autosetup -n pingouin-%{version} -p1 %if %{with tests} # Only required and works in TRAVIS, so not needed here sed -r -i 's/^(pytest-travis-fold)$/# \1/' requirements-test.txt %endif %generate_buildrequires %pyproject_buildrequires -r %{?with_tests:requirements-test.txt} %build %pyproject_wheel %install %pyproject_install %pyproject_save_files pingouin %check %if %{with tests} %pytest %endif %files -n python3-pingouin -f %{pyproject_files} %doc CODE_OF_CONDUCT.md %doc README.rst %files doc %license LICENSE %doc notebooks %changelog * Mon Dec 19 2022 Elliott Sales de Andrade 0.5.2-6 - Drop support for i686 * Tue Aug 30 2022 Benjamin A. Beasley 0.5.2-5 - Remove test skip for retired 32-bit arm arch. * Tue Aug 30 2022 Benjamin A. Beasley 0.5.2-4 - Remove workaround for pandas<1.3.4 * Tue Aug 30 2022 Benjamin A. Beasley 0.5.2-3 - Fix compatibility with scikit-learn 1.1.2 (fix RHBZ#2122144) * Mon Aug 15 2022 Ankur Sinha (Ankur Sinha Gmail) 0.5.2-2 - chore: rebuild for pyc magic number change (fixes rhbz#2113644) * Mon Aug 01 2022 Ankur Sinha (Ankur Sinha Gmail) 0.5.2-1 - feat: update to 0.5.2 (rhbz #2100936) * Fri Jul 22 2022 Fedora Release Engineering 0.5.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jul 04 2022 Python Maint 0.5.1-2 - Rebuilt for Python 3.11 * Mon Feb 21 2022 Ankur Sinha (Ankur Sinha Gmail) 0.5.1-1 - feat: update to 0.5.1 (fixes rhbz#2056272) * Fri Jan 21 2022 Fedora Release Engineering - 0.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Oct 29 2021 Benjamin A. Beasley - 0.5.0-1 - Update to 0.5.0 (close RHBZ#2018342) * Thu Sep 23 2021 Benjamin A. Beasley - 0.4.0-1 - Update to 0.4.0 - Switch to pyproject-rpm-macros to avoid manual BR’s - Use an arched source package with only noarch binary packages to ensure tests are run on all arches; while this package really is noarch, it has a history of arch-dependent test failures * Fri Jul 23 2021 Benjamin A. Beasley - 0.3.12-3 - Fix RHBZ#1981679 * Fri Jul 23 2021 Fedora Release Engineering - 0.3.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Jun 17 2021 Ankur Sinha - 0.3.12-1 - Update to new release * Fri Jun 04 2021 Python Maint - 0.3.11-2 - Rebuilt for Python 3.10 * Sat May 22 2021 Ankur Sinha - 0.3.11-1 - Update to latest release * Sun Mar 28 2021 Ankur Sinha - 0.3.10-1 - Update to new release * Wed Jan 27 2021 Fedora Release Engineering - 0.3.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Sep 13 2020 Ankur Sinha - 0.3.8-1 - Update to new release - Fix BR on scipy * Fri Sep 04 2020 Ankur Sinha - 0.3.7-1 - Update to new release * Wed Jul 29 2020 Fedora Release Engineering - 0.3.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sat Jul 04 2020 Ankur Sinha - 0.3.6-1 - Update to new release * Thu Jun 25 2020 Ankur Sinha - 0.3.5-2 - Explicitly BR setuptools * Sun Jun 21 2020 Ankur Sinha - 0.3.5-1 - Update to 0.3.5 * Tue May 26 2020 Miro Hrončok - 0.3.3-2 - Rebuilt for Python 3.9 * Sat May 02 2020 Ankur Sinha - 0.3.3-1 - Update to latest release * Fri Dec 06 2019 Ankur Sinha - 0.3.1-1 - Update to 0.3.1 * Sat Nov 09 2019 Ankur Sinha - 0.2.9-1 - Update to 0.2.9 - rebuild since scipy 1.3.0 is now available in rawhide - Requires pandas-flavor, needs packaging * Sat Jul 20 2019 Ankur Sinha - 0.2.7-1 - Correct license - Add missing BR - Add notebooks to documentation * Fri Jul 19 2019 Ankur Sinha - 0.2.7-1 - Initial build