[Python-modules-commits] r22132 - in packages/django-colorful/trunk/debian (16 files)

fladi-guest at users.alioth.debian.org fladi-guest at users.alioth.debian.org
Mon Jun 11 09:03:13 UTC 2012


    Date: Monday, June 11, 2012 @ 09:03:09
  Author: fladi-guest
Revision: 22132

Drop python-cairosvg-common and switch to alternatives.

Added:
  packages/django-colorful/trunk/debian/manpage.cairosvg-py2.sgml
  packages/django-colorful/trunk/debian/manpage.cairosvg-py3.sgml
  packages/django-colorful/trunk/debian/python-cairosvg.docs
  packages/django-colorful/trunk/debian/python-cairosvg.manpages
  packages/django-colorful/trunk/debian/python-cairosvg.postinst
  packages/django-colorful/trunk/debian/python-cairosvg.prerm
  packages/django-colorful/trunk/debian/python3-cairosvg.docs
  packages/django-colorful/trunk/debian/python3-cairosvg.manpages
  packages/django-colorful/trunk/debian/python3-cairosvg.postinst
  packages/django-colorful/trunk/debian/python3-cairosvg.prerm
Modified:
  packages/django-colorful/trunk/debian/changelog
  packages/django-colorful/trunk/debian/control
  packages/django-colorful/trunk/debian/rules
Deleted:
  packages/django-colorful/trunk/debian/docs
  packages/django-colorful/trunk/debian/manpage.cairosvg.sgml
  packages/django-colorful/trunk/debian/manpages

