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

file modified
+10 -6
@@ -3,7 +3,7 @@ 

  

  Name:           pychromecast

  Version:        1.0.3

- Release:        1%{?dist}

+ Release:        2%{?dist}

  Summary:        Python library to communicate with the Google Chromecast

  

  License:        MIT
@@ -11,13 +11,13 @@ 

  Source0:        https://github.com/balloob/%{name}/archive/%{version}.tar.gz

  

  BuildArch: noarch

- BuildRequires:  python-devel

- BuildRequires:  python-setuptools

+ BuildRequires:  python2-devel

+ BuildRequires:  python2-setuptools

  BuildRequires:  python3-devel

  BuildRequires:  python3-setuptools

  %if 0%{?with_tests}

- BuildRequires:  python-six

- BuildRequires:  python-netifaces

+ BuildRequires:  python2-six

+ BuildRequires:  python2-netifaces

  BuildRequires:  python2-zeroconf

  BuildRequires:  python2-protobuf

  BuildRequires:  python3-six
@@ -42,7 +42,7 @@ 

  Summary:  Library for Python 2 and 3 to communicate with the Google Chromecast

  %{?python_provide:%python_provide python2-chromecast}

  

- Requires: python-six

+ Requires: python2-six

  Requires: python2-requests

  Requires: python2-zeroconf

  Requires: python2-protobuf
@@ -106,6 +106,10 @@ 

  %{python3_sitelib}/*

  

  %changelog

+ * Fri Jan 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.0.3-2

+ - Update Python 2 dependency declarations to new packaging standards

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

+ 

  * Mon Dec 11 2017 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.3-1

  - Update to 1.0.3

  

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 pbrobinson

6 years ago