[Python-modules-commits] r9182 - in packages/python-uniconvertor/trunk/debian (17 files)
awen-guest at users.alioth.debian.org
awen-guest at users.alioth.debian.org
Mon Jul 27 23:13:33 UTC 2009
Date: Monday, July 27, 2009 @ 23:13:33
Author: awen-guest
Revision: 9182
python-uniconvertor (1.1.4-1) UNRELEASED; urgency=low
* New upstream release (LP: #393688)
- Drop patches 02_exec_uniconvertor.patch and 04_no_exit_on_import.patch;
ideas applied upstream.
- Manually update 01_rename_uniconv.patch
- debian/uniconvertor.pod: Update to reflect new supported file-types
* Switch to use python-support (LP: #371476)
- debian/rules: Change dh_pycentral to dh_pysupport
- debian/control: Change build-dep on python-central to python-support;
make it version-specific (>= 1.0)
- Add preinst.python-uniconvertor to remove left-over python-central bits
* Switch to use quilt as patch-system
- debian/rules:
+ import /usr/share/quilt/quilt.make instead of dpatch-equivalent
+ Change dependencies on patch-stamp to patch
- debian/control: Change build-dep on dpatch to quilt
- Rename patches from *.dpatch to *.patch and remove the
dpatch-introduction in all of them.
- Change the 00list-file to a series-file
- Delete README.source; only content was dpatch-related
* debian/control: Bump standards-version to 3.8.1, no other changes needed
* debian/rules: Add --install-layout=deb to setup.py lines
* debian/copyright: Update copyright years to reflect upstream
* debian/README.Debian: Update with more info on font support
* Add 02_fake_fallback_font.patch which adds a fake fall-back font; this
makes uniconvertor able to convert path-based files with embedded font
information. Thanks to Xavi Drudis Ferran.
* Update 03_fontwarning.patch to warn when using the fallback font.
Added:
packages/python-uniconvertor/trunk/debian/patches/01_rename_uniconv.patch
packages/python-uniconvertor/trunk/debian/patches/02_fake_fallback_font.patch
packages/python-uniconvertor/trunk/debian/patches/03_fontwarning.patch
packages/python-uniconvertor/trunk/debian/patches/series
packages/python-uniconvertor/trunk/debian/preinst.python-uniconvertor
Modified:
packages/python-uniconvertor/trunk/debian/README.Debian
packages/python-uniconvertor/trunk/debian/changelog
packages/python-uniconvertor/trunk/debian/control
packages/python-uniconvertor/trunk/debian/copyright
packages/python-uniconvertor/trunk/debian/rules
packages/python-uniconvertor/trunk/debian/uniconvertor.pod
Deleted:
packages/python-uniconvertor/trunk/debian/README.source
packages/python-uniconvertor/trunk/debian/patches/00list
packages/python-uniconvertor/trunk/debian/patches/01_rename_uniconv.dpatch
packages/python-uniconvertor/trunk/debian/patches/02_exec_uniconvertor.dpatch
packages/python-uniconvertor/trunk/debian/patches/03_fontwarning.dpatch
packages/python-uniconvertor/trunk/debian/patches/04_no_exit_on_import.dpatch
Modified: packages/python-uniconvertor/trunk/debian/README.Debian
===================================================================
--- packages/python-uniconvertor/trunk/debian/README.Debian 2009-07-27 22:58:13 UTC (rev 9181)
+++ packages/python-uniconvertor/trunk/debian/README.Debian 2009-07-27 23:13:33 UTC (rev 9182)
@@ -1,6 +1,11 @@
--- Font support ---
-UniConvertor doesn't have font support yet and should be used against path-based files only.
+UniConvertor doesn't have proper font support yet and should be used against
+path-based files only. SVG (and possibly other files as well) can be converted
+to path-based files in inkscape.
-See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504223
+Adding .sfd files and appropriate font-files to ~/.uniconvertor will let
+uniconvertor load those fonts; but most tests have revealed that correct usage
+of the fonts are not to be expected.
-SVG (and possibly other files as well) can be converted to path-based files in inkscape.
+See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504223 for a lengthy discussion of this.
+
Deleted: packages/python-uniconvertor/trunk/debian/README.source
===================================================================
--- packages/python-uniconvertor/trunk/debian/README.source 2009-07-27 22:58:13 UTC (rev 9181)
+++ packages/python-uniconvertor/trunk/debian/README.source 2009-07-27 23:13:33 UTC (rev 9182)
@@ -1,9 +0,0 @@
-This package is using dpatch patch system.
-
-To patch the source:
- * debian/rules patch
-To add a new patch:
- * put it under debian/patches
- * add it to debian/patches/00list
-
-See /usr/share/doc/dpatch/README.source.gz for more information.
Modified: packages/python-uniconvertor/trunk/debian/changelog
===================================================================
--- packages/python-uniconvertor/trunk/debian/changelog 2009-07-27 22:58:13 UTC (rev 9181)
+++ packages/python-uniconvertor/trunk/debian/changelog 2009-07-27 23:13:33 UTC (rev 9182)
@@ -1,3 +1,35 @@
+python-uniconvertor (1.1.4-1) UNRELEASED; urgency=low
+
+ * New upstream release (LP: #393688)
+ - Drop patches 02_exec_uniconvertor.patch and 04_no_exit_on_import.patch;
+ ideas applied upstream.
+ - Manually update 01_rename_uniconv.patch
+ - debian/uniconvertor.pod: Update to reflect new supported file-types
+ * Switch to use python-support (LP: #371476)
+ - debian/rules: Change dh_pycentral to dh_pysupport
+ - debian/control: Change build-dep on python-central to python-support;
+ make it version-specific (>= 1.0)
+ - Add preinst.python-uniconvertor to remove left-over python-central bits
+ * Switch to use quilt as patch-system
+ - debian/rules:
+ + import /usr/share/quilt/quilt.make instead of dpatch-equivalent
+ + Change dependencies on patch-stamp to patch
+ - debian/control: Change build-dep on dpatch to quilt
+ - Rename patches from *.dpatch to *.patch and remove the
+ dpatch-introduction in all of them.
+ - Change the 00list-file to a series-file
+ - Delete README.source; only content was dpatch-related
+ * debian/control: Bump standards-version to 3.8.1, no other changes needed
+ * debian/rules: Add --install-layout=deb to setup.py lines
+ * debian/copyright: Update copyright years to reflect upstream
+ * debian/README.Debian: Update with more info on font support
+ * Add 02_fake_fallback_font.patch which adds a fake fall-back font; this
+ makes uniconvertor able to convert path-based files with embedded font
+ information. Thanks to Xavi Drudis Ferran.
+ * Update 03_fontwarning.patch to warn when using the fallback font.
+
+ -- Andreas Wenning <awen at awen.dk> Tue, 28 Jul 2009 01:09:42 +0200
+
python-uniconvertor (1.1.3-4) unstable; urgency=low
* Add 04_no_exit_on_import.dpatch to prevent uniconvertor from calling
Modified: packages/python-uniconvertor/trunk/debian/control
===================================================================
--- packages/python-uniconvertor/trunk/debian/control 2009-07-27 22:58:13 UTC (rev 9181)
+++ packages/python-uniconvertor/trunk/debian/control 2009-07-27 23:13:33 UTC (rev 9182)
@@ -4,11 +4,11 @@
Maintainer: Andreas Wenning <uniconvertor at awen.dk>
Uploaders: Andreas Wenning <awen at awen.dk>, Luis Uribe <acme at eviled.org>, Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Homepage: http://sk1project.org/modules.php?name=Products&product=uniconvertor
-Build-Depends: python-all-dev (>= 2.4), python-all-dbg (>= 2.4), debhelper (>= 5.0.51), dpatch, python-central (>= 0.6), perl
+Build-Depends: python-all-dev (>= 2.4), python-all-dbg (>= 2.4), debhelper (>= 5.0.51), quilt, python-support (>= 1.0), perl
XS-Python-Version: all
Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-uniconvertor/trunk
Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-uniconvertor/trunk/
-Standards-Version: 3.8.0
+Standards-Version: 3.8.1
Package: python-uniconvertor
Architecture: any
Modified: packages/python-uniconvertor/trunk/debian/copyright
===================================================================
--- packages/python-uniconvertor/trunk/debian/copyright 2009-07-27 22:58:13 UTC (rev 9181)
+++ packages/python-uniconvertor/trunk/debian/copyright 2009-07-27 23:13:33 UTC (rev 9182)
@@ -4,7 +4,7 @@
It was downloaded from:
http://sk1project.org/modules.php?name=Products&product=uniconvertor
-Copyright (C) 2007 by Igor E. Novikov, Valek Fillipov
+Copyright (C) 2007-2008 by Igor E. Novikov, Valek Fillipov
This program is free software; you can redistribute it and/or
modify it under the terms of GNU Library General Public
Deleted: packages/python-uniconvertor/trunk/debian/patches/00list
===================================================================
--- packages/python-uniconvertor/trunk/debian/patches/00list 2009-07-27 22:58:13 UTC (rev 9181)
+++ packages/python-uniconvertor/trunk/debian/patches/00list 2009-07-27 23:13:33 UTC (rev 9182)
@@ -1,4 +0,0 @@
-01_rename_uniconv.dpatch
-02_exec_uniconvertor.dpatch
-03_fontwarning.dpatch
-04_no_exit_on_import.dpatch
Deleted: packages/python-uniconvertor/trunk/debian/patches/01_rename_uniconv.dpatch
===================================================================
--- packages/python-uniconvertor/trunk/debian/patches/01_rename_uniconv.dpatch 2009-07-27 22:58:13 UTC (rev 9181)
+++ packages/python-uniconvertor/trunk/debian/patches/01_rename_uniconv.dpatch 2009-07-27 23:13:33 UTC (rev 9182)
@@ -1,28 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 01_rename_uniconv.dpatch by Andreas Wenning <awen at awen.dk>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: The main binary is renamed to uniconvertor. Patching the help text.
-
- at DPATCH@
-diff -urNad uniconvertor-1.1.1~/src/__init__.py uniconvertor-1.1.1/src/__init__.py
---- uniconvertor-1.1.1~/src/__init__.py 2008-03-13 00:10:44.000000000 +0100
-+++ uniconvertor-1.1.1/src/__init__.py 2008-03-15 11:38:34.000000000 +0100
-@@ -7,7 +7,7 @@
- # For more info see COPYRIGHTS file in root directory.
-
- '''
--USAGE: uniconv [INPUT FILE] [OUTPUT FILE]
-+USAGE: uniconvertor [INPUT FILE] [OUTPUT FILE]
-
- Converts one vector graphics format to another using sK1 engine.
- sK1 Team (http://sk1project.org), copyright (C) 2007 by Igor E. Novikov, Valek Filippov
-@@ -34,7 +34,7 @@
- SK - Sketch/Skencil files
- SK1 - sK1 vector graphics files
-
--Example: uniconv drawing.cdr drawing.svg\n
-+Example: uniconvertor drawing.cdr drawing.svg\n
- '''
-
- import sys, os, string
Added: packages/python-uniconvertor/trunk/debian/patches/01_rename_uniconv.patch
===================================================================
--- packages/python-uniconvertor/trunk/debian/patches/01_rename_uniconv.patch (rev 0)
+++ packages/python-uniconvertor/trunk/debian/patches/01_rename_uniconv.patch 2009-07-27 23:13:33 UTC (rev 9182)
@@ -0,0 +1,22 @@
+Index: b/src/__init__.py
+===================================================================
+--- a/src/__init__.py 2009-07-27 16:33:53.000000000 +0200
++++ b/src/__init__.py 2009-07-28 00:50:37.000000000 +0200
+@@ -7,7 +7,7 @@
+ # For more info see COPYRIGHTS file in root directory.
+
+ '''
+-USAGE: uniconv [OPTIONS] [INPUT FILE] [OUTPUT FILE]
++USAGE: uniconvertor [OPTIONS] [INPUT FILE] [OUTPUT FILE]
+
+ Converts one vector graphics format to another using sK1 engine.
+ sK1 Team (http://sk1project.org), copyright (C) 2007-2009 by Igor E. Novikov
+@@ -38,7 +38,7 @@
+ PS - PostScript
+ PLT - HPGL for cutting plotter files
+
+-Example: uniconv drawing.cdr drawing.svg\n
++Example: uniconvertor drawing.cdr drawing.svg\n
+ '''
+
+ import sys, os, string
Deleted: packages/python-uniconvertor/trunk/debian/patches/02_exec_uniconvertor.dpatch
===================================================================
--- packages/python-uniconvertor/trunk/debian/patches/02_exec_uniconvertor.dpatch 2009-07-27 22:58:13 UTC (rev 9181)
+++ packages/python-uniconvertor/trunk/debian/patches/02_exec_uniconvertor.dpatch 2009-07-27 23:13:33 UTC (rev 9182)
@@ -1,17 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 02_exec_uniconvertor.dpatch by Andreas Wenning <awen at awen.dk>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Use exec to start uniconvertor.
-
- at DPATCH@
-diff -urNad python-uniconvertor-1.1.1~/src/uniconv python-uniconvertor-1.1.1/src/uniconv
---- python-uniconvertor-1.1.1~/src/uniconv 2008-03-13 00:10:44.000000000 +0100
-+++ python-uniconvertor-1.1.1/src/uniconv 2008-03-15 15:11:01.000000000 +0100
-@@ -20,4 +20,4 @@
- #
-
-
--python -c "import uniconvertor" "$1" "$2"
-\ No newline at end of file
-+exec python -c "import uniconvertor" "$1" "$2"
Added: packages/python-uniconvertor/trunk/debian/patches/02_fake_fallback_font.patch
===================================================================
--- packages/python-uniconvertor/trunk/debian/patches/02_fake_fallback_font.patch (rev 0)
+++ packages/python-uniconvertor/trunk/debian/patches/02_fake_fallback_font.patch 2009-07-27 23:13:33 UTC (rev 9182)
@@ -0,0 +1,36 @@
+Index: b/src/app/Graphics/font.py
+===================================================================
+--- a/src/app/Graphics/font.py 2009-07-27 16:33:52.000000000 +0200
++++ b/src/app/Graphics/font.py 2009-07-28 00:50:54.000000000 +0200
+@@ -431,4 +431,31 @@
+ # Initialisation on import
+ #
+
++## workaround for a bug that stops uniconvertor from working with svg
++## files winth font properties in style attributes, even if they apply
++## to no text because all text is empty or transformed to paths
++## see http://svn.berlios.de/viewcvs/bulmages/branches/docsMonolitic/bulmages/installbulmages/openreports/ca/
++
++class FakeFont(Font):
++ def __init__(self, name):
++ self.name = name
++ self.family = name
++ self.font_attrs = 'Regular Italic'
++ self.xlfd_start = '-adobe-Nimbus Roman No9 L-regular-i-normal'
++ self.encoding_name = 'iso8859-1'
++ self.outlines = None
++ self.ref_count = 0
++ font_cache[self.name] = self
++
++def ensure_there_is_at_least_a_fake_fallback_font():
++ fallback = 'Slim';
++ if (not (config is None)) and (hasattr(config,'preferences')) and (hasattr(config.preferences,'fallback_font')):
++ fallback = config.preferences.fallback_font
++ if not font_cache.has_key(fallback):
++ return FakeFont(fallback)
++ return font_cache[fallback]
++
++fallbackFont = ensure_there_is_at_least_a_fake_fallback_font()
++
+ Subscribe(const.INITIALIZE, read_font_dirs)
++read_font_dirs()
Deleted: packages/python-uniconvertor/trunk/debian/patches/03_fontwarning.dpatch
===================================================================
--- packages/python-uniconvertor/trunk/debian/patches/03_fontwarning.dpatch 2009-07-27 22:58:13 UTC (rev 9181)
+++ packages/python-uniconvertor/trunk/debian/patches/03_fontwarning.dpatch 2009-07-27 23:13:33 UTC (rev 9182)
@@ -1,19 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 03_fontwarning.dpatch by Andreas Wenning <awen at awen.dk>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: adds a warning about missing font support, see README.Debian
-
- at DPATCH@
-diff -urNad python-uniconvertor-1.1.3~/src/app/Graphics/font.py python-uniconvertor-1.1.3/src/app/Graphics/font.py
---- python-uniconvertor-1.1.3~/src/app/Graphics/font.py 2008-02-10 23:51:39.000000000 +0100
-+++ python-uniconvertor-1.1.3/src/app/Graphics/font.py 2008-11-04 12:04:42.000000000 +0100
-@@ -423,6 +423,8 @@
- _warned_about_font[fontname] = 1
- if fontname != config.preferences.fallback_font:
- return GetFont(config.preferences.fallback_font)
-+ warn(USER, _("Fontsystem not yet implemented in UniConvertor. "
-+ "See /usr/share/doc/python-uniconvertor/README.Debian for more info"))
- raise ValueError, 'Cannot find font %s.' % fontname
- return Font(fontname)
-
Added: packages/python-uniconvertor/trunk/debian/patches/03_fontwarning.patch
===================================================================
--- packages/python-uniconvertor/trunk/debian/patches/03_fontwarning.patch (rev 0)
+++ packages/python-uniconvertor/trunk/debian/patches/03_fontwarning.patch 2009-07-27 23:13:33 UTC (rev 9182)
@@ -0,0 +1,13 @@
+Index: b/src/app/Graphics/font.py
+===================================================================
+--- a/src/app/Graphics/font.py 2009-07-28 00:50:37.000000000 +0200
++++ b/src/app/Graphics/font.py 2009-07-28 00:50:37.000000000 +0200
+@@ -420,6 +420,8 @@
+ "I'll use %(fallback)s instead"),
+ fontname = fontname,
+ fallback = config.preferences.fallback_font)
++ warn(USER, _("Fontsystem not yet implemented in UniConvertor. "
++ "See /usr/share/doc/python-uniconvertor/README.Debian for more info"))
+ _warned_about_font[fontname] = 1
+ if fontname != config.preferences.fallback_font:
+ return GetFont(config.preferences.fallback_font)
Deleted: packages/python-uniconvertor/trunk/debian/patches/04_no_exit_on_import.dpatch
===================================================================
--- packages/python-uniconvertor/trunk/debian/patches/04_no_exit_on_import.dpatch 2009-07-27 22:58:13 UTC (rev 9181)
+++ packages/python-uniconvertor/trunk/debian/patches/04_no_exit_on_import.dpatch 2009-07-27 23:13:33 UTC (rev 9182)
@@ -1,110 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 04_no_exit_on_import.dpatch by Andreas Wenning <awen at awen.dk>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: Change the __init__.py to only run when calling the main function
-## DP: this prevents sys.exit() being called when doing an import.
-
- at DPATCH@
-diff -urNad python-uniconvertor-1.1.2~/src/__init__.py python-uniconvertor-1.1.2/src/__init__.py
---- python-uniconvertor-1.1.2~/src/__init__.py 2008-11-21 13:53:03.000000000 +0100
-+++ python-uniconvertor-1.1.2/src/__init__.py 2008-11-21 13:53:34.000000000 +0100
-@@ -39,43 +39,47 @@
-
- import sys, os, string
-
--_pkgdir = __path__[0]
--app_dir = os.path.join(_pkgdir, 'app')
--app_ver = string.strip(open(os.path.join(app_dir, 'VERSION')).read())
-+def main(argv):
-+ _pkgdir = __path__[0]
-+ app_dir = os.path.join(_pkgdir, 'app')
-+ app_ver = string.strip(open(os.path.join(app_dir, 'VERSION')).read())
-
--if len(sys.argv)<2 or sys.argv[1]=='--help':
-- print '\nUniConvertor',app_ver
-- print __doc__
-- sys.exit(0)
--if not os.path.isfile(sys.argv[1]):
-- print '\nERROR: %s file is not found!' % sys.argv[1]
-- print '\nUniConvertor',app_ver
-- print __doc__
-- sys.exit(1)
--if len(sys.argv) != 3:
-- print '\nERROR: incorrect arguments!'
-- print '\nUniConvertor',app_ver
-- print __doc__
-- sys.exit(1)
-+ if len(argv)<2 or argv[1]=='--help':
-+ print '\nUniConvertor',app_ver
-+ print __doc__
-+ sys.exit(0)
-+ if not os.path.isfile(argv[1]):
-+ print '\nERROR: %s file is not found!' % argv[1]
-+ print '\nUniConvertor',app_ver
-+ print __doc__
-+ sys.exit(1)
-+ if len(argv) != 3:
-+ print '\nERROR: incorrect arguments!'
-+ print '\nUniConvertor',app_ver
-+ print __doc__
-+ sys.exit(1)
-
-
--sys.path.insert(1, _pkgdir)
-+ sys.path.insert(1, _pkgdir)
-
--from app.io import load
--from app.plugins import plugins
--import app
-+ from app.io import load
-+ from app.plugins import plugins
-+ import app
-
--app.init_lib()
-+ app.init_lib()
-
--doc = load.load_drawing(sys.argv[1])
--extension = os.path.splitext(sys.argv[2])[1]
--plugins.load_plugin_configuration()
--fileformat = plugins.guess_export_plugin(extension)
--if fileformat:
-- saver = plugins.find_export_plugin(fileformat)
-- saver(doc, sys.argv[2])
--else:
-- sys.stderr.write('ERROR: unrecognized extension %s\n' % extension)
-- sys.exit(1)
--doc.Destroy()
--sys.exit(0)
-+ doc = load.load_drawing(argv[1])
-+ extension = os.path.splitext(argv[2])[1]
-+ plugins.load_plugin_configuration()
-+ fileformat = plugins.guess_export_plugin(extension)
-+ if fileformat:
-+ saver = plugins.find_export_plugin(fileformat)
-+ saver(doc, argv[2])
-+ else:
-+ sys.stderr.write('ERROR: unrecognized extension %s\n' % extension)
-+ sys.exit(1)
-+ doc.Destroy()
-+ sys.exit(0)
-+
-+if __name__ == "__main__":
-+ main(sys.argv)
-diff -urNad python-uniconvertor-1.1.2~/src/uniconv python-uniconvertor-1.1.2/src/uniconv
---- python-uniconvertor-1.1.2~/src/uniconv 2008-11-21 13:53:03.000000000 +0100
-+++ python-uniconvertor-1.1.2/src/uniconv 2008-11-21 13:53:03.000000000 +0100
-@@ -1,4 +1,4 @@
--#!/bin/sh
-+#!/usr/bin/python
- #
- # Wrapper script to start a UniConvertor application once it is installed
- #
-@@ -19,5 +19,5 @@
- # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
- #
-
--
--exec python -c "import uniconvertor" "$1" "$2"
-+import sys, uniconvertor
-+uniconvertor.main(sys.argv)
Added: packages/python-uniconvertor/trunk/debian/patches/series
===================================================================
--- packages/python-uniconvertor/trunk/debian/patches/series (rev 0)
+++ packages/python-uniconvertor/trunk/debian/patches/series 2009-07-27 23:13:33 UTC (rev 9182)
@@ -0,0 +1,3 @@
+01_rename_uniconv.patch
+02_fake_fallback_font.patch
+03_fontwarning.patch
Added: packages/python-uniconvertor/trunk/debian/preinst.python-uniconvertor
===================================================================
--- packages/python-uniconvertor/trunk/debian/preinst.python-uniconvertor (rev 0)
+++ packages/python-uniconvertor/trunk/debian/preinst.python-uniconvertor 2009-07-27 23:13:33 UTC (rev 9182)
@@ -0,0 +1,3 @@
+if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 1.1.4-1; then
+ pycentral pkgremove python-uniconvertor
+fi
Modified: packages/python-uniconvertor/trunk/debian/rules
===================================================================
--- packages/python-uniconvertor/trunk/debian/rules 2009-07-27 22:58:13 UTC (rev 9181)
+++ packages/python-uniconvertor/trunk/debian/rules 2009-07-27 23:13:33 UTC (rev 9182)
@@ -1,5 +1,5 @@
#!/usr/bin/make -f
-include /usr/share/dpatch/dpatch.make
+include /usr/share/quilt/quilt.make
p:=debian/python-uniconvertor
pd:=debian/python-uniconvertor-dbg
@@ -7,17 +7,17 @@
PYVERS := $(shell pyversions -vs)
PYVER := $(shell pyversions -vd)
-build: clean patch-stamp build-stamp
+build: clean patch build-stamp
pod2man --section=1 --release=$(VERSION) debian/uniconvertor.pod > uniconvertor.1
mkdir -p $(p)
build-stamp: $(PYVERS:%=build-python%) $(PYVERS:%=dbg-build-python%)
build-python%:
- python$* setup.py install --no-compile --root $(p)
+ python$* setup.py install --no-compile --install-layout=deb --root $(p)
dbg-build-python%:
- python$*-dbg setup.py install --no-compile --root $(pd)
+ python$*-dbg setup.py install --no-compile --install-layout=deb --root $(pd)
clean: unpatch
dh_testdir
@@ -51,7 +51,7 @@
dh_strip -ppython-uniconvertor --dbg-package=python-uniconvertor-dbg
dh_compress -a -X.py
dh_fixperms -a
- dh_pycentral -a
+ dh_pysupport -a
dh_makeshlibs -a
dh_installdeb -a
dh_shlibdeps -a
Modified: packages/python-uniconvertor/trunk/debian/uniconvertor.pod
===================================================================
--- packages/python-uniconvertor/trunk/debian/uniconvertor.pod 2009-07-27 22:58:13 UTC (rev 9181)
+++ packages/python-uniconvertor/trunk/debian/uniconvertor.pod 2009-07-27 23:13:33 UTC (rev 9182)
@@ -23,6 +23,7 @@
WMF - Windows Metafile files
SK - Sketch/Skencil files
SK1 - sK1 vector graphics files
+ PLT - HPGL for cutting plotter files
Allowed output formats:
AI - Adobe Illustrator files (postscript based)
@@ -33,6 +34,7 @@
SK1 - sK1 vector graphics files
PDF - Portable Document Format
PS - PostScript
+ PLT - HPGL for cutting plotter files
=head1 EXAMPLES
More information about the Python-modules-commits
mailing list