Modified: packages/django-colorful/trunk/debian/changelog
===================================================================
--- packages/django-colorful/trunk/debian/changelog	2012-06-10 16:35:25 UTC (rev 22131)
+++ packages/django-colorful/trunk/debian/changelog	2012-06-11 09:03:09 UTC (rev 22132)
@@ -1,5 +1,5 @@
-cairosvg (0.4.3-1) UNRELEASED; urgency=low
+cairosvg (0.4.3-1) unstable; urgency=low
 
   * Initial release (Closes: #676344).
 
- -- Michael Fladischer <FladischerMichael at fladi.at>  Sun, 03 Jun 2012 16:27:41 +0200
+ -- Michael Fladischer <FladischerMichael at fladi.at>  Wed, 06 Jun 2012 14:31:35 +0200

Modified: packages/django-colorful/trunk/debian/control
===================================================================
--- packages/django-colorful/trunk/debian/control	2012-06-10 16:35:25 UTC (rev 22131)
+++ packages/django-colorful/trunk/debian/control	2012-06-11 09:03:09 UTC (rev 22132)
@@ -20,38 +20,21 @@
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/cairosvg/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/cairosvg/trunk/
 
-Package: python-cairosvg-common
-Architecture: all
-Depends: python-cairosvg | python3-cairosvg, ${misc:Depends}, ${python:Depends}
-Description: SVG converter based on Cairo (CLI interface)
- CairoSVG is a SVG converter based on Cairo. It can export SVG files to PDF,
- PostScript and PNG files.
- The main part of CairoSVG is a SVG parser, trying to follow the SVG 1.1
- recommandation from the W3C. Once parsed, the result is drawn to a Cairo
- surface that can be exported to various formats: PDF, PostScript, PNG and
- even SVG.
- .
- This package contains the common CLI interface script.
-
 Package: python-cairosvg
 Architecture: all
-Depends: ${misc:Depends}, ${python:Depends}
-Recommends: python-cairosvg-common
-Description: SVG converter based on Cairo (Python2 library)
+Depends: ${misc:Depends}, ${python:Depends}, python-cairo
+Description: SVG to PDF/PS/PNG converter based on Cairo
  CairoSVG is a SVG converter based on Cairo. It can export SVG files to PDF,
  PostScript and PNG files.
  The main part of CairoSVG is a SVG parser, trying to follow the SVG 1.1
  recommandation from the W3C. Once parsed, the result is drawn to a Cairo
  surface that can be exported to various formats: PDF, PostScript, PNG and
  even SVG.
- .
- This package contains the Python2 version of the library.
 
 Package: python3-cairosvg
 Architecture: all
-Depends: ${misc:Depends}, ${python3:Depends}
-Recommends: python-cairosvg-common
-Description: SVG converter based on Cairo (Python3 library)
+Depends: ${misc:Depends}, ${python3:Depends}, python3-cairo
+Description: SVG to PDF/PS/PNG converter based on Cairo (Python3 library)
  CairoSVG is a SVG converter based on Cairo. It can export SVG files to PDF,
  PostScript and PNG files.
  The main part of CairoSVG is a SVG parser, trying to follow the SVG 1.1

Deleted: packages/django-colorful/trunk/debian/docs
===================================================================
--- packages/django-colorful/trunk/debian/docs	2012-06-10 16:35:25 UTC (rev 22131)
+++ packages/django-colorful/trunk/debian/docs	2012-06-11 09:03:09 UTC (rev 22132)
@@ -1 +0,0 @@
-README.rst

Added: packages/django-colorful/trunk/debian/manpage.cairosvg-py2.sgml
===================================================================
--- packages/django-colorful/trunk/debian/manpage.cairosvg-py2.sgml	                        (rev 0)
+++ packages/django-colorful/trunk/debian/manpage.cairosvg-py2.sgml	2012-06-11 09:03:09 UTC (rev 22132)
@@ -0,0 +1,168 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+
+<!-- Process this file with docbook-to-man to generate an nroff manual
+     page: `docbook-to-man manpage.sgml > manpage.1'.  You may view
+     the manual page with: `docbook-to-man manpage.sgml | nroff -man |
+     less'.  A typical entry in a Makefile or Makefile.am is:
+
+manpage.1: manpage.sgml
+	docbook-to-man $< > $@
+
+
+	The docbook-to-man binary is found in the docbook-to-man package.
+	Please remember that if you create the nroff version in one of the
+	debian/rules file targets (such as build), you will need to include
+	docbook-to-man in your Build-Depends control field.
+
+  -->
+
+  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+  <!ENTITY dhfirstname "<firstname>Michael</firstname>">
+  <!ENTITY dhsurname   "<surname>Fladischer</surname>">
+  <!-- Please adjust the date whenever revising the manpage. -->
+  <!ENTITY dhdate      "<date>6 June 2012</date>">
+  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+       allowed: see man(7), man(1). -->
+  <!ENTITY dhsection   "<manvolnum>1</manvolnum>">
+  <!ENTITY dhemail     "<email>FladischerMichael at fladi.at</email>">
+  <!ENTITY dhusername  "fladi">
+  <!ENTITY dhucpackage "<refentrytitle>CAIROSVG</refentrytitle>">
+  <!ENTITY dhpackage   "cairosvg-py2">
+
+  <!ENTITY debian      "<productname>Debian</productname>">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      &dhemail;
+    </address>
+    <author>
+      &dhfirstname;
+      &dhsurname;
+    </author>
+    <copyright>
+      <year>2012</year>
+      <holder>&dhusername;</holder>
+    </copyright>
+    &dhdate;
+  </refentryinfo>
+  <refmeta>
+    &dhucpackage;
+
+    &dhsection;
+  </refmeta>
+  <refnamediv>
+    <refname>&dhpackage;</refname>
+
+    <refpurpose>SVG converter based on Cairo</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+      <arg><replaceable>filename</replaceable></arg>
+      <arg><option>-h</option></arg>
+      <arg><option>-f <replaceable>format</replaceable></option></arg>
+      <arg><option>-d <replaceable>dpi</replaceable></option></arg>
+      <arg><option>-o <replaceable>output</replaceable></option></arg>
+      <arg><option>--version</option></arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+
+    <para>This manual page documents briefly the
+      <command>&dhpackage;</command> command.</para>
+
+    <para>This manual page was written for the &debian; distribution
+      because the original program does not have a manual page.</para>
+
+    <para><command>&dhpackage;</command> is a SVG converter based on Cairo. It 
+    can export SVG files to PDF, PostScript and PNG files.</para>
+
+  </refsect1>
+  <refsect1>
+    <title>OPTIONS</title>
+
+    <para>This program follows the usual &gnu; command line syntax,
+      with long options starting with two dashes (`-').  A summary of
+      options is included below.</para>
+
+    <variablelist>
+      <varlistentry>
+        <term><option>-h</option>
+          <option>--help</option>
+        </term>
+        <listitem>
+          <para>Show help message and exit.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>--version</option>
+        </term>
+        <listitem>
+          <para>Show program's version number and exit.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-f</option>
+          <option>--format</option>
+        </term>
+        <listitem>
+          <para>Output format which can either be PDF, PNG, PS or even SVG.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-d</option>
+          <option>--dpi</option>
+        </term>
+        <listitem>
+          <para>SVG resolution.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-o</option>
+          <option>--output</option>
+        </term>
+        <listitem>
+          <para>Output filename.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  <refsect1>
+    <title>AUTHOR</title>
+
+    <para>This manual page was written by &dhusername; &dhemail; for
+      the &debian; system (and may be used by others).  Permission is
+      granted to copy, distribute and/or modify this document under
+      the terms of the &gnu; General Public License, Version 2 any
+      later version published by the Free Software Foundation.
+    </para>
+    <para>
+      On Debian systems, the complete text of the GNU General Public
+      License can be found in /usr/share/common-licenses/GPL.
+    </para>
+
+  </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->

Added: packages/django-colorful/trunk/debian/manpage.cairosvg-py3.sgml
===================================================================
--- packages/django-colorful/trunk/debian/manpage.cairosvg-py3.sgml	                        (rev 0)
+++ packages/django-colorful/trunk/debian/manpage.cairosvg-py3.sgml	2012-06-11 09:03:09 UTC (rev 22132)
@@ -0,0 +1,168 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+
+<!-- Process this file with docbook-to-man to generate an nroff manual
+     page: `docbook-to-man manpage.sgml > manpage.1'.  You may view
+     the manual page with: `docbook-to-man manpage.sgml | nroff -man |
+     less'.  A typical entry in a Makefile or Makefile.am is:
+
+manpage.1: manpage.sgml
+	docbook-to-man $< > $@
+
+
+	The docbook-to-man binary is found in the docbook-to-man package.
+	Please remember that if you create the nroff version in one of the
+	debian/rules file targets (such as build), you will need to include
+	docbook-to-man in your Build-Depends control field.
+
+  -->
+
+  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+  <!ENTITY dhfirstname "<firstname>Michael</firstname>">
+  <!ENTITY dhsurname   "<surname>Fladischer</surname>">
+  <!-- Please adjust the date whenever revising the manpage. -->
+  <!ENTITY dhdate      "<date>6 June 2012</date>">
+  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+       allowed: see man(7), man(1). -->
+  <!ENTITY dhsection   "<manvolnum>1</manvolnum>">
+  <!ENTITY dhemail     "<email>FladischerMichael at fladi.at</email>">
+  <!ENTITY dhusername  "fladi">
+  <!ENTITY dhucpackage "<refentrytitle>CAIROSVG</refentrytitle>">
+  <!ENTITY dhpackage   "cairosvg-py3">
+
+  <!ENTITY debian      "<productname>Debian</productname>">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      &dhemail;
+    </address>
+    <author>
+      &dhfirstname;
+      &dhsurname;
+    </author>
+    <copyright>
+      <year>2012</year>
+      <holder>&dhusername;</holder>
+    </copyright>
+    &dhdate;
+  </refentryinfo>
+  <refmeta>
+    &dhucpackage;
+
+    &dhsection;
+  </refmeta>
+  <refnamediv>
+    <refname>&dhpackage;</refname>
+
+    <refpurpose>SVG converter based on Cairo</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+      <arg><replaceable>filename</replaceable></arg>
+      <arg><option>-h</option></arg>
+      <arg><option>-f <replaceable>format</replaceable></option></arg>
+      <arg><option>-d <replaceable>dpi</replaceable></option></arg>
+      <arg><option>-o <replaceable>output</replaceable></option></arg>
+      <arg><option>--version</option></arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+
+    <para>This manual page documents briefly the
+      <command>&dhpackage;</command> command.</para>
+
+    <para>This manual page was written for the &debian; distribution
+      because the original program does not have a manual page.</para>
+
+    <para><command>&dhpackage;</command> is a SVG converter based on Cairo. It 
+    can export SVG files to PDF, PostScript and PNG files.</para>
+
+  </refsect1>
+  <refsect1>
+    <title>OPTIONS</title>
+
+    <para>This program follows the usual &gnu; command line syntax,
+      with long options starting with two dashes (`-').  A summary of
+      options is included below.</para>
+
+    <variablelist>
+      <varlistentry>
+        <term><option>-h</option>
+          <option>--help</option>
+        </term>
+        <listitem>
+          <para>Show help message and exit.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>
+          <option>--version</option>
+        </term>
+        <listitem>
+          <para>Show program's version number and exit.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-f</option>
+          <option>--format</option>
+        </term>
+        <listitem>
+          <para>Output format which can either be PDF, PNG, PS or even SVG.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-d</option>
+          <option>--dpi</option>
+        </term>
+        <listitem>
+          <para>SVG resolution.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-o</option>
+          <option>--output</option>
+        </term>
+        <listitem>
+          <para>Output filename.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  <refsect1>
+    <title>AUTHOR</title>
+
+    <para>This manual page was written by &dhusername; &dhemail; for
+      the &debian; system (and may be used by others).  Permission is
+      granted to copy, distribute and/or modify this document under
+      the terms of the &gnu; General Public License, Version 2 any
+      later version published by the Free Software Foundation.
+    </para>
+    <para>
+      On Debian systems, the complete text of the GNU General Public
+      License can be found in /usr/share/common-licenses/GPL.
+    </para>
+
+  </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->

Deleted: packages/django-colorful/trunk/debian/manpage.cairosvg.sgml
===================================================================
--- packages/django-colorful/trunk/debian/manpage.cairosvg.sgml	2012-06-10 16:35:25 UTC (rev 22131)
+++ packages/django-colorful/trunk/debian/manpage.cairosvg.sgml	2012-06-11 09:03:09 UTC (rev 22132)
@@ -1,168 +0,0 @@
-<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
-
-<!-- Process this file with docbook-to-man to generate an nroff manual
-     page: `docbook-to-man manpage.sgml > manpage.1'.  You may view
-     the manual page with: `docbook-to-man manpage.sgml | nroff -man |
-     less'.  A typical entry in a Makefile or Makefile.am is:
-
-manpage.1: manpage.sgml
-	docbook-to-man $< > $@
-
-
-	The docbook-to-man binary is found in the docbook-to-man package.
-	Please remember that if you create the nroff version in one of the
-	debian/rules file targets (such as build), you will need to include
-	docbook-to-man in your Build-Depends control field.
-
-  -->
-
-  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
-  <!ENTITY dhfirstname "<firstname>Michael</firstname>">
-  <!ENTITY dhsurname   "<surname>Fladischer</surname>">
-  <!-- Please adjust the date whenever revising the manpage. -->
-  <!ENTITY dhdate      "<date>6 June 2012</date>">
-  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
-       allowed: see man(7), man(1). -->
-  <!ENTITY dhsection   "<manvolnum>1</manvolnum>">
-  <!ENTITY dhemail     "<email>FladischerMichael at fladi.at</email>">
-  <!ENTITY dhusername  "fladi">
-  <!ENTITY dhucpackage "<refentrytitle>CAIROSVG</refentrytitle>">
-  <!ENTITY dhpackage   "cairosvg">
-
-  <!ENTITY debian      "<productname>Debian</productname>">
-  <!ENTITY gnu         "<acronym>GNU</acronym>">
-  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
-]>
-
-<refentry>
-  <refentryinfo>
-    <address>
-      &dhemail;
-    </address>
-    <author>
-      &dhfirstname;
-      &dhsurname;
-    </author>
-    <copyright>
-      <year>2012</year>
-      <holder>&dhusername;</holder>
-    </copyright>
-    &dhdate;
-  </refentryinfo>
-  <refmeta>
-    &dhucpackage;
-
-    &dhsection;
-  </refmeta>
-  <refnamediv>
-    <refname>&dhpackage;</refname>
-
-    <refpurpose>SVG converter based on Cairo</refpurpose>
-  </refnamediv>
-  <refsynopsisdiv>
-    <cmdsynopsis>
-      <command>&dhpackage;</command>
-      <arg><replaceable>filename</replaceable></arg>
-      <arg><option>-h</option></arg>
-      <arg><option>-f <replaceable>format</replaceable></option></arg>
-      <arg><option>-d <replaceable>dpi</replaceable></option></arg>
-      <arg><option>-o <replaceable>output</replaceable></option></arg>
-      <arg><option>--version</option></arg>
-    </cmdsynopsis>
-  </refsynopsisdiv>
-  <refsect1>
-    <title>DESCRIPTION</title>
-
-    <para>This manual page documents briefly the
-      <command>&dhpackage;</command> command.</para>
-
-    <para>This manual page was written for the &debian; distribution
-      because the original program does not have a manual page.</para>
-
-    <para><command>&dhpackage;</command> is a SVG converter based on Cairo. It 
-    can export SVG files to PDF, PostScript and PNG files.</para>
-
-  </refsect1>
-  <refsect1>
-    <title>OPTIONS</title>
-
-    <para>This program follows the usual &gnu; command line syntax,
-      with long options starting with two dashes (`-').  A summary of
-      options is included below.</para>
-
-    <variablelist>
-      <varlistentry>
-        <term><option>-h</option>
-          <option>--help</option>
-        </term>
-        <listitem>
-          <para>Show help message and exit.</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term>
-          <option>--version</option>
-        </term>
-        <listitem>
-          <para>Show program's version number and exit.</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term><option>-f</option>
-          <option>--format</option>
-        </term>
-        <listitem>
-          <para>Output format which can either be PDF, PNG, PS or even SVG.</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term><option>-d</option>
-          <option>--dpi</option>
-        </term>
-        <listitem>
-          <para>SVG resolution.</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term><option>-o</option>
-          <option>--output</option>
-        </term>
-        <listitem>
-          <para>Output filename.</para>
-        </listitem>
-      </varlistentry>
-    </variablelist>
-  </refsect1>
-  <refsect1>
-    <title>AUTHOR</title>
-
-    <para>This manual page was written by &dhusername; &dhemail; for
-      the &debian; system (and may be used by others).  Permission is
-      granted to copy, distribute and/or modify this document under
-      the terms of the &gnu; General Public License, Version 2 any
-      later version published by the Free Software Foundation.
-    </para>
-    <para>
-      On Debian systems, the complete text of the GNU General Public
-      License can be found in /usr/share/common-licenses/GPL.
-    </para>
-
-  </refsect1>
-</refentry>
-
-<!-- Keep this comment at the end of the file
-Local variables:
-mode: sgml
-sgml-omittag:t
-sgml-shorttag:t
-sgml-minimize-attributes:nil
-sgml-always-quote-attributes:t
-sgml-indent-step:2
-sgml-indent-data:t
-sgml-parent-document:nil
-sgml-default-dtd-file:nil
-sgml-exposed-tags:nil
-sgml-local-catalogs:nil
-sgml-local-ecat-files:nil
-End:
--->

Deleted: packages/django-colorful/trunk/debian/manpages
===================================================================
--- packages/django-colorful/trunk/debian/manpages	2012-06-10 16:35:25 UTC (rev 22131)
+++ packages/django-colorful/trunk/debian/manpages	2012-06-11 09:03:09 UTC (rev 22132)
@@ -1 +0,0 @@
-cairosvg.1

Added: packages/django-colorful/trunk/debian/python-cairosvg.docs
===================================================================
--- packages/django-colorful/trunk/debian/python-cairosvg.docs	                        (rev 0)
+++ packages/django-colorful/trunk/debian/python-cairosvg.docs	2012-06-11 09:03:09 UTC (rev 22132)
@@ -0,0 +1 @@
+README.rst

Added: packages/django-colorful/trunk/debian/python-cairosvg.manpages
===================================================================
--- packages/django-colorful/trunk/debian/python-cairosvg.manpages	                        (rev 0)
+++ packages/django-colorful/trunk/debian/python-cairosvg.manpages	2012-06-11 09:03:09 UTC (rev 22132)
@@ -0,0 +1 @@
+cairosvg-py2.1

Added: packages/django-colorful/trunk/debian/python-cairosvg.postinst
===================================================================
--- packages/django-colorful/trunk/debian/python-cairosvg.postinst	                        (rev 0)
+++ packages/django-colorful/trunk/debian/python-cairosvg.postinst	2012-06-11 09:03:09 UTC (rev 22132)
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+update-alternatives --quiet --install /usr/bin/cairosvg cairosvg /usr/bin/cairosvg-py2 5 \
+  --slave /usr/share/man/man1/cairosvg.1.gz cairosvg.1.gz /usr/share/man/man1/cairosvg-py2.1.gz
+
+#DEBHELPER#

Added: packages/django-colorful/trunk/debian/python-cairosvg.prerm
===================================================================
--- packages/django-colorful/trunk/debian/python-cairosvg.prerm	                        (rev 0)
+++ packages/django-colorful/trunk/debian/python-cairosvg.prerm	2012-06-11 09:03:09 UTC (rev 22132)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" != "upgrade" ]; then
+  update-alternatives --remove cairosvg /usr/bin/cairosvg-py2
+fi
+
+#DEBHELPER#

Added: packages/django-colorful/trunk/debian/python3-cairosvg.docs
===================================================================
--- packages/django-colorful/trunk/debian/python3-cairosvg.docs	                        (rev 0)
+++ packages/django-colorful/trunk/debian/python3-cairosvg.docs	2012-06-11 09:03:09 UTC (rev 22132)
@@ -0,0 +1 @@
+README.rst

Added: packages/django-colorful/trunk/debian/python3-cairosvg.manpages
===================================================================
--- packages/django-colorful/trunk/debian/python3-cairosvg.manpages	                        (rev 0)
+++ packages/django-colorful/trunk/debian/python3-cairosvg.manpages	2012-06-11 09:03:09 UTC (rev 22132)
@@ -0,0 +1 @@
+cairosvg-py3.1

Added: packages/django-colorful/trunk/debian/python3-cairosvg.postinst
===================================================================
--- packages/django-colorful/trunk/debian/python3-cairosvg.postinst	                        (rev 0)
+++ packages/django-colorful/trunk/debian/python3-cairosvg.postinst	2012-06-11 09:03:09 UTC (rev 22132)
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+update-alternatives --quiet --install /usr/bin/cairosvg cairosvg /usr/bin/cairosvg-py3 5 \
+  --slave /usr/share/man/man1/cairosvg.1.gz cairosvg.1.gz /usr/share/man/man1/cairosvg-py3.1.gz
+
+#DEBHELPER#

Added: packages/django-colorful/trunk/debian/python3-cairosvg.prerm
===================================================================
--- packages/django-colorful/trunk/debian/python3-cairosvg.prerm	                        (rev 0)
+++ packages/django-colorful/trunk/debian/python3-cairosvg.prerm	2012-06-11 09:03:09 UTC (rev 22132)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" != "upgrade" ]; then
+  update-alternatives --remove cairosvg /usr/bin/cairosvg-py3
+fi
+
+#DEBHELPER#

Modified: packages/django-colorful/trunk/debian/rules
===================================================================
--- packages/django-colorful/trunk/debian/rules	2012-06-10 16:35:25 UTC (rev 22131)
+++ packages/django-colorful/trunk/debian/rules	2012-06-11 09:03:09 UTC (rev 22132)
@@ -36,12 +36,14 @@
 		$$py -B setup.py install --skip-build --root debian/python3-cairosvg \
 		                      --install-layout deb; \
 	done
-	mkdir -p debian/python-cairosvg-common/usr/bin
-	cp debian/python-cairosvg/usr/bin/cairosvg debian/python-cairosvg-common/usr/bin
-	rm -rf debian/python*-cairosvg/usr/bin
+	mv debian/python-cairosvg/usr/bin/cairosvg debian/python-cairosvg/usr/bin/cairosvg-py2
+	#sed -i '1{s,\.[0-9]$$,,}' debian/python-cairosvg/usr/bin/cairosvg-py2
+	mv debian/python3-cairosvg/usr/bin/cairosvg debian/python3-cairosvg/usr/bin/cairosvg-py3
+	#sed -i '1{s,\.[0-9]$$,,}' debian/python3-cairosvg/usr/bin/cairosvg-py3
 
 .PHONY: override_dh_installman
 override_dh_installman:
-	docbook-to-man debian/manpage.cairosvg.sgml > cairosvg.1; \
+	docbook-to-man debian/manpage.cairosvg-py2.sgml > cairosvg-py2.1
+	docbook-to-man debian/manpage.cairosvg-py3.sgml > cairosvg-py3.1
 	dh_installman
 




More information about the Python-modules-commits mailing list