9f75002
%bcond_without check
Sergio Pascual ec4f55a
%global srcname seaborn
Sergio Pascual 6f82103
Sergio Pascual ec4f55a
Name: python-%{srcname}
9f75002
Version: 0.11.1
73574b7
Release: 5%{?dist}
Sergio Pascual 6f82103
Summary: Statistical data visualization in Python
Sergio Pascual 6f82103
License: BSD
Sergio Pascual 6f82103
e8cb1b2
URL: http://seaborn.pydata.org/
e8cb1b2
Source0: %{pypi_source}
Sergio Pascual 6f82103
# Use system python-husl
c8ac8ec
Patch0: seaborn-husl.patch
7cc729b
Patch1: seaborn-docscrape.patch
7cc729b
Patch2: seaborn-ext.patch
Sergio Pascual 6f82103
BuildArch: noarch
Sergio Pascual 6f82103
2a7e129
BuildRequires: python3-devel
Thomas Spura 5eb6367
9f75002
%global _description %{expand:
Thomas Spura 5eb6367
Seaborn is a library for making attractive and informative statistical
Thomas Spura 5eb6367
graphics in Python. It is built on top of matplotlib and tightly integrated
Thomas Spura 5eb6367
with the PyData stack, including support for numpy and pandas data structures
9f75002
and statistical routines from scipy and statsmodels.}
9f75002
9f75002
%description %_description
Thomas Spura 5eb6367
Sergio Pascual ec4f55a
%package -n python3-%{srcname}
Sergio Pascual 6f82103
Summary: Statistical data visualization in Python
Sergio Pascual ec4f55a
9f75002
BuildRequires: python3-devel
9f75002
BuildRequires: %{py3_dist setuptools}
Sergio Pascual ec4f55a
9f75002
%if %{with check}
9f75002
BuildRequires: %{py3_dist pytest}
9f75002
BuildRequires: %{py3_dist numpy} >= 1.15 
9f75002
BuildRequires: %{py3_dist scipy} >= 1.0
9f75002
BuildRequires: %{py3_dist pandas} >= 0.23
9f75002
BuildRequires: %{py3_dist matplotlib} >= 2.2
9f75002
BuildRequires: %{py3_dist husl}
9f75002
BuildRequires: %{py3_dist numpydoc}
9f75002
%endif
Sergio Pascual ec4f55a
9f75002
Requires: %{py3_dist husl}
d467499
Requires: %{py3_dist numpydoc}
9f75002
Recommends: %{py3_dist statsmodels}
9f75002
## Not in fedora
9f75002
##Recommends: _{py3_dist fastcluster}
Sergio Pascual 6f82103
Sergio Pascual 6f82103
9f75002
%description -n python3-%{srcname} %_description
Sergio Pascual 6f82103
Sergio Pascual 6f82103
%prep
7cc729b
rm -rf %{pypi_name}.egg-info
e8cb1b2
%autosetup -p1 -n %{srcname}-%{version}
Sergio Pascual 6f82103
rm -rf seaborn/external/
Sergio Pascual 6f82103
Sergio Pascual 6f82103
%build
Thomas Spura 5eb6367
%py3_build
Sergio Pascual 6f82103
Sergio Pascual 6f82103
%install
Thomas Spura 5eb6367
%py3_install
Thomas Spura 5eb6367
9f75002
%if %{with check}
Sergio Pascual 6f82103
%check
2a7e129
# Empty matplotlibrc for testing
Sergio Pascual 6f82103
mkdir matplotlib
Sergio Pascual 6f82103
touch matplotlib/matplotlibrc
Sergio Pascual 6f82103
export XDG_CONFIG_HOME=`pwd`
a77bca7
# Avoid writing bad pyc files
a77bca7
export PYTHONDONTWRITEBYTECODE=1
e8cb1b2
# No cache dir
e8cb1b2
export PYTEST_ADDOPTS="-v -p no:cacheprovider"
Sergio Pascual 6f82103
pushd %{buildroot}/%{python3_sitelib}
9f75002
 pytest \
9f75002
   --deselect "seaborn/tests/test_matrix.py::TestClustermap::test_tree_kws" \
9f75002
 seaborn
