[Python-modules-commits] r18089 - in packages/python-dexml/trunk (13 files)

janos-guest at users.alioth.debian.org janos-guest at users.alioth.debian.org
Mon Aug 8 14:19:46 UTC 2011


    Date: Monday, August 8, 2011 @ 14:19:45
  Author: janos-guest
Revision: 18089

[svn-inject] Applying Debian modifications (0.4.2-1) to trunk

Added:
  packages/python-dexml/trunk/debian/
  packages/python-dexml/trunk/debian/changelog
  packages/python-dexml/trunk/debian/compat
  packages/python-dexml/trunk/debian/control
  packages/python-dexml/trunk/debian/copyright
  packages/python-dexml/trunk/debian/docs
  packages/python-dexml/trunk/debian/patches/
  packages/python-dexml/trunk/debian/patches/series
  packages/python-dexml/trunk/debian/patches/use-setuptools.patch
  packages/python-dexml/trunk/debian/rules
  packages/python-dexml/trunk/debian/source/
  packages/python-dexml/trunk/debian/source/format
  packages/python-dexml/trunk/debian/watch


Property changes on: packages/python-dexml/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages/python-dexml/trunk/debian/changelog
===================================================================
--- packages/python-dexml/trunk/debian/changelog	                        (rev 0)
+++ packages/python-dexml/trunk/debian/changelog	2011-08-08 14:19:45 UTC (rev 18089)
@@ -0,0 +1,5 @@
+python-dexml (0.4.2-1) unstable; urgency=low
+
+  * Initial release. (Closes: #637097)
+
+ -- Janos Guljas <janos at resenje.org>  Mon, 08 Aug 2011 15:52:05 +0200

Added: packages/python-dexml/trunk/debian/compat
===================================================================
--- packages/python-dexml/trunk/debian/compat	                        (rev 0)
+++ packages/python-dexml/trunk/debian/compat	2011-08-08 14:19:45 UTC (rev 18089)
@@ -0,0 +1 @@
+7

Added: packages/python-dexml/trunk/debian/control
===================================================================
--- packages/python-dexml/trunk/debian/control	                        (rev 0)
+++ packages/python-dexml/trunk/debian/control	2011-08-08 14:19:45 UTC (rev 18089)
@@ -0,0 +1,32 @@
+Source: python-dexml
+Section: python
+Priority: optional
+Maintainer: Janos Guljas <janos at resenje.org>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 7.0.50~), python-all (>= 2.5), python3-all (>= 3.1), python-setuptools, python3-setuptools
+Standards-Version: 3.9.2
+Homepage: http://pypi.python.org/pypi/dexml/
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-dexml/trunk
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-dexml/trunk/
+
+Package: python-dexml
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Provides: ${python:Provides}
+Description: Dead-simple Object-XML mapper for Python
+ Dexml module takes the obvious mapping between XML tags and Python objects
+ and lets you capture that as cleanly as possible. Loosely inspired by Django's
+ ORM, you write simple class definitions to define the expected structure of
+ your XML document.
+
+Package: python3-dexml
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Provides: ${python3:Provides}
+Description: Dead-simple Object-XML mapper for Python3
+ Dexml module takes the obvious mapping between XML tags and Python objects
+ and lets you capture that as cleanly as possible. Loosely inspired by Django's
+ ORM, you write simple class definitions to define the expected structure of
+ your XML document.
+ .
+ This package provides module for python3 series.

