#2 [epel7] prepare python3
Opened 2 years ago by raphgro. Modified 2 years ago
rpms/ raphgro/python-pandas epel7  into  epel7

file modified
+20 -17
@@ -1,11 +1,11 @@ 

- %if 0%{?fedora}

+ %if 0%{?fedora} || 0%{?rhel} >= 7

  %global with_python3 1

  %endif

  %global pkgname pandas

  

  Name:           python-pandas

  Version:        0.17.1

- Release:        1%{?dist}

+ Release:        2%{?dist}

  Summary:        Python library providing high-performance data analysis tools

  

  Group:          Development/Languages
@@ -38,25 +38,25 @@ 

  analysis tools for the Python programming language.

  

  %if 0%{?with_python3}

- %package -n python3-pandas

+ %package -n python%{python3_pkgversion}-pandas

  Summary:        Python library providing high-performance data analysis tools

- BuildRequires:  python3-devel, python3-setuptools, python3-matplotlib

- BuildRequires:  python3-Cython

- Requires:       python3-pytz

- Requires:       python3-dateutil

- Requires:       python3-numpy

- Requires:       python3-scipy

- Requires:       python3-tables

- Requires:       python3-matplotlib

- Requires:       python3-Bottleneck

- Requires:       python3-numexpr

+ BuildRequires:  python%{python3_pkgversion}-devel, python%{python3_pkgversion}-setuptools, python%{python3_pkgversion}-matplotlib

+ BuildRequires:  python%{python3_pkgversion}-Cython

+ Requires:       python%{python3_pkgversion}-pytz

+ Requires:       python%{python3_pkgversion}-dateutil

+ Requires:       python%{python3_pkgversion}-numpy

+ Requires:       python%{python3_pkgversion}-scipy

+ Requires:       python%{python3_pkgversion}-tables

+ Requires:       python%{python3_pkgversion}-matplotlib

+ Requires:       python%{python3_pkgversion}-Bottleneck

+ Requires:       python%{python3_pkgversion}-numexpr

  %if 0%{?fedora}

- # python3-xlwt doesn't exist: bz #1282235

+ # python%%{python3_pkgversion}-xlwt doesn't exist: bz #1282235

  # openpyxl version is higher than 2.0

- Recommends:     python3-xlrd

+ Recommends:     python%{python3_pkgversion}-xlrd

  %endif

  

- %description -n python3-pandas

+ %description -n python%{python3_pkgversion}-pandas

  pandas is an open source, BSD-licensed library providing 

  high-performance, easy-to-use data structures and data 

  analysis tools for the Python programming language.
@@ -87,7 +87,7 @@ 

  %{python2_sitearch}/pandas*

  

  %if 0%{?with_python3}

- %files -n python3-pandas

+ %files -n python%{python3_pkgversion}-pandas

  %doc RELEASE.md

  %license LICENSE

  %{python3_sitearch}/pandas*
@@ -95,6 +95,9 @@ 

  

  

  %changelog

+ * Thu Feb 21 2019 Raphael Groner <projects.rg@smart.ms> - 0.17.1-2

+ - [epel7] prepare python3

+ 

  * Sun Jan 03 2016 Sergio Pascual <sergiopr@fedoraproject.org> - 0.17.1-1

  - New upstream version (0.17.1)

  - Add new dependecy as weak dep (fixes bz #1288919)

A good starting point.

No matching package to install: 'python34-matplotlib'
Not all dependencies satisfied
Error: Some packages could not be found.

Be aware we're really far behind rawhide with version.

""
Matplotlib 3.0 is Python 3 only.
For Python 2 support, Matplotlib 2.2.x will be continued as a LTS release and updated with bugfixes until January 1, 2020.
""

Metadata