|
Sergio Pascual |
ec4f55a |
%global srcname seaborn
|
|
Sergio Pascual |
6f82103 |
|
|
Sergio Pascual |
ec4f55a |
Name: python-%{srcname}
|
|
|
b8f857e |
Version: 0.9.0
|
|
|
b8f857e |
Release: 1%{?dist}
|
|
Sergio Pascual |
6f82103 |
Summary: Statistical data visualization in Python
|
|
Sergio Pascual |
6f82103 |
License: BSD
|
|
Sergio Pascual |
6f82103 |
|
|
Sergio Pascual |
6f82103 |
URL: http://stanford.edu/~mwaskom/software/seaborn/
|
|
Sergio Pascual |
d143986 |
Source0: https://pypi.io/packages/source/s/seaborn/seaborn-%{version}.tar.gz
|
|
Sergio Pascual |
6f82103 |
# Use system python-six
|
|
Sergio Pascual |
6f82103 |
Patch0: seaborn-0.5.0-six.patch
|
|
Sergio Pascual |
6f82103 |
# Use system python-husl
|
|
Sergio Pascual |
6f82103 |
Patch1: seaborn-0.5.0-husl.patch
|
|
Sergio Pascual |
ec4f55a |
# Remove empty 'seaborn.external' subpackage
|
|
Sergio Pascual |
6f82103 |
Patch2: seaborn-0.5.0-external.patch
|
|
Sergio Pascual |
6f82103 |
BuildArch: noarch
|
|
Sergio Pascual |
6f82103 |
|
|
Sergio Pascual |
ec4f55a |
BuildRequires: python2-devel python3-devel
|
|
Thomas Spura |
5eb6367 |
|
|
Thomas Spura |
5eb6367 |
%description
|
|
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
|
|
Thomas Spura |
5eb6367 |
and statistical routines from scipy and statsmodels.
|
|
Thomas Spura |
5eb6367 |
|
|
Thomas Spura |
5eb6367 |
|
|
Sergio Pascual |
ec4f55a |
%package -n python2-%{srcname}
|
|
Thomas Spura |
5eb6367 |
Summary: Statistical data visualization in Python
|
|
Sergio Pascual |
ec4f55a |
|
|
|
70044fd |
BuildRequires: python2-devel python2-setuptools
|
|
|
70044fd |
BuildRequires: python2-numpy python2-scipy python2-matplotlib python2-pandas
|
|
|
70044fd |
BuildRequires: python2-six python2-husl
|
|
|
b8f857e |
BuildRequires: python2-nose python2-pytest
|
|
|
70044fd |
BuildRequires: python2-statsmodels
|
|
Sergio Pascual |
ec4f55a |
|
|
|
70044fd |
Requires: python2-numpy python2-scipy python2-matplotlib python2-pandas
|
|
|
70044fd |
Requires: python2-six python2-husl
|
|
|
b8f857e |
Recommends: python2-nose python2-pytest
|
|
|
70044fd |
Recommends: python2-statsmodels
|
|
Sergio Pascual |
ec4f55a |
|
|
Sergio Pascual |
ec4f55a |
%{?python_provide:%python_provide python2-%{srcname}}
|
|
Sergio Pascual |
ec4f55a |
|
|
Sergio Pascual |
ec4f55a |
%description -n python2-%{srcname}
|
|
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
|
|
Sergio Pascual |
6f82103 |
and statistical routines from scipy and statsmodels.
|
|
Sergio Pascual |
6f82103 |
|
|
Sergio Pascual |
ec4f55a |
%package -n python3-%{srcname}
|
|
Sergio Pascual |
6f82103 |
Summary: Statistical data visualization in Python
|
|
Sergio Pascual |
ec4f55a |
|
|
Sergio Pascual |
6f82103 |
BuildRequires: python3-devel python3-setuptools
|
|
Sergio Pascual |
6f82103 |
BuildRequires: python3-numpy python3-scipy
|
|
Sergio Pascual |
6f82103 |
BuildRequires: python3-matplotlib python3-pandas
|
|
Sergio Pascual |
6f82103 |
BuildRequires: python3-six python3-husl
|
|
|
b8f857e |
BuildRequires: python3-nose python3-pytest
|
|
Sergio Pascual |
ec4f55a |
|
|
Thomas Spura |
5eb6367 |
Requires: python3-numpy python3-scipy
|
|
Sergio Pascual |
6f82103 |
Requires: python3-matplotlib python3-pandas
|
|
Sergio Pascual |
6f82103 |
Requires: python3-six python3-husl
|
|
|
b8f857e |
Recommends: python3-nose python3-pytest
|
|
Sergio Pascual |
ec4f55a |
Recommends: python3-statsmodels
|
|
Sergio Pascual |
ec4f55a |
|
|
Sergio Pascual |
ec4f55a |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
Sergio Pascual |
6f82103 |
|
|
Sergio Pascual |
ec4f55a |
%description -n python3-%{srcname}
|
|
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
|
|
Sergio Pascual |
6f82103 |
and statistical routines from scipy and statsmodels.
|
|
Sergio Pascual |
6f82103 |
|
|
Sergio Pascual |
6f82103 |
|
|
Sergio Pascual |
6f82103 |
%prep
|
|
Sergio Pascual |
ec4f55a |
%setup -q -n %{srcname}-%{version}
|
|
Sergio Pascual |
6f82103 |
# Remove bundled libraries
|
|
Sergio Pascual |
6f82103 |
%patch0 -p1
|
|
Sergio Pascual |
6f82103 |
%patch1 -p1
|
|
Sergio Pascual |
6f82103 |
%patch2 -p1
|
|
Sergio Pascual |
6f82103 |
rm -rf seaborn/external/
|
|
Sergio Pascual |
6f82103 |
|
|
Sergio Pascual |
6f82103 |
%build
|
|
Thomas Spura |
5eb6367 |
%py2_build
|
|
Thomas Spura |
5eb6367 |
%py3_build
|
|
Sergio Pascual |
6f82103 |
|
|
Sergio Pascual |
6f82103 |
%install
|
|
Thomas Spura |
5eb6367 |
%py3_install
|
|
Thomas Spura |
5eb6367 |
%py2_install
|
|
Thomas Spura |
5eb6367 |
|
|
Sergio Pascual |
6f82103 |
%check
|
|
Sergio Pascual |
6f82103 |
# Fake matplotlibrc for testing
|
|
Sergio Pascual |
6f82103 |
mkdir matplotlib
|
|
Sergio Pascual |
6f82103 |
touch matplotlib/matplotlibrc
|
|
Sergio Pascual |
6f82103 |
export XDG_CONFIG_HOME=`pwd`
|
|
Sergio Pascual |
6f82103 |
pushd %{buildroot}/%{python2_sitelib}
|
|
|
b8f857e |
pytest-%{python2_version} -v seaborn
|
|
|
b8f857e |
rm -rf .pytest_cache
|
|
Sergio Pascual |
6f82103 |
popd
|
|
Sergio Pascual |
6f82103 |
|
|
Sergio Pascual |
6f82103 |
pushd %{buildroot}/%{python3_sitelib}
|
|
|
b8f857e |
pytest-%{python3_version} -v seaborn
|
|
|
b8f857e |
rm -rf .pytest_cache
|
|
Sergio Pascual |
6f82103 |
popd
|
|
Sergio Pascual |
6f82103 |
|
|
|
b8f857e |
|
|
Sergio Pascual |
ec4f55a |
%files -n python2-%{srcname}
|
|
Sergio Pascual |
ec4f55a |
%doc README.md
|
|
Sergio Pascual |
ec4f55a |
%license LICENSE
|
|
Sergio Pascual |
6f82103 |
%{python2_sitelib}/seaborn
|
|
Sergio Pascual |
6f82103 |
%{python2_sitelib}/seaborn-%{version}-py%{python2_version}.egg-info
|
|
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
|
|
|
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 |
|