[Python-modules-commits] r16700 - in packages/xmlmarshaller/trunk (14 files)

arnau at users.alioth.debian.org arnau at users.alioth.debian.org
Fri Apr 22 05:33:29 UTC 2011


    Date: Friday, April 22, 2011 @ 05:33:22
  Author: arnau
Revision: 16700

[svn-inject] Applying Debian modifications (0.9.7+svn39722-1) to trunk

Added:
  packages/xmlmarshaller/trunk/debian/
  packages/xmlmarshaller/trunk/debian/changelog
  packages/xmlmarshaller/trunk/debian/clean
  packages/xmlmarshaller/trunk/debian/compat
  packages/xmlmarshaller/trunk/debian/control
  packages/xmlmarshaller/trunk/debian/copyright
  packages/xmlmarshaller/trunk/debian/docs
  packages/xmlmarshaller/trunk/debian/patches/
  packages/xmlmarshaller/trunk/debian/patches/debian-changes-0.9.7+dev39722-1
  packages/xmlmarshaller/trunk/debian/patches/series
  packages/xmlmarshaller/trunk/debian/rules
  packages/xmlmarshaller/trunk/debian/source/
  packages/xmlmarshaller/trunk/debian/source/format
  packages/xmlmarshaller/trunk/debian/watch


Property changes on: packages/xmlmarshaller/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages/xmlmarshaller/trunk/debian/changelog
===================================================================
--- packages/xmlmarshaller/trunk/debian/changelog	                        (rev 0)
+++ packages/xmlmarshaller/trunk/debian/changelog	2011-04-22 05:33:22 UTC (rev 16700)
@@ -0,0 +1,5 @@
+xmlmarshaller (0.9.7+svn39722-1) unstable; urgency=low
+
+  * Initial upload. Closes: #623656.
+
+ -- Arnaud Fontaine <arnau at debian.org>  Fri, 22 Apr 2011 12:58:34 +0900

