Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37837372
en ru br
ALT Linux repos
S:0.12.2-alt3

Group :: Sciences/Other
RPM: python3-module-seaborn

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1

%define oname seaborn

%def_with check

Name: python3-module-seaborn
Version: 0.12.2
Release: alt3
Summary: Seaborn: statistical data visualization
License: BSD-3-Clause
Group: Sciences/Other
URL: https://pypi.org/project/seaborn/

VCS: https://github.com/mwaskom/seaborn
Source: %name-%version.tar
Patch0: %oname-%version-alt-numpy-1.25-fix.patch
Patch1: %oname-%version-alt-matplotlib-3.7-fix.patch
Patch2: %oname-%version-alt-statsmodels-0.14-fix.patch

BuildArch: noarch

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-flit-core
%if_with check
BuildRequires: python3-module-matplotlib
BuildRequires: python3-module-pytest-xdist
BuildRequires: python3-module-pandas
BuildRequires: python3-module-pandas-tests
BuildRequires: python3-module-numpy-testing
BuildRequires: python3-module-contourpy
BuildRequires: python3-module-statsmodels
%endif

%description
Seaborn is a library for making attractive and informative statistical graphics
in Python. It is built on top of matplotlib and tightly integrated with the
PyData stack, including support for numpy and pandas data structures and
statistical routines from scipy and statsmodels.

%prep
%setup
%patch0 -p1
%patch1 -p1
%patch2 -p1

%build
%pyproject_build

%install
%pyproject_install

# Remove testing file, that brings numpy.testing

rm -fv %buildroot%python3_sitelibdir/%oname/_testing.py

%check
%pyproject_run_pytest -rfEs -n auto -k 'not test_share_xy'

%files
%doc LICENSE.md README.md
%python3_sitelibdir/%oname
%python3_sitelibdir/%{pyproject_distinfo %oname}

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin