[Python-apps-commits] r3785 - in packages (17 files)
debacle at users.alioth.debian.org
debacle at users.alioth.debian.org
Sat Sep 19 17:25:50 UTC 2009
Date: Saturday, September 19, 2009 @ 17:25:49
Author: debacle
Revision: 3785
New package email2trac.
Added:
packages/email2trac/
packages/email2trac/branches/
packages/email2trac/tags/
packages/email2trac/trunk/
packages/email2trac/trunk/debian/
packages/email2trac/trunk/debian/README
packages/email2trac/trunk/debian/README.source
packages/email2trac/trunk/debian/changelog
packages/email2trac/trunk/debian/compat
packages/email2trac/trunk/debian/control
packages/email2trac/trunk/debian/copyright
packages/email2trac/trunk/debian/delete_spam.dbk
packages/email2trac/trunk/debian/email2trac.dbk
packages/email2trac/trunk/debian/patches/
packages/email2trac/trunk/debian/patches/00list
packages/email2trac/trunk/debian/patches/10_dont_build_email2trac.dpatch
packages/email2trac/trunk/debian/rules
Property changes on: packages/email2trac/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
+ 1
Added: packages/email2trac/trunk/debian/README
===================================================================
--- packages/email2trac/trunk/debian/README (rev 0)
+++ packages/email2trac/trunk/debian/README 2009-09-19 17:25:49 UTC (rev 3785)
@@ -0,0 +1,12 @@
+The Debian packages has two major differences to the original
+software:
+
+1. The binary run_email2trac is not build or installed, as it is
+ not needed in the usual Debian configuration with e.g. exim4.
+
+2. The upstream debian directory in the source code has been
+ removed in the orig.tar.gz file to prevent conflicts.
+
+If you wish to use the run_email2trac program or the original
+debian directory in the source, please download the archive
+directly from the homepage.
Added: packages/email2trac/trunk/debian/README.source
===================================================================
--- packages/email2trac/trunk/debian/README.source (rev 0)
+++ packages/email2trac/trunk/debian/README.source 2009-09-19 17:25:49 UTC (rev 3785)
@@ -0,0 +1 @@
+Please see /usr/share/doc/dpatch/README.source.gz for patch system information.
Added: packages/email2trac/trunk/debian/changelog
===================================================================
--- packages/email2trac/trunk/debian/changelog (rev 0)
+++ packages/email2trac/trunk/debian/changelog 2009-09-19 17:25:49 UTC (rev 3785)
@@ -0,0 +1,5 @@
+email2trac (1.0.0-1) unstable; urgency=low
+
+ * First official Debian package (Closes: #504307).
+
+ -- W. Martin Borgert <debacle at debian.org> Thu, 17 Sep 2009 09:22:47 +0000
Added: packages/email2trac/trunk/debian/compat
===================================================================
--- packages/email2trac/trunk/debian/compat (rev 0)
+++ packages/email2trac/trunk/debian/compat 2009-09-19 17:25:49 UTC (rev 3785)
@@ -0,0 +1 @@
+7
Added: packages/email2trac/trunk/debian/control
===================================================================
--- packages/email2trac/trunk/debian/control (rev 0)
+++ packages/email2trac/trunk/debian/control 2009-09-19 17:25:49 UTC (rev 3785)
@@ -0,0 +1,19 @@
+Source: email2trac
+Section: web
+Priority: optional
+Maintainer: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
+Uploaders: W. Martin Borgert <debacle at debian.org>
+Build-Depends: debhelper (>= 7), cdbs, dpatch, python, xsltproc, docbook-xsl
+Standards-Version: 3.8.3
+Vcs-Svn: svn://svn.debian.org/svn/python-apps/packages/email2trac/trunk/
+Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/email2trac/trunk/
+XS-Python-Version: all
+Homepage: https://subtrac.sara.nl/oss/email2trac
+
+Package: trac-email2trac
+Architecture: all
+Depends: python, ${python:Depends}, ${misc:Depends}, trac
+Description: Creates and amends Trac tickets from e-mail
+ email2trac creates tickets for the issue tracking system Trac from e-mail.
+ Is also amends existing tickets, if the subject contains the ticket number.
+XB-Python-Version: ${python:Versions}
Added: packages/email2trac/trunk/debian/copyright
===================================================================
--- packages/email2trac/trunk/debian/copyright (rev 0)
+++ packages/email2trac/trunk/debian/copyright 2009-09-19 17:25:49 UTC (rev 3785)
@@ -0,0 +1,31 @@
+This package was debianized by W. Martin Borgert <debacle at debian.org>
+on 2009-09-16.
+
+It was downloaded from https://subtrac.sara.nl/oss/email2trac
+
+Upstream Authors:
+
+ Bas van der Vlies <basv at sara.nl>
+ Walter de Jong <walter at sara.nl>
+
+Copyright:
+
+ Copyright (c) 2002-2009 Bas van der Vlies, Walter de Jong
+
+License:
+
+ This program is free software; you can redistribute it and/or modify it under
+ the terms of the GNU General Public License as published by the Free Software
+ Foundation; either version 2 of the License, or (at your option) any later
+ version.
+
+ This program 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 General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along with
+ this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+On Debian systems, the complete text of the GNU General Public License v2
+may be found in '/usr/share/common-licenses/GPL-2'.
Added: packages/email2trac/trunk/debian/delete_spam.dbk
===================================================================
--- packages/email2trac/trunk/debian/delete_spam.dbk (rev 0)
+++ packages/email2trac/trunk/debian/delete_spam.dbk 2009-09-19 17:25:49 UTC (rev 3785)
@@ -0,0 +1,73 @@
+<?xml version='1.0' encoding='utf-8'?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
+
+<refentry>
+ <refentryinfo>
+ <address>
+ <email>debacle at debian.org</email>
+ </address>
+ <author>
+ <firstname>W.</firstname>
+ <othername>Martin</othername>
+ <surname>Borgert</surname>
+ </author>
+ <copyright>
+ <year>2009</year>
+ <holder>W. Martin Borgert</holder>
+ </copyright>
+ <date>2009-09-19</date>
+ </refentryinfo>
+ <refmeta>
+ <refentrytitle>delete_spam</refentrytitle>
+ <manvolnum>1</manvolnum>
+ <refmiscinfo class="source">email2trac</refmiscinfo>
+ <refmiscinfo class="manual">User Commands</refmiscinfo>
+ </refmeta>
+ <refnamediv>
+ <refname>delete_spam</refname>
+
+ <refpurpose>Deletes spam tickets from Trac.</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <cmdsynopsis>
+ <command>delete_spam</command>
+
+ <arg><option>-h</option></arg>
+
+ <arg><option>--help</option></arg>
+
+ <arg><option>-f <replaceable>configuration file</replaceable></option></arg>
+
+ <arg><option>--file=<replaceable>configuration file</replaceable></option></arg>
+
+ <arg><option>-p <replaceable>project name</replaceable></option></arg>
+
+ <arg><option>--project=<replaceable>project name</replaceable></option></arg>
+ </cmdsynopsis>
+ </refsynopsisdiv>
+ <refsect1>
+ <title>Description</title>
+
+ <para>
+ delete_spam deletes tickets from the issue tracking system Trac.
+ The default configuration file is
+ <filename>/etc/email2trac.conf</filename>.
+ </para>
+
+ <para>
+ A ticket is considered spam if the ticket component is set to
+ <literal>Spam</literal>. This has to be done manually.
+ </para>
+ </refsect1>
+ <refsect1>
+ <title>Copyright</title>
+
+ <para>Copyright 2009 W. Martin Borgert and released under the
+ <acronym>GNU</acronym> General Public License
+ (<abbrev>GPL</abbrev>). Permission is granted to copy, distribute
+ and/or modify this document under the terms of the
+ <acronym>GNU</acronym> General Public License, Version 2 or any
+ later version published by the Free Software Foundation.</para>
+ </refsect1>
+</refentry>
Added: packages/email2trac/trunk/debian/email2trac.dbk
===================================================================
--- packages/email2trac/trunk/debian/email2trac.dbk (rev 0)
+++ packages/email2trac/trunk/debian/email2trac.dbk 2009-09-19 17:25:49 UTC (rev 3785)
@@ -0,0 +1,83 @@
+<?xml version='1.0' encoding='utf-8'?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
+
+<refentry>
+ <refentryinfo>
+ <address>
+ <email>debacle at debian.org</email>
+ </address>
+ <author>
+ <firstname>W.</firstname>
+ <othername>Martin</othername>
+ <surname>Borgert</surname>
+ </author>
+ <copyright>
+ <year>2009</year>
+ <holder>W. Martin Borgert</holder>
+ </copyright>
+ <date>2009-09-19</date>
+ </refentryinfo>
+ <refmeta>
+ <refentrytitle>email2trac</refentrytitle>
+ <manvolnum>1</manvolnum>
+ <refmiscinfo class="source">email2trac</refmiscinfo>
+ <refmiscinfo class="manual">User Commands</refmiscinfo>
+ </refmeta>
+ <refnamediv>
+ <refname>email2trac</refname>
+
+ <refpurpose>Creates and amends Trac tickets from e-mail.</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <cmdsynopsis>
+ <command>email2trac</command>
+
+ <arg><option>-h</option></arg>
+
+ <arg><option>--help</option></arg>
+
+ <arg><option>-f <replaceable>configuration file</replaceable></option></arg>
+
+ <arg><option>--file=<replaceable>configuration file</replaceable></option></arg>
+
+ <arg><option>-n</option></arg>
+
+ <arg><option>--dry-run</option></arg>
+
+ <arg><option>-p <replaceable>project name</replaceable></option></arg>
+
+ <arg><option>--project=<replaceable>project name</replaceable></option></arg>
+
+ <arg><option>-t <replaceable>name</replaceable></option></arg>
+
+ <arg><option>--ticket_prefix=<replaceable>name</replaceable></option></arg>
+ </cmdsynopsis>
+ </refsynopsisdiv>
+ <refsect1>
+ <title>Description</title>
+
+ <para>
+ email2trac creates tickets for the issue tracking system Trac
+ from e-mail. The default configuration file is
+ <filename>/etc/email2trac.conf</filename>.
+ </para>
+
+ <para>
+ Is also amends existing tickets, if the subject contains the
+ ticket number. The syntax for the ticket number in the e-mail
+ subject line is <literal>#NNN:</literal>, i.e. hash mark, ticket
+ number, colon.
+ </para>
+ </refsect1>
+ <refsect1>
+ <title>Copyright</title>
+
+ <para>Copyright 2009 W. Martin Borgert and released under the
+ <acronym>GNU</acronym> General Public License
+ (<abbrev>GPL</abbrev>). Permission is granted to copy, distribute
+ and/or modify this document under the terms of the
+ <acronym>GNU</acronym> General Public License, Version 2 or any
+ later version published by the Free Software Foundation.</para>
+ </refsect1>
+</refentry>
Added: packages/email2trac/trunk/debian/patches/00list
===================================================================
--- packages/email2trac/trunk/debian/patches/00list (rev 0)
+++ packages/email2trac/trunk/debian/patches/00list 2009-09-19 17:25:49 UTC (rev 3785)
@@ -0,0 +1 @@
+10_dont_build_email2trac.dpatch
Added: packages/email2trac/trunk/debian/patches/10_dont_build_email2trac.dpatch
===================================================================
--- packages/email2trac/trunk/debian/patches/10_dont_build_email2trac.dpatch (rev 0)
+++ packages/email2trac/trunk/debian/patches/10_dont_build_email2trac.dpatch 2009-09-19 17:25:49 UTC (rev 3785)
@@ -0,0 +1,27 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_dont_build_email2trac.dpatch by <wmb at beron.tangosoft.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: do not build the run_email2trac binary
+
+ at DPATCH@
+
+diff -uraN a/Makefile.in b/Makefile.in
+--- a/Makefile.in 2006-12-06 14:32:47.000000000 +0100
++++ b/Makefile.in 2009-09-17 11:14:49.000000000 +0200
+@@ -26,14 +26,13 @@
+ PYTHON_FILES=delete_spam.py email2trac.py
+ WRAPPER_SRC=run_email2trac.c run_email2trac.h
+
+-all: run_email2trac
++all:
+
+ run_email2trac: $(WRAPPER_SRC) Makefile
+ $(CC) $(CFLAGS) -o $@ run_email2trac.c
+
+ install: all install-conf
+ $(INSTALL) -d $(DESTDIR)$(EXEC_PREFIX)
+- $(INSTALL) -m 4111 -o root run_email2trac $(DESTDIR)$(EXEC_PREFIX)
+ for script in $(PYTHON_FILES) ; \
+ do \
+ name=`basename $$script '.py'` ;\
Added: packages/email2trac/trunk/debian/rules
===================================================================
--- packages/email2trac/trunk/debian/rules (rev 0)
+++ packages/email2trac/trunk/debian/rules 2009-09-19 17:25:49 UTC (rev 3785)
@@ -0,0 +1,18 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/dpatch.mk
+include /usr/share/cdbs/1/class/autotools.mk
+
+DEB_INSTALL_MANPAGES_trac-email2trac=email2trac.1 delete_spam.1
+
+DB2MAN=http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
+XP=xsltproc --nonet --novalid
+
+common-build-indep:: $(DEB_INSTALL_MANPAGES_trac-email2trac)
+
+clean::
+ rm -f $(DEB_INSTALL_MANPAGES_trac-email2trac)
+
+%.1: debian/%.dbk
+ $(XP) $(DB2MAN) $<
Property changes on: packages/email2trac/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
More information about the Python-apps-commits
mailing list