Added: packages/xmlmarshaller/trunk/debian/clean
===================================================================
--- packages/xmlmarshaller/trunk/debian/clean	                        (rev 0)
+++ packages/xmlmarshaller/trunk/debian/clean	2011-04-22 05:33:22 UTC (rev 16700)
@@ -0,0 +1 @@
+src/xml_marshaller.egg-info/*

Added: packages/xmlmarshaller/trunk/debian/compat
===================================================================
--- packages/xmlmarshaller/trunk/debian/compat	                        (rev 0)
+++ packages/xmlmarshaller/trunk/debian/compat	2011-04-22 05:33:22 UTC (rev 16700)
@@ -0,0 +1 @@
+7

Added: packages/xmlmarshaller/trunk/debian/control
===================================================================
--- packages/xmlmarshaller/trunk/debian/control	                        (rev 0)
+++ packages/xmlmarshaller/trunk/debian/control	2011-04-22 05:33:22 UTC (rev 16700)
@@ -0,0 +1,26 @@
+Source: xmlmarshaller
+Section: python
+Priority: optional
+Maintainer: Arnaud Fontaine <arnau at debian.org>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends: python-setuptools (>= 0.6b3),
+               python-all (>= 2.6.6-3),
+               python-lxml,
+               debhelper (>= 7.0.50~)
+Standards-Version: 3.9.2
+X-Python-Version: all
+Homepage: http://pypi.python.org/pypi/xml_marshaller
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/xmlmarshaller/trunk/
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/xmlmarshaller/trunk/
+
+Package: python-xmlmarshaller
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Breaks: ${python:Breaks}
+Description: Converting Python objects to XML and back again.
+ Marshals simple Python data types into a custom XML format.  The
+ Marshaller and Unmarshaller classes can be subclassed in order to
+ implement marshalling into a different XML DTD.
+ .
+ Fully compatible with PyXML implementation, enable namespace support
+ for XML Input/Output.

Added: packages/xmlmarshaller/trunk/debian/copyright
===================================================================
--- packages/xmlmarshaller/trunk/debian/copyright	                        (rev 0)
+++ packages/xmlmarshaller/trunk/debian/copyright	2011-04-22 05:33:22 UTC (rev 16700)
@@ -0,0 +1,89 @@
+This package  was debianized by Arnaud  Fontaine <arnau at debian.org> on
+Fri, 22 Apr 2011 12:58:34 +0900.
+
+It was downloaded from:
+http://pypi.python.org/pypi/xml_marshaller
+
+Copyright:
+
+  Copyright 2010-2011, Nicolas Delaby <nicolas at nexedi.com>
+                       XML-SIG <xml-sig at python.org>
+
+License:
+
+                 CNRI OPEN SOURCE LICENSE AGREEMENT
+
+  IMPORTANT: PLEASE READ THE FOLLOWING AGREEMENT CAREFULLY.
+
+  BY  CLICKING  ON "ACCEPT"  WHERE  INDICATED  BELOW,  OR BY  COPYING,
+  INSTALLING OR OTHERWISE  USING PYTHON 1.6, beta 1  SOFTWARE, YOU ARE
+  DEEMED TO  HAVE AGREED TO THE  TERMS AND CONDITIONS  OF THIS LICENSE
+  AGREEMENT.
+
+    1. This LICENSE AGREEMENT  is between the Corporation for National
+       Research Initiatives,  having an  office at 1895  Preston White
+       Drive,  Reston,  VA  20191  ("CNRI"),  and  the  Individual  or
+       Organization ("Licensee") accessing  and otherwise using Python
+       1.6,  beta  1  software  in  source  or  binary  form  and  its
+       associated  documentation, as  released  at the  www.python.org
+       Internet site on August 4, 2000 ("Python 1.6b1").
+
+    2. Subject to the terms  and conditions of this License Agreement,
+       CNRI  hereby  grants  Licensee a  non-exclusive,  royalty-free,
+       world-wide license to  reproduce, analyze, test, perform and/or
+       display  publicly, prepare  derivative  works, distribute,  and
+       otherwise use Python 1.6b1  alone or in any derivative version,
+       provided, however, that CNRIs  License Agreement is retained in
+       Python 1.6b1,  alone or in  any derivative version  prepared by
+       Licensee.
+
+       Alternately, in  lieu of CNRIs License  Agreement, Licensee may
+       substitute  the following text  (omitting the  quotes): "Python
+       1.6,  beta  1, is  made  available  subject  to the  terms  and
+       conditions in  CNRIs License  Agreement. This Agreement  may be
+       located on the Internet  using the following unique, persistent
+       identifier  (known as a  handle): 1895.22/1011.  This Agreement
+       may also be obtained from  a proxy server on the Internet using
+       the URL:http://hdl.handle.net/1895.22/1011".
+
+    3. In the event Licensee  prepares a derivative work that is based
+       on or  incorporates Python 1.6b1or any part  thereof, and wants
+       to make the derivative work available to the public as provided
+       herein,  then Licensee hereby  agrees to  indicate in  any such
+       work the nature of the modifications made to Python 1.6b1.
+
+    4. CNRI is making Python 1.6b1 available to Licensee on an "AS IS"
+       basis.  CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
+       IMPLIED. BY WAY  OF EXAMPLE, BUT NOT LIMITATION,  CNRI MAKES NO
+       AND DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY
+       OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON
+       1.6b1WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
+
+    5. CNRI SHALL NOT BE LIABLE  TO LICENSEE OR ANY OTHER USERS OF THE
+       SOFTWARE FOR ANY  INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES
+       OR LOSS AS A RESULT  OF USING, MODIFYING OR DISTRIBUTING PYTHON
+       1.6b1,  OR  ANY DERIVATIVE  THEREOF,  EVEN  IF  ADVISED OF  THE
+       POSSIBILITY THEREOF.
+
+    6. This License  Agreement  will automatically  terminate  upon  a
+       material breach of its terms and conditions.
+
+    7. This License Agreement shall  be governed by and interpreted in
+       all respects  by the  law of the  State of  Virginia, excluding
+       conflict of  law provisions. Nothing in  this License Agreement
+       shall  be   deemed  to  create  any   relationship  of  agency,
+       partnership, or  joint venture between CNRI  and Licensee. This
+       License  Agreement  does  not  grant  permission  to  use  CNRI
+       trademarks or  trade name  in a trademark  sense to  endorse or
+       promote products or services of Licensee, or any third party.
+
+    8.  By clicking  on the  "ACCEPT"  button where  indicated, or  by
+       copying, installing  or otherwise using  Python 1.6b1, Licensee
+       agrees to be bound by  the terms and conditions of this License
+       Agreement.
+
+                                                         ACCEPT
+
+The Debian  packaging is (C) 2011,  Arnaud Fontaine <arnau at debian.org>
+and is  licensed under  the same  license as the  source code  of this
+package.

Added: packages/xmlmarshaller/trunk/debian/docs
===================================================================
--- packages/xmlmarshaller/trunk/debian/docs	                        (rev 0)
+++ packages/xmlmarshaller/trunk/debian/docs	2011-04-22 05:33:22 UTC (rev 16700)
@@ -0,0 +1 @@
+README.txt
\ No newline at end of file

Added: packages/xmlmarshaller/trunk/debian/patches/debian-changes-0.9.7+dev39722-1
===================================================================
--- packages/xmlmarshaller/trunk/debian/patches/debian-changes-0.9.7+dev39722-1	                        (rev 0)
+++ packages/xmlmarshaller/trunk/debian/patches/debian-changes-0.9.7+dev39722-1	2011-04-22 05:33:22 UTC (rev 16700)
@@ -0,0 +1,167 @@
+Description: Upstream changes introduced in version 0.9.7+dev39722-1
+ This patch has been created by dpkg-source during the package build.
+ Here's the last changelog entry, hopefully it gives details on why
+ those changes were made:
+ .
+ xmlmarshaller (0.9.7+dev39722-1) unstable; urgency=low
+ .
+   * Initial upload. Closes: #623656.
+ .
+ The person named in the Author field signed this changelog entry.
+Author: Arnaud Fontaine <arnau at debian.org>
+Bug-Debian: http://bugs.debian.org/623656
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: http://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- /dev/null
++++ xmlmarshaller-0.9.7+dev39722/setup.cfg
+@@ -0,0 +1,5 @@
++[egg_info]
++tag_build = 
++tag_date = 0
++tag_svn_revision = 0
++
+--- xmlmarshaller-0.9.7+dev39722.orig/CHANGES.txt
++++ xmlmarshaller-0.9.7+dev39722/CHANGES.txt
+@@ -2,11 +2,11 @@ History
+ =======
+ 
+ 0.9.8dev (unreleased)
+----------------------
++------------------
+ 
+ 
+ 0.9.7 (2010-10-30)
+-------------------
++---------------------
+  - Enhance egg folder structure
+     [nicolas Delaby]
+  - Improve tests
+--- /dev/null
++++ xmlmarshaller-0.9.7+dev39722/PKG-INFO
+@@ -0,0 +1,114 @@
++Metadata-Version: 1.0
++Name: xml_marshaller
++Version: 0.9.7
++Summary: Converting Python objects to XML and back again.
++Home-page: http://www.python.org/community/sigs/current/xml-sig/
++Author: Nicolas Delaby
++Author-email: nicolas at nexedi.com
++License: Python License (CNRI Python License)
++Description: Introduction
++        ============
++        
++        Marshals simple Python data types into a custom XML format.
++        The Marshaller and Unmarshaller classes can be subclassed in order
++        to implement marshalling into a different XML DTD.
++        Original Authors are XML-SIG (xml-sig at python.org).
++        
++        Fully compatible with PyXML implementation, enable namespace support for
++        XML Input/Output.
++        
++        Implemented with lxml
++        
++        Installation
++        ============
++        
++        python setup.py install
++        
++        
++        Testing
++        =======
++        
++        python setup.py test
++        
++        Usage
++        =====
++        
++        For simple serialisation and unserialisation::
++        
++        
++          >>> from xml_marshaller import xml_marshaller
++          >>> xml_marshaller.dumps(['item1', {'key1': 1, 'key2': u'unicode string'}])
++          '<marshal><list id="i2"><string>item1</string><dictionary id="i3"><string>key1</string><int>1</int><string>key2</string><unicode>unicode string</unicode></dictionary></list></marshal>'
++          >>> xml_marshaller.loads(xml_marshaller.dumps(['item1', {'key1': 1, 'key2': u'unicode string'}]))
++          ['item1', {'key2': u'unicode string', 'key1': 1}]
++        
++        Can works with file like objects::
++        
++        
++          >>> from xml_marshaller import xml_marshaller
++          >>> from StringIO import StringIO
++          >>> file_like_object = StringIO()
++          >>> xml_marshaller.dump('Hello World !', file_like_object)
++          >>> file_like_object.seek(0)
++          >>> file_like_object.read()
++          '<marshal><string>Hello World !</string></marshal>'
++          >>> file_like_object.seek(0)
++          >>> xml_marshaller.load(file_like_object)
++          'Hello World !'
++        
++        xml_marshaller can also output xml with qualified names::
++        
++        
++          >>> from xml_marshaller import xml_marshaller
++          >>> xml_marshaller.dumps_ns('Hello World !')
++          '<marshal:marshal xmlns:marshal="http://www.erp5.org/namespaces/marshaller"><marshal:string>Hello World !</marshal:string></marshal:marshal>'
++        
++        
++        You can also use your own URI::
++        
++          >>> from xml_marshaller.xml_marshaller import Marshaller
++          >>> marshaller = Marshaller(namespace_uri='http://my-custom-namespace-uri/namespace')
++          >>> marshaller.dumps('Hello World !')
++          '<marshal:marshal xmlns:marshal="http://my-custom-namespace-uri/namespace"><marshal:string>Hello World !</marshal:string></marshal:marshal>'
++        
++        
++        History
++        =======
++        
++        0.9.8dev (unreleased)
++        ------------------
++        
++        
++        0.9.7 (2010-10-30)
++        ---------------------
++         - Enhance egg folder structure
++            [nicolas Delaby]
++         - Improve tests
++            [nicolas Delaby]
++         - add XSD Schema
++            [nicolas Delaby]
++        
++        0.9.6 (2010-10-12)
++        ------------------
++         - [fix] Support boolean transformation
++            [Nicolas Delaby]
++        
++        0.9.5 (2010-09-01)
++        ------------------
++        
++         - [fix] Formatting of documentation
++            [Lukasz Nowak]
++        
++        0.9.4 (2010-09-01)
++        ------------------
++        
++         - [fix] Instances are now correctly unmarshalled.
++            [Cedric de Saint Martin]
++        
++Keywords: XML marshaller
++Platform: UNKNOWN
++Classifier: Development Status :: 4 - Beta
++Classifier: Intended Audience :: Developers
++Classifier: License :: OSI Approved :: Python License (CNRI Python License)
++Classifier: Operating System :: OS Independent
++Classifier: Topic :: Text Processing :: Markup :: XML

Added: packages/xmlmarshaller/trunk/debian/patches/series
===================================================================
--- packages/xmlmarshaller/trunk/debian/patches/series	                        (rev 0)
+++ packages/xmlmarshaller/trunk/debian/patches/series	2011-04-22 05:33:22 UTC (rev 16700)
@@ -0,0 +1 @@
+debian-changes-0.9.7+dev39722-1

Added: packages/xmlmarshaller/trunk/debian/rules
===================================================================
--- packages/xmlmarshaller/trunk/debian/rules	                        (rev 0)
+++ packages/xmlmarshaller/trunk/debian/rules	2011-04-22 05:33:22 UTC (rev 16700)
@@ -0,0 +1,38 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@ --with python2 --buildsystem=python_distutils
+
+# Run tests on build time, but only if ``nocheck'' build option has
+# not been set
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+override_dh_auto_test:
+	for py in $(shell pyversions -vr); do \
+	  python$$py setup.py test; \
+	done
+endif
+
+# Generate the upstream tarball from upstream SVN (adapted from
+# http://wiki.debian.org/SandroTosi/Svn_get-orig-source)
+PACKAGE := xmlmarshaller
+
+SRC_VERSION := $(shell dpkg-parsechangelog | \
+	sed -ne 's/^Version: \(\([0-9]\+\):\)\?\(.*\)-.*/\3/p')
+
+SVN_REVISION := $(shell echo $(SRC_VERSION) | awk -F"+" '{ print $$2 }' | \
+	sed 's/svn//' )
+
+TARBALL = $(PACKAGE)_$(SRC_VERSION).orig.tar.gz
+
+get-orig-source:
+	rm -rf get-orig-source $(TARBALL)
+	mkdir get-orig-source
+	svn export --non-interactive --trust-server-cert -r $(SVN_REVISION) \
+		https://svn.erp5.org/repos/public/erp5/trunk/utils/xml_marshaller \
+	  	get-orig-source/$(PACKAGE)-$(SRC_VERSION).orig
+	GZIP='--best --no-name' tar czf $(TARBALL) -C get-orig-source \
+		$(PACKAGE)-$(SRC_VERSION).orig
+	rm -rf get-orig-source
+	@echo "'$(TARBALL)' created; move it to the right destination to build the package"
+
+.PHONY: get-orig-source


Property changes on: packages/xmlmarshaller/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/xmlmarshaller/trunk/debian/source/format
===================================================================
--- packages/xmlmarshaller/trunk/debian/source/format	                        (rev 0)
+++ packages/xmlmarshaller/trunk/debian/source/format	2011-04-22 05:33:22 UTC (rev 16700)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: packages/xmlmarshaller/trunk/debian/watch
===================================================================
--- packages/xmlmarshaller/trunk/debian/watch	                        (rev 0)
+++ packages/xmlmarshaller/trunk/debian/watch	2011-04-22 05:33:22 UTC (rev 16700)
@@ -0,0 +1,3 @@
+version=3
+opts="dversionmangle=s/[+~].*$//" \
+  http://pypi.python.org/packages/source/x/xml_marshaller/xml_marshaller-([\d\.]+)\.tar\.gz




More information about the Python-modules-commits mailing list