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

file modified
+15 -11
@@ -3,28 +3,28 @@ 

  Name:          bpython

  Summary:       Fancy curses interface to the Python interactive interpreter

  Version:       0.17

- Release:       1%{?dist}

+ Release:       2%{?dist}

  URL:           http://www.bpython-interpreter.org/

  Group:         Development/Libraries

  License:       MIT

  Source0:       https://bpython-interpreter.org/releases/bpython-%{version}.tar.gz

  BuildArch:     noarch

- BuildRequires: python-devel

- BuildRequires: python-setuptools

- BuildRequires: python-sphinx

+ BuildRequires: python2-devel

+ BuildRequires: python2-setuptools

+ BuildRequires: python2-sphinx

  BuildRequires: desktop-file-utils

  %if 0%{?with_python3}

  BuildRequires: python3-devel

  BuildRequires: python3-setuptools

  %endif # if with_python3

- Requires:      python-curtsies >= 0.1.18

- Requires:      python-greenlet

+ Requires:      python2-curtsies >= 0.1.18

+ Requires:      python2-greenlet

  Requires:      python2-jedi

- Requires:      python-pygments

- Requires:      python-requests > 1.2.3

- Requires:      python-six >= 1.5

- Requires:      python-urwid

- Requires:      python-watchdog

+ Requires:      python2-pygments

+ Requires:      python2-requests > 1.2.3

+ Requires:      python2-six >= 1.5

+ Requires:      python2-urwid

+ Requires:      python2-watchdog

  Obsoletes:     bpython-gtk < 0.14

  

  %description
@@ -127,6 +127,10 @@ 

  %endif # with_python3

  

  %changelog

+ * Tue Feb 06 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.17-2

+ - Update Python 2 dependency declarations to new packaging standards

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

+ 

  * Fri Jul 28 2017 Terje Rosten <terje.rosten@ntnu.no> - 0.17-1

  - 0.17

  

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

Pull-Request has been merged by terjeros

6 years ago