freeze exception: change package name

Bug #1566218 reported by Damon Lynch
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gphoto2-cffi (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The package name should be renamed to "python-gphoto2cffi", and its python module should be "gphoto2cffi".

The package name has very recently been renamed in Debian by its maintainer. The package has gone into the NEW queue for manual processing.

Rationale
-------------

Several python bindings exist for gphoto2. The two most prominent are:

  * "python-gphoto2": https://pypi.python.org/pypi/gphoto2/
  * "gphoto2-cffi" gphoto2-cffi: https://pypi.python.org/pypi/gphoto2-cffi

The second of these, gphoto2-cffi, was packaged in Debian as "python-gphoto2", and that it is what it is currently known as in Ubuntu. The first project is not currently packaged in Debian. As you might notice, the name of the Debian package is the same as the first project, not the second, which is confusing. Although first project, python-gphoto2, is not currently packaged in Debian / Ubuntu, it has evolved into a mature project that provides the most comprehensive python binding available to gphoto2. In other words, it provides important functionality that other bindings do not. I hope that the project python-gphoto2 will soon be packaged in Debian/Ubuntu.

Until earlier this year, both project's module namepspaces clashed with each other. Until the situation was resolved by mutual agreement of both project's upstream developers, it was impossible to have both installed simultaneously, because they both required this import:

>>> import gphoto2

The problem was resolved when the developer of gphoto2-cffi agreed to rename the imported module as gphoto2cffi instead of gphoto2. This module name change has been reflected in github: https://github.com/jbaiter/gphoto2-cffi/commit/6de87c88e56b59588fe1be48e9227dfa00382b91

Although the gphoto2-cffi project has not had a new release since then, its Debian maintainer has already renamed the package and the python module name with the assistance of Dmitry Shachnev.

Discussion reference: https://<email address hidden>/msg13269.html

Revision history for this message
Damon Lynch (dlynch3) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

Zero reverse dependencies and this reduces confusion, so approved. Please go ahead.

Changed in gphoto2-cffi (Ubuntu):
status: New → Confirmed
Revision history for this message
Damon Lynch (dlynch3) wrote :

Just to clarify, I (the bug reporter) don't have any rights to upload packages to Debian or Ubuntu. So someone who does will need to apply the change. Thanks!

Revision history for this message
Martin Pitt (pitti) wrote :

This landed in Debian now: https://tracker.debian.org/news/760374, so we can just sync.

Changed in gphoto2-cffi (Ubuntu):
status: Confirmed → In Progress
status: In Progress → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

This bug was fixed in the package gphoto2-cffi - 0.3~a1-1
Sponsored for Damon Lynch (dlynch3)

---------------
gphoto2-cffi (0.3~a1-1) unstable; urgency=low

  * Updated upstream version merging changes
  * Binary package renamed following upstream
  * Remove unused code
  * Thanks to Dmitry Shachnev <email address hidden> and Damon Lynch for help

 -- Aigars Mahinovs <email address hidden> Mon, 04 Apr 2016 21:28:13 +0100

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.