Sergio Pascual 6f82103
popd
9f75002
%endif
Sergio Pascual 6f82103
Sergio Pascual ec4f55a
%files -n python3-%{srcname}
Sergio Pascual ec4f55a
%doc README.md
Sergio Pascual ec4f55a
%license LICENSE
Sergio Pascual 6f82103
%{python3_sitelib}/seaborn
Sergio Pascual 6f82103
%{python3_sitelib}/seaborn-%{version}-py%{python3_version}.egg-info
Sergio Pascual 6f82103
Sergio Pascual 6f82103
%changelog
73574b7
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.1-5
73574b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
73574b7
d467499
* Tue Jun 22 2021 Sergio Pascual <sergiopr@fedoraproject.org> - 0.11.1-4
d467499
- Add requirement on numpydoc (fixes bz #1973562)
d467499
724df7e
* Wed Jun 09 2021 Sergio Pascual <sergiopr@fedoraproject.org> - 0.11.1-3
724df7e
- Fix wrong changelog entry
724df7e
9cd1774
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.11.1-2
9cd1774
- Rebuilt for Python 3.10
9cd1774
724df7e
* Fri Apr 09 2021 Sergio Pascual <sergiopr@fedoraproject.org> - 0.11.1-1
9f75002
- New upstream version 0.11.1
9f75002
- Update spec
9f75002
feda60d
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-2
feda60d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
feda60d
7cc729b
* Fri Nov 27 2020 Sergio Pascual <sergiopr@fedoraproject.org> - 0.11.0-1
7cc729b
- New upstream version 0.11.0
7cc729b
fd5e5fc
* Tue Aug 18 2020 Sergio Pascual <sergiopr@fedoraproject.org> - 0.10.1-5
fd5e5fc
- Fix problem with get_aspect in tests
fd5e5fc
395f329
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-4
395f329
- Second attempt - Rebuilt for
395f329
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
395f329
f3d3e65
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-3
f3d3e65
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
f3d3e65
c8ac8ec
* Sat Jun 06 2020 Sergio Pascual <sergiopr@fedoraproject.com> - 0.10.1-2
cdd7f6b
- New upstream version (0.10.1)
cdd7f6b
- Enable tests
c8ac8ec
- Use correct husl patch
cdd7f6b
03761ab
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.10.0-3
03761ab
- Rebuilt for Python 3.9
03761ab
0e0a3f8
* Mon Mar 02 2020 Sergio Pascual <sergiopr@fedoraproject.com> - 0.10.0-2
0e0a3f8
- Disable tests for the moment
0e0a3f8
e8cb1b2
* Sun Mar 01 2020 Sergio Pascual <sergiopr@fedoraproject.com> - 0.10.0-1
e8cb1b2
- New upstream source 0.10.0
e8cb1b2
b833a14
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-9
b833a14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
b833a14
b0231e7
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.0-8
b0231e7
- Rebuilt for Python 3.8.0rc1 (#1748018)
b0231e7
eb11dbf
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.0-7
eb11dbf
- Rebuilt for Python 3.8
eb11dbf
b2c6e07
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-6
b2c6e07
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
b2c6e07
85fa294
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-5
85fa294
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
85fa294
9166eea
* Fri Oct 05 2018 Sergio Pascual <sergiopr@fedoraproject.com> - 0.9.0-4
a77bca7
- Do not create pytest pyc files
2a7e129
- Drop python2 subpackage
9166eea
- Disable testing for the momment
a77bca7
b8f857e
* Tue Sep 11 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.9.0-1
b8f857e
- Update to latest version
b8f857e
a1a18e4
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-6
a1a18e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
a1a18e4
6d8ad96
* Wed Jun 27 2018 Miro Hrončok <mhroncok@redhat.com> - 0.8.1-5
6d8ad96
- Rebuilt for Python 3.7
6d8ad96
333997a
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.8.1-4
333997a
- Rebuilt for Python 3.7
bba721c
- Exclude test_get_color_cycle because the test assumes old matplotlib API
333997a
70044fd
* Fri Mar 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.8.1-3
70044fd
- Update Python 2 dependency declarations to new packaging standards
70044fd
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
70044fd
b327829
* Thu Mar 08 2018 Sergio Pascual <sergiopr@fedoraproject.com> - 0.8.1-2
Sergio Pascual a55ca6e
- New upstream source 0.8.1
b327829
- And the sources
Sergio Pascual a55ca6e
ce1efc2
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-7
ce1efc2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
ce1efc2
1a47eab
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-6
1a47eab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
1a47eab
99be429
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-5
99be429
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
99be429
7f53627
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.7.1-4
7f53627
- Rebuild for Python 3.6
7f53627
Dominik 'Rathann' Mierzejewski 3a93813
* Wed Sep 28 2016 Dominik Mierzejewski <rpm@greysector.net> - 0.7.1-3
Dominik 'Rathann' Mierzejewski 3a93813
- rebuilt for matplotlib-2.0.0
Dominik 'Rathann' Mierzejewski 3a93813
- fix testsuite failure
Dominik 'Rathann' Mierzejewski 3a93813
b20a8bc
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-2
b20a8bc
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
b20a8bc
Sergio Pascual ba267f5
* Wed Jul 13 2016 Sergio Pascual <sergiopr@fedoraproject.com> - 0.7.1-1
Sergio Pascual ba267f5
- New upstream source 0.7.1
Sergio Pascual ba267f5
- Updated pypi url
Sergio Pascual ba267f5
Sergio Pascual ec4f55a
* Mon Mar 28 2016 Sergio Pascual <sergiopr@fedoraproject.com> - 0.7.0-1
Sergio Pascual ec4f55a
- New upstream source 0.7.0
Sergio Pascual ec4f55a
- Add patch with fixes for Python 3.5
Sergio Pascual ec4f55a
893d8b4
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-8
893d8b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
893d8b4
Thomas Spura 5eb6367
* Sun Nov 15 2015 Thomas Spura <tomspur@fedoraproject.org> - 0.5.1-7
Thomas Spura 5eb6367
- Use newer python macros and add python2 subpackage
Thomas Spura 5eb6367
35a320b
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-6
35a320b
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
35a320b
a478a61
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-5
a478a61
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
a478a61
Sergio Pascual 6f82103
* Thu Nov 27 2014 Sergio Pascual <sergiopr at fedoraproject.com> - 0.5.1-4
Sergio Pascual 6f82103
- Add source of LICENSE from upstream, distribution of LICENSE is required
Sergio Pascual 6f82103
Sergio Pascual 6f82103
* Thu Nov 27 2014 Sergio Pascual <sergiopr at fedoraproject.com> - 0.5.1-3
Sergio Pascual 6f82103
- More comments
Sergio Pascual 6f82103
Sergio Pascual 6f82103
* Wed Nov 26 2014 Sergio Pascual <sergiopr at fedoraproject.com> - 0.5.1-2
Sergio Pascual 6f82103
- Added BRs: six and husl
Sergio Pascual 6f82103
Sergio Pascual 6f82103
* Mon Nov 17 2014 Sergio Pascual <sergiopr at fedoraproject.com> - 0.5.1-1
Sergio Pascual 6f82103
- Initial spec
Sergio Pascual 6f82103