[Python-modules-commits] r22075 - in packages/django-colorful/trunk (16 files)
fladi-guest at users.alioth.debian.org
fladi-guest at users.alioth.debian.org
Wed Jun 6 12:25:37 UTC 2012
Date: Wednesday, June 6, 2012 @ 12:25:35
Author: fladi-guest
Revision: 22075
Initial packaging (Closes: #676344).
Added:
packages/django-colorful/trunk/debian/
packages/django-colorful/trunk/debian/changelog
packages/django-colorful/trunk/debian/clean
packages/django-colorful/trunk/debian/compat
packages/django-colorful/trunk/debian/control
packages/django-colorful/trunk/debian/copyright
packages/django-colorful/trunk/debian/docs
packages/django-colorful/trunk/debian/manpage.cairosvg.sgml
packages/django-colorful/trunk/debian/manpages
packages/django-colorful/trunk/debian/patches/
packages/django-colorful/trunk/debian/patches/fix_setup.patch
packages/django-colorful/trunk/debian/patches/series
packages/django-colorful/trunk/debian/rules
packages/django-colorful/trunk/debian/source/
packages/django-colorful/trunk/debian/source/format
packages/django-colorful/trunk/debian/watch
Property changes on: packages/django-colorful/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
+ 1
Added: packages/django-colorful/trunk/debian/changelog
===================================================================
--- packages/django-colorful/trunk/debian/changelog (rev 0)
+++ packages/django-colorful/trunk/debian/changelog 2012-06-06 12:25:35 UTC (rev 22075)
@@ -0,0 +1,5 @@
+cairosvg (0.4.3-1) UNRELEASED; urgency=low
+
+ * Initial release (Closes: #676344).
+
+ -- Michael Fladischer <FladischerMichael at fladi.at> Sun, 03 Jun 2012 16:27:41 +0200
Added: packages/django-colorful/trunk/debian/clean
===================================================================
--- packages/django-colorful/trunk/debian/clean (rev 0)
+++ packages/django-colorful/trunk/debian/clean 2012-06-06 12:25:35 UTC (rev 22075)
@@ -0,0 +1 @@
+cairosvg.1
Added: packages/django-colorful/trunk/debian/compat
===================================================================
--- packages/django-colorful/trunk/debian/compat (rev 0)
+++ packages/django-colorful/trunk/debian/compat 2012-06-06 12:25:35 UTC (rev 22075)
@@ -0,0 +1 @@
+9
Added: packages/django-colorful/trunk/debian/control
===================================================================
--- packages/django-colorful/trunk/debian/control (rev 0)
+++ packages/django-colorful/trunk/debian/control 2012-06-06 12:25:35 UTC (rev 22075)
@@ -0,0 +1,62 @@
+Source: cairosvg
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Michael Fladischer <FladischerMichael at fladi.at>
+Build-Depends: debhelper (>= 9),
+ docbook-to-man,
+ python-all (>= 2.6.6-3~),
+ python-cairo,
+ python-nose,
+ python-setuptools,
+ python3-all (>= 3.1.2-12~),
+ python3-cairo,
+ python3-nose,
+ python3-setuptools
+Standards-Version: 3.9.3
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.0
+Homepage: http://cairosvg.org/
+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)
+ 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)
+ 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 Python3 version of the library.
Added: packages/django-colorful/trunk/debian/copyright
===================================================================
--- packages/django-colorful/trunk/debian/copyright (rev 0)
+++ packages/django-colorful/trunk/debian/copyright 2012-06-06 12:25:35 UTC (rev 22075)
@@ -0,0 +1,29 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: cairosvg
+Upstream-Contact: Kozea <guillaume.ayoub at kozea.fr>
+Source: http://cairosvg.org/download/
+
+Files: *
+Copyright: 2010-2012 Kozea <guillaume.ayoub at kozea.fr>
+License: LGPL-3+
+
+Files: debian/*
+Copyright: 2012, Michael Fladischer <FladischerMichael at fladi.at>
+License: LGPL-3+
+
+License: LGPL-3+
+ This library is free software: you can redistribute it and/or modify it under
+ the terms of the GNU Lesser General Public License as published by the Free
+ Software Foundation, either version 3 of the License, or (at your option) any
+ later version.
+ .
+ This library is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+ details.
+ .
+ You should have received a copy of the GNU Lesser General Public License
+ along with CairoSVG. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file `/usr/share/common-licenses/LGPL-3'.
Added: packages/django-colorful/trunk/debian/docs
===================================================================
--- packages/django-colorful/trunk/debian/docs (rev 0)
+++ packages/django-colorful/trunk/debian/docs 2012-06-06 12:25:35 UTC (rev 22075)
@@ -0,0 +1 @@
+README.rst
Added: packages/django-colorful/trunk/debian/manpage.cairosvg.sgml
===================================================================
--- packages/django-colorful/trunk/debian/manpage.cairosvg.sgml (rev 0)
+++ packages/django-colorful/trunk/debian/manpage.cairosvg.sgml 2012-06-06 12:25:35 UTC (rev 22075)
@@ -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">
+
+ <!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/manpages
===================================================================
--- packages/django-colorful/trunk/debian/manpages (rev 0)
+++ packages/django-colorful/trunk/debian/manpages 2012-06-06 12:25:35 UTC (rev 22075)
@@ -0,0 +1 @@
+cairosvg.1
Added: packages/django-colorful/trunk/debian/patches/fix_setup.patch
===================================================================
--- packages/django-colorful/trunk/debian/patches/fix_setup.patch (rev 0)
+++ packages/django-colorful/trunk/debian/patches/fix_setup.patch 2012-06-06 12:25:35 UTC (rev 22075)
@@ -0,0 +1,19 @@
+Description: use simple import to get version information.
+ Instead of reading the __init__.py file and extracting the version using a regular
+ expression use a simple import to get the version string.
+Author: Michael Fladischer <FladischerMichael at fladi.at>
+Last-Update: 2012-06-06
+Forwarded: no
+
+--- a/setup.py
++++ b/setup.py
+@@ -20,8 +20,7 @@
+
+ from distutils.core import setup
+
+-with open(path.join(path.dirname(__file__), 'cairosvg', '__init__.py')) as fd:
+- VERSION = re.search("VERSION = '([^']+)'", fd.read().strip()).group(1)
++from cairosvg import VERSION
+
+
+ # When the version is updated, ``cairosvg.VERSION`` must be modified.
Added: packages/django-colorful/trunk/debian/patches/series
===================================================================
--- packages/django-colorful/trunk/debian/patches/series (rev 0)
+++ packages/django-colorful/trunk/debian/patches/series 2012-06-06 12:25:35 UTC (rev 22075)
@@ -0,0 +1 @@
+fix_setup.patch
Added: packages/django-colorful/trunk/debian/rules
===================================================================
--- packages/django-colorful/trunk/debian/rules (rev 0)
+++ packages/django-colorful/trunk/debian/rules 2012-06-06 12:25:35 UTC (rev 22075)
@@ -0,0 +1,47 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+PYVERS := $(shell pyversions -r)
+PY3VERS := $(shell py3versions -r)
+
+%:
+ dh $@ --with python2,python3
+
+.PHONY: override_dh_auto_build
+override_dh_auto_build:
+ set -e; \
+ for py in $(PYVERS) $(PY3VERS); do \
+ $$py -B setup.py build; \
+ done
+
+.PHONY: override_dh_auto_clean
+override_dh_auto_clean:
+ set -e; \
+ for py in $(PYVERS) $(PY3VERS); do \
+ $$py -B setup.py clean; \
+ rm -rf build; \
+ done
+
+.PHONY: override_dh_auto_install
+override_dh_auto_install:
+ set -e; \
+ for py in $(PYVERS); do \
+ $$py -B setup.py install --skip-build --root debian/python-cairosvg \
+ --install-layout deb; \
+ done
+ set -e; \
+ for py in $(PY3VERS); do \
+ $$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
+
+.PHONY: override_dh_installman
+override_dh_installman:
+ docbook-to-man debian/manpage.cairosvg.sgml > cairosvg.1; \
+ dh_installman
+
Property changes on: packages/django-colorful/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: packages/django-colorful/trunk/debian/source/format
===================================================================
--- packages/django-colorful/trunk/debian/source/format (rev 0)
+++ packages/django-colorful/trunk/debian/source/format 2012-06-06 12:25:35 UTC (rev 22075)
@@ -0,0 +1 @@
+3.0 (quilt)
Added: packages/django-colorful/trunk/debian/watch
===================================================================
--- packages/django-colorful/trunk/debian/watch (rev 0)
+++ packages/django-colorful/trunk/debian/watch 2012-06-06 12:25:35 UTC (rev 22075)
@@ -0,0 +1,2 @@
+version=3
+http://pypi.python.org/packages/source/C/CairoSVG/CairoSVG-([\d\.]+)\.tar\.gz
More information about the Python-modules-commits
mailing list