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

@@ -3,7 +3,7 @@ 

  

  Name:           python-%{srcname}

  Version:        0.15

- Release:        1%{?dist}

+ Release:        2%{?dist}

  Summary:        Flake8 plugin for checking order of imports in Python code

  

  License:        LGPLv3
@@ -22,10 +22,10 @@ 

  BuildRequires:  python2-devel

  BuildRequires:  python2-setuptools

  BuildRequires:  python2-pytest

- BuildRequires:  python-flake8

+ BuildRequires:  python2-flake8

  BuildRequires:  python2-pycodestyle

  BuildRequires:  python2-asttokens

- Requires:       python-flake8

+ Requires:       python2-flake8

  Requires:       python2-pycodestyle

  Requires:       python2-asttokens

  %{?python_provide:%python_provide python2-%{srcname}}
@@ -88,6 +88,10 @@ 

  

  

  %changelog

+ * Tue Jan 16 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.15-2

+ - Update Python 2 dependency declarations to new packaging standards

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

+ 

  * Thu Nov  9 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.15-1

  - Update to 0.15 (#1508184)

  

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.

This PR was opened automatically, for source code see here

Pull-Request has been merged by zbyszek

6 years ago