[Pkg-voip-commits] r3453 - in py-asterisk/trunk: . debian
debian/patches
Julien Blache
jblache at alioth.debian.org
Mon Apr 23 09:40:29 UTC 2007
Author: jblache
Date: 2007-04-23 09:40:29 +0000 (Mon, 23 Apr 2007)
New Revision: 3453
Added:
py-asterisk/trunk/debian/
py-asterisk/trunk/debian/changelog
py-asterisk/trunk/debian/compat
py-asterisk/trunk/debian/control
py-asterisk/trunk/debian/copyright
py-asterisk/trunk/debian/docs
py-asterisk/trunk/debian/patches/
py-asterisk/trunk/debian/patches/00list
py-asterisk/trunk/debian/patches/10_remove_shebang.dpatch
py-asterisk/trunk/debian/patches/11_read_response.dpatch
py-asterisk/trunk/debian/rules
Log:
[svn-inject] Applying Debian modifications to trunk
Property changes on: py-asterisk/trunk/debian
___________________________________________________________________
Name: mergeWithUpstream
+ 1
Added: py-asterisk/trunk/debian/changelog
===================================================================
--- py-asterisk/trunk/debian/changelog 2007-04-23 09:40:04 UTC (rev 3452)
+++ py-asterisk/trunk/debian/changelog 2007-04-23 09:40:29 UTC (rev 3453)
@@ -0,0 +1,6 @@
+py-asterisk (0.1a3+r160-1) unstable; urgency=low
+
+ * Initial release (closes: 420564).
+
+ -- Julien BLACHE <jblache at debian.org> Mon, 23 Apr 2007 11:38:04 +0200
+
Added: py-asterisk/trunk/debian/compat
===================================================================
--- py-asterisk/trunk/debian/compat 2007-04-23 09:40:04 UTC (rev 3452)
+++ py-asterisk/trunk/debian/compat 2007-04-23 09:40:29 UTC (rev 3453)
@@ -0,0 +1 @@
+5
Added: py-asterisk/trunk/debian/control
===================================================================
--- py-asterisk/trunk/debian/control 2007-04-23 09:40:04 UTC (rev 3452)
+++ py-asterisk/trunk/debian/control 2007-04-23 09:40:29 UTC (rev 3453)
@@ -0,0 +1,22 @@
+Source: py-asterisk
+Section: comm
+Priority: extra
+Maintainer: Julien BLACHE <jblache at debian.org>
+Build-Depends: debhelper (>= 5), dpatch, python-support (>= 0.4)
+Standards-Version: 3.7.2
+
+Package: python-asterisk
+Architecture: any
+Depends: ${python:Depends}, ${misc:Depends}
+Description: Asterisk Manager API interface module for Python
+ This module provides an object oriented interface to the Asterisk Manager API,
+ whilst embracing some applicable Python concepts:
+ o Functionality is split into separate mix-in classes
+ o Asterisk PBX errors cause fairly granular exceptions
+ o Docstrings are provided for all objects
+ o The module may be used asynchronously if required. It should be suitable
+ for inclusion in a single-threaded GUI
+ o Asterisk data is translated into data stored using Python types, so
+ working with it should be trivial. Through the use of XMLRPCServer or
+ similar, it should be trivial to expose this conversion to other
+ languages
Added: py-asterisk/trunk/debian/copyright
===================================================================
--- py-asterisk/trunk/debian/copyright 2007-04-23 09:40:04 UTC (rev 3452)
+++ py-asterisk/trunk/debian/copyright 2007-04-23 09:40:29 UTC (rev 3453)
@@ -0,0 +1,43 @@
+This package was debianized by Julien BLACHE <jblache at debian.org> on
+Thu, 12 Apr 2007 17:36:57 +0200.
+
+It was downloaded from: http://py-asterisk.berlios.de/py-asterisk.php
+
+Upstream Author: David M. Wilson <dw-py-Asterisk-setup.py at botanicus.net>
+
+Copyright: Copyright (C) 2004 David M. Wilson.
+
+License:
+
+The py-Asterisk License
+-----------------------
+
+This is the MIT license with the trailing paragraph reformatted for
+readability. If this license is not compatible with your usage of the
+software, please do not hesitate to contact me as the situation is easy to
+resolve.
+
+
+ Copyright 2004, David M. Wilson.
+
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the "Software"),
+ to deal in the Software without restriction, including without limitation
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ and/or sell copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ The software is provided "as is", without warranty of any kind, express or
+ implied, including but not limited to the warranties of merchantability,
+ fitness for a particular purpose and non-infringement. In no event shall
+ the authors or copyright holders be liable for any claim, damages or other
+ liability, whether in an action of contract, tort or otherwise, arising
+ from, out of or in connection with the software or the use or other
+ dealings in the software.
+
+
+The Debian packaging is (C) 2007, Julien BLACHE <jblache at debian.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
Added: py-asterisk/trunk/debian/docs
===================================================================
--- py-asterisk/trunk/debian/docs 2007-04-23 09:40:04 UTC (rev 3452)
+++ py-asterisk/trunk/debian/docs 2007-04-23 09:40:29 UTC (rev 3453)
@@ -0,0 +1,4 @@
+doc/asterisk-events.txt
+doc/event-handling.txt
+doc/readme.txt
+doc/todo.txt
Added: py-asterisk/trunk/debian/patches/00list
===================================================================
--- py-asterisk/trunk/debian/patches/00list 2007-04-23 09:40:04 UTC (rev 3452)
+++ py-asterisk/trunk/debian/patches/00list 2007-04-23 09:40:29 UTC (rev 3453)
@@ -0,0 +1,3 @@
+10_remove_shebang
+11_read_response
+
Added: py-asterisk/trunk/debian/patches/10_remove_shebang.dpatch
===================================================================
--- py-asterisk/trunk/debian/patches/10_remove_shebang.dpatch 2007-04-23 09:40:04 UTC (rev 3452)
+++ py-asterisk/trunk/debian/patches/10_remove_shebang.dpatch 2007-04-23 09:40:29 UTC (rev 3453)
@@ -0,0 +1,16 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_remove_shebang.dpatch by <jblache at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Remove useless shebang line in CLI.py
+
+ at DPATCH@
+diff -urNad py-asterisk-0.1a3+r160~/Asterisk/CLI.py py-asterisk-0.1a3+r160/Asterisk/CLI.py
+--- py-asterisk-0.1a3+r160~/Asterisk/CLI.py 2007-04-23 11:34:23.000000000 +0200
++++ py-asterisk-0.1a3+r160/Asterisk/CLI.py 2007-04-23 11:35:10.746117697 +0200
+@@ -1,5 +1,3 @@
+-#!/usr/bin/env python
+-
+ '''
+ Asterisk/CLI.py: Command-line wrapper around the Asterisk Manager API.
+ '''
Property changes on: py-asterisk/trunk/debian/patches/10_remove_shebang.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: py-asterisk/trunk/debian/patches/11_read_response.dpatch
===================================================================
--- py-asterisk/trunk/debian/patches/11_read_response.dpatch 2007-04-23 09:40:04 UTC (rev 3452)
+++ py-asterisk/trunk/debian/patches/11_read_response.dpatch 2007-04-23 09:40:29 UTC (rev 3453)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 11_read_response.dpatch by <jblache at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Remove bogus line_nr == 1 check in _read_response_follows()
+
+ at DPATCH@
+diff -urNad py-asterisk-0.1a3+r160~/Asterisk/Manager.py py-asterisk-0.1a3+r160/Asterisk/Manager.py
+--- py-asterisk-0.1a3+r160~/Asterisk/Manager.py 2007-04-23 11:34:10.000000000 +0200
++++ py-asterisk-0.1a3+r160/Asterisk/Manager.py 2007-04-23 11:35:41.309979769 +0200
+@@ -292,7 +292,7 @@
+ self.log.io('_read_response_follows: recv %r', line)
+ line_nr += 1
+
+- if line_nr == 1 and line.startswith('ActionID: '):
++ if line.startswith('ActionID: '):
+ # Asterisk is a pile of shite!!!!!!!!!
+ packet.ActionID = line[10:]
+
Property changes on: py-asterisk/trunk/debian/patches/11_read_response.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: py-asterisk/trunk/debian/rules
===================================================================
--- py-asterisk/trunk/debian/rules 2007-04-23 09:40:04 UTC (rev 3452)
+++ py-asterisk/trunk/debian/rules 2007-04-23 09:40:29 UTC (rev 3453)
@@ -0,0 +1,83 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# Include dpatch rules
+include /usr/share/dpatch/dpatch.make
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ # Add here commands to configure the package.
+
+ touch configure-stamp
+
+
+build: build-stamp
+build-stamp: patch-stamp configure-stamp
+ dh_testdir
+
+ python setup.py build
+
+ touch $@
+
+clean: real-clean unpatch
+real-clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ -python setup.py clean
+ rm -rf build
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ python setup.py install --root=$(CURDIR)/debian/python-asterisk
+ mv $(CURDIR)/debian/python-asterisk/etc/asterisk/py-asterisk.conf.sample \
+ $(CURDIR)/debian/python-asterisk/etc/asterisk/py-asterisk.conf
+
+ mkdir -p $(CURDIR)/debian/python-asterisk/usr/share/doc/python-asterisk/examples
+ mv $(CURDIR)/debian/python-asterisk/usr/bin/* \
+ $(CURDIR)/debian/python-asterisk/usr/share/doc/python-asterisk/examples
+ rmdir $(CURDIR)/debian/python-asterisk/usr/bin
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installexamples
+# dh_install
+ dh_installman
+ dh_pysupport
+ rm -rf $(CURDIR)/debian/python-asterisk/usr/lib
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure patch unpatch real-clean
Property changes on: py-asterisk/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
More information about the Pkg-voip-commits
mailing list