Hi,

After my previous delayed NMU upload, Frederic has ikindly given me OK
to upload directly.  It was too late :-)  It is in the queue now. I kept
my previous NMU limitted to minimal changes to migrate to the new
upstream tar file.

Then a newer upstream was released.  I had also time to look into this
package and see some issues such as unused debian/pycompat from the old
transition from dh_python.  Since package was not fully CDBS (clean
target), I thought it is better to clean up package build script using
modern debhelper situation and 3.0 (quilt) source format without CDBS.

getmail4 (4.17.0-0.1) unstable; urgency=low

  * Non-maintainer upload.
  * New upstream release
    - fixing 500 message issues with some IMAP servers that that return
      oddball responses to SELECT.
  * Changed to "dh $@" style and removed unused debian/pycompat.
  * Enforced Python 2.4 or newer. Closes: #294939
  * Moved systematic changes to sed -i in the override_dh_install step.
  * Moved to 3.0 (quilt) source format and cleaned up patch formats.

 -- Osamu Aoki <os...@debian.org>  Wed, 05 May 2010 02:00:43 +0900

If you do not object, I will do non-delayed NMU of getmail4 4.17.0 once
previous package hits the archive and closes bugs.

(I see some upstream documentation build issue.  I will ask upstream on
it first.)

Osamu

FYI: proposed debian/rules:

#!/usr/bin/make -f
#export DH_VERBOSE=1
%:
        dh $@

# Do not use setup.py as the previous packaging.
override_dh_auto_config override_dh_auto_build override_dh_auto_install 
override_dh_auto_test:

override_dh_auto_clean:
        # Just to be safe side
        find . -name '*.py[co]' -exec rm '{}' ';' || true

override_dh_install:
        dh_install
        # Change #!/usr/bin/env python to #!/usr/bin/python for 
/usr/bin/getmail*
        find debian/getmail4/usr/bin -type f -name getmail\* -exec sed -i -e 
'1s|^#!.*python.*|#!/usr/bin/python|g' {} \;
        # Remove #!/... from /usr/share/getmail4/*
        find debian/getmail4/usr/share/getmail4/ -type f -exec sed -i -e 
'/^#!.*/d' {} \;
        # Fix permissions for /usr/share/getmail4/*
        find debian/getmail4/usr/share/getmail4/ -type f -name '*.py' | xargs 
chmod 644




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to