Added: packages/python-dexml/trunk/debian/copyright
===================================================================
--- packages/python-dexml/trunk/debian/copyright	                        (rev 0)
+++ packages/python-dexml/trunk/debian/copyright	2011-08-08 14:19:45 UTC (rev 18089)
@@ -0,0 +1,50 @@
+Format: http://dep.debian.net/deps/dep5/
+Upstream-Name: dexml
+Upstream-Contact: Ryan Kelly <ryan at rfk.id.au>
+Source: http://github.com/rfk/dexml
+
+Files: *
+Copyright: 2009-2011 Ryan Kelly <ryan at rfk.id.au>
+License: MIT
+ 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 NONINFRINGEMENT. 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.
+
+Files: debian/*
+Copyright: 2011 Janos Guljas <janos at resenje.org>
+License: GPL-2+
+ 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 package; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ Boston, MA  02110-1301 USA
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/GPL-2'.
+

Added: packages/python-dexml/trunk/debian/docs
===================================================================
--- packages/python-dexml/trunk/debian/docs	                        (rev 0)
+++ packages/python-dexml/trunk/debian/docs	2011-08-08 14:19:45 UTC (rev 18089)
@@ -0,0 +1 @@
+README.rst

Added: packages/python-dexml/trunk/debian/patches/series
===================================================================
--- packages/python-dexml/trunk/debian/patches/series	                        (rev 0)
+++ packages/python-dexml/trunk/debian/patches/series	2011-08-08 14:19:45 UTC (rev 18089)
@@ -0,0 +1 @@
+use-setuptools.patch

Added: packages/python-dexml/trunk/debian/patches/use-setuptools.patch
===================================================================
--- packages/python-dexml/trunk/debian/patches/use-setuptools.patch	                        (rev 0)
+++ packages/python-dexml/trunk/debian/patches/use-setuptools.patch	2011-08-08 14:19:45 UTC (rev 18089)
@@ -0,0 +1,20 @@
+Description: Use setuptools for all Python versions if available
+Author: Janos Guljas <janos at resenje.org>
+Last-Update: 2011-08-08
+
+--- a/setup.py
++++ b/setup.py
+@@ -7,11 +7,11 @@
+ 
+ import sys
+ setup_kwds = {}
+-if sys.version_info > (3,):
++try:
+     from setuptools import setup
+     setup_kwds["test_suite"] = "dexml.test"
+     setup_kwds["use_2to3"] = True
+-else:
++except ImportError:
+     from distutils.core import setup
+ 
+ 

Added: packages/python-dexml/trunk/debian/rules
===================================================================
--- packages/python-dexml/trunk/debian/rules	                        (rev 0)
+++ packages/python-dexml/trunk/debian/rules	2011-08-08 14:19:45 UTC (rev 18089)
@@ -0,0 +1,26 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@ --with python2
+
+override_dh_auto_install:
+	for pyvers in $(shell pyversions -vr); do \
+		python$$pyvers setup.py install --install-layout=deb \
+			--root $(CURDIR)/debian/python-dexml; \
+	done
+	for pyvers in $(shell py3versions -sv); do \
+		python$$pyvers setup.py install --install-layout=deb \
+			--root $(CURDIR)/debian/python3-dexml; \
+	done
+
+override_dh_auto_test:
+	for pyvers in $(shell pyversions -vr); do \
+		python$$pyvers setup.py test; \
+	done
+	for pyvers in $(shell py3versions -sv); do \
+		python$$pyvers setup.py test; \
+	done
+
+override_dh_python2:
+	dh_python2 -ppython-dexml
+	dh_python3 -ppython3-dexml


Property changes on: packages/python-dexml/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/python-dexml/trunk/debian/source/format
===================================================================
--- packages/python-dexml/trunk/debian/source/format	                        (rev 0)
+++ packages/python-dexml/trunk/debian/source/format	2011-08-08 14:19:45 UTC (rev 18089)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: packages/python-dexml/trunk/debian/watch
===================================================================
--- packages/python-dexml/trunk/debian/watch	                        (rev 0)
+++ packages/python-dexml/trunk/debian/watch	2011-08-08 14:19:45 UTC (rev 18089)
@@ -0,0 +1,2 @@
+version=3
+http://pypi.python.org/packages/source/d/dexml/ dexml-(.*).tar.gz




More information about the Python-modules-commits mailing list