#1 Update Python 2 dependency declarations to new packaging standards
Merged 6 years ago by ishcherb. Opened 6 years ago by ishcherb.
rpms/ ishcherb/python-basemap pyambiguous  into  master

file modified
+8 -4
@@ -7,7 +7,7 @@ 

  

  Name:           python-basemap

  Version:        1.0.7

- Release:        22%{?dist}

+ Release:        23%{?dist}

  Summary:        Plots data on map projections (with continental and political boundaries) 

  License:        LGPLv2+

  URL:            http://matplotlib.org/basemap/
@@ -19,8 +19,8 @@ 

  Patch3:         0001-Fix-the-location-of-basemap_datadir.patch

  Patch4:         python-basemap-1.0.7-numpy-hstack.patch

  

- BuildRequires:  python-devel, proj-devel, shapelib-devel, numpy-f2py, geos-devel 

- BuildRequires:  python-httplib2

+ BuildRequires:  python2-devel, proj-devel, shapelib-devel, python2-numpy-f2py, geos-devel 

+ BuildRequires:  python2-httplib2

  

  %global _description\

  Basemap is a matplotlib toolkit that allows you to plot data on map\
@@ -30,7 +30,7 @@ 

  

  %package -n python2-basemap

  Summary: %summary

- Requires:       python-matplotlib >= 0.98

+ Requires:       python2-matplotlib >= 0.98

  Requires:       python-basemap-data

  %{?python_provide:%python_provide python2-basemap}

  # Work-around broken package name in python2 renaming
@@ -134,6 +134,10 @@ 

  %endif

  

  %changelog

+ * Wed Feb 14 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.0.7-23

+ - Update Python 2 dependency declarations to new packaging standards

+   (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)

+ 

  * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.7-22

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

  

This package uses names with ambiguous python- prefix in requirements.

According to Fedora Packaging guidelines for Python, packages must use names with either python2- or python3- prefix in requirements where available.
We are aiming to rename python-* dependencies to python2-*, so we can later switch the python-* namespace to Python 3.

This PR is part of Fedora's Switch to Python 3 effort.

Note that, although this PR was created automatically, we will respond to any comments or issues which you might find with it. We will keep the PR open for review for a week, and if there's no feedback we'll merge it. There is no need to build the package right after merge, this change can wait for the next package rebuild.
The local mock build passed, for Koji scratch build please see simple-koji-ci result.

Note: please do not backport this to f26, f27 branch(es) as some of the modified requirements are not available there

This PR was opened automatically, for source code see here

rebased onto 01bc39b

6 years ago

rebased onto 6986328

6 years ago

Pull-Request has been merged by ishcherb

6 years ago