Please merge python-utmp 0.8 from Debian testing

Bug #496397 reported by Scott Howard
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-utmp (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Binary package hint: python-utmp

 python-utmp (0.8) unstable; urgency=low

   * support for python3
   * __repr__ for UtmpRecord and UtmpEntry
   * incorporate Makefile changes by Pierre Habouzit

 -- Radovan Garabík <email address hidden> Thu, 06 Aug 2009 17:49:55 +0200

Related branches

Revision history for this message
Scott Howard (showard314) wrote :

I did the merge with the help of MoM.

Attached is the debdiff. A ppa is built for lucid here:
https://launchpad.net/~showard314/+archive/ppa?field.series_filter=lucid

@sponsors: The only remaining change is the removal of dh_python from debian/rules. This was put in a few releases ago. I just forwarded it upstream, but I feel that diff is trivial and possibly unnecessary. I, personally, think a sync with debian would suffice and forget the merge. What do you think?

Changed in python-utmp (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

Hi,

I think you're right: it's not worth having a merge for a 'cleaner' rules file (as dh_python is not doing anything). This should be fixed in the Debian package, so please convert this merge request into a sync request, and report to Debian the obsolete call to dh_python. This is the message I have when building the package:
dh_python: Doing nothing since dh_pycompat exists; dh_pysupport or dh_pycentral should do the work. You can remove dh_python from your rules file.

Thanks for your work,
Fabrice

Changed in python-utmp (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Scott Howard (showard314) wrote : Re: Please sync python-utmp 0.8 from Debian testing

Thanks for the help Fabrice, forwarded upstream:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561062

and I think is now ready for the sync. I get the same message you do:

dh_python: Doing nothing since dh_pycompat exists; dh_pysupport or dh_pycentral should do the work. You can remove dh_python from your rules file.

summary: - Merge python-utmp 0.8 with Debian testing
+ Please sync python-utmp 0.8 from Debian testing
description: updated
Changed in python-utmp (Ubuntu):
status: Incomplete → New
Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

Hi,

sorry I didn't noticed before, but the package from Debian cannot be installed in Ubuntu:
dpkg: dependency problems prevent configuration of python-utmp:
 python-utmp depends on python (<< 2.6); however:
  Version of python on system is 2.6.4-0ubuntu2.

It's still using python 2.5 (file debian/pyversion).
Can you please update it to make use of python 2.6? The best way would be to set XS-Python-Version in debian/control.

Sorry about that,
Fabrice

Changed in python-utmp (Ubuntu):
status: New → Incomplete
Revision history for this message
Scott Howard (showard314) wrote :

Thanks Fabrice, you've been actively mentoring me unofficially through all the sponsorhsips. Thanks! I've learned a lot about dh_pysupport.

This package uses a pyversions file instead of XS-Python-Version, I set the pyversions to 2.5- (which is >=2.5, since the module works on 2.5 up through python3), and bumped the depends on python-support to >= 0.5.3 (as per debian python packaging policy). I'm updating the debian bug from above to include these changes.

Here is the debdiff, I'll attach diffs of debian/ from ubuntu and debian too to be clear.

I installed and used the package on a lucid VM.

summary: - Please sync python-utmp 0.8 from Debian testing
+ Please merge python-utmp 0.8 from Debian testing
description: updated
Revision history for this message
Scott Howard (showard314) wrote :

0.7.4 ubuntu to 0.8 ubuntu

Revision history for this message
Scott Howard (showard314) wrote :

0.8 debian to 0.8 ubuntu

Revision history for this message
Scott Howard (showard314) wrote :
Changed in python-utmp (Ubuntu):
status: Incomplete → New
Revision history for this message
Benjamin Drung (bdrung) wrote :

Thanks for your work. I have uploaded your work with two small changes:

* I ran update-maintainer to update the Maintainer field to the new policy
* I converted the package to a native one (0.8-1ubuntu1 to 0.8ubuntu1), because the Debian package is native.

The Debian package maintainer is upstream maintainer and he converted the package to a native one. Please ask the maintainer to revert back to a real upstream package (without the debian directory) and a Debian package. This will make packaging changes easier (like our merge).

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-utmp - 0.8ubuntu1

---------------
python-utmp (0.8ubuntu1) lucid; urgency=low

  * Merge from debian testing (LP: #496397), remaining changes:
    - bumped dh_pysupport to depend on > 0.5.3
    - debian/pyversions now >= 2.5
    - debian/rules removed unnecessary dh_python
    - rm debian/pycompat
 -- Scott Howard <email address hidden> Wed, 16 Dec 2009 22:38:08 -0500

Changed in python-utmp (Ubuntu):
status: New → Fix Released
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.