Package: lfm
Version: 0.91.2-1
Severity: grave
Attached is a patch that updates lfm to current python policy.
Actually attached this time around.
--
Kevin Coyner GnuPG key: 1024D/8CE11941
diff -Naur lfm-0.91.2/debian/changelog lfm-0.91.2-1.1/debian/changelog
--- lfm-0.91.2/debian/changelog 2006-09-08 09:21:45.000000000 -0400
+++ lfm-0.91.2-1.1/debian/changelog 2006-09-08 09:37:36.000000000 -0400
@@ -1,3 +1,11 @@
+lfm (0.91.2-1.1) unstable; urgency=high
+
+ * Non-maintainer upload for release-critical bug fix.
+ * Update debian/control and debian/rules to be compliant with new Python
+ Policy
+
+ -- Kevin Coyner <[EMAIL PROTECTED]> Fri, 08 Sep 2006 07:18:27 -0400
+
lfm (0.91.2-1) unstable; urgency=low
* New upstream release
@@ -5,14 +13,14 @@
- manpages are include upstream now.
* debian/lfm.1, debian/pyview.1, debian/lfm.manpages:
- removed the manpages, they are include upstream.
-
+
-- Sebastien Bacher <[EMAIL PROTECTED]> Mon, 26 Jul 2004 18:08:07 +0200
lfm (0.91-2) unstable; urgency=low
* debian/rules:
- doc files should not be be gziped since lfm use them.
-
+
-- Sebastien Bacher <[EMAIL PROTECTED]> Mon, 19 Jul 2004 21:39:17 +0200
lfm (0.91-1) unstable; urgency=low
diff -Naur lfm-0.91.2/debian/control lfm-0.91.2-1.1/debian/control
--- lfm-0.91.2/debian/control 2006-09-08 09:21:45.000000000 -0400
+++ lfm-0.91.2-1.1/debian/control 2006-09-08 08:03:41.000000000 -0400
@@ -2,12 +2,14 @@
Section: utils
Priority: optional
Maintainer: Sebastien Bacher <[EMAIL PROTECTED]>
-Build-Depends-Indep: debhelper (>= 4.0.0), cdbs, python-dev, python
+Build-Depends: debhelper (>= 5.0.37.2), cdbs (>=0.4.43), python-central
(>=0.5), python-all-dev
+XS-Python-Version: current
Standards-Version: 3.6.1.0
Package: lfm
Architecture: all
Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+XB-Python-Version: ${python:Versions}
Description: a simple but powerful file manager for the UNIX console
Last File Manager is a simple but powerful file manager for the
UNIX console. It has been developed with the ol' good `Midnight
diff -Naur lfm-0.91.2/debian/pycompat lfm-0.91.2-1.1/debian/pycompat
--- lfm-0.91.2/debian/pycompat 1969-12-31 19:00:00.000000000 -0500
+++ lfm-0.91.2-1.1/debian/pycompat 2006-09-08 07:23:46.000000000 -0400
@@ -0,0 +1 @@
+2
diff -Naur lfm-0.91.2/debian/rules lfm-0.91.2-1.1/debian/rules
--- lfm-0.91.2/debian/rules 2006-09-08 09:21:45.000000000 -0400
+++ lfm-0.91.2-1.1/debian/rules 2006-09-08 07:41:30.000000000 -0400
@@ -1,5 +1,6 @@
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-
+DEB_PYTHON_SYSTEM=pycentral
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk
@@ -7,4 +8,16 @@
DEB_COMPRESS_EXCLUDE := COPYING NEWS README ChangeLog
binary-post-install/lfm::
+ dh_pycentral -plfm
+ dh_python -plfm
+
+# Make .py files executable
+ chmod +x debian/lfm/usr/share/pycentral/lfm/site-packages/lfm/lfm.py
+ chmod +x debian/lfm/usr/share/pycentral/lfm/site-packages/lfm/pyview.py
+
+# Compress ChangeLog file
cp ChangeLog debian/lfm/usr/share/doc/lfm/
+ gzip -9 debian/lfm/usr/share/doc/lfm/ChangeLog
+
+# Remove COPYING file, as it is already included in the copyright
+ rm debian/lfm/usr/share/doc/lfm/COPYING