[Python-modules-commits] [python-dicttoxml] 03/06: Initial debian patch

Marcos Fouces mfouces-guest at moszumanska.debian.org
Tue Nov 29 22:18:56 UTC 2016


This is an automated email from the git hooks/post-receive script.

mfouces-guest pushed a commit to branch master
in repository python-dicttoxml.

commit af8d288d48e803a897041f57655ab792d07e4ceb
Author: Marcos Fouces <mfouces at yahoo.es>
Date:   Sat Nov 26 08:35:39 2016 +0100

    Initial debian patch
---
 debian/source/changelog |  5 +++++
 debian/source/compat    |  1 +
 debian/source/control   | 38 ++++++++++++++++++++++++++++++++++++++
 debian/source/copyright | 29 +++++++++++++++++++++++++++++
 debian/source/docs      |  1 +
 debian/source/rules     |  5 +++++
 debian/source/watch     |  2 ++
 7 files changed, 81 insertions(+)

diff --git a/debian/source/changelog b/debian/source/changelog
new file mode 100644
index 0000000..4602276
--- /dev/null
+++ b/debian/source/changelog
@@ -0,0 +1,5 @@
+python-dicttoxml (1.7.4-1) unstable; urgency=medium
+
+  * Initial Debian release (Closes:#838240)
+
+ -- Marcos Fouces <mfouces at yahoo.es>  Wed, 07 Sep 2016 23:23:26 +0200
diff --git a/debian/source/compat b/debian/source/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/source/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/source/control b/debian/source/control
new file mode 100644
index 0000000..4bba2cf
--- /dev/null
+++ b/debian/source/control
@@ -0,0 +1,38 @@
+Source: python-dicttoxml
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Marcos Fouces <mfouces at yahoo.es>
+Build-Depends: debhelper (>= 9), python-all, python3-all, dh-python
+Standards-Version: 3.9.8
+Homepage: https://pypi.python.org/pypi/dicttoxml/
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-dicttoxml.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-dicttoxml.git
+
+Package: python-dicttoxml
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+Description: Python module for converting dict into a XML string
+ dicttoxml is a Python module for a Python dictionary or other native data type
+ into a valid XML string.
+ .
+ Supports item (int, float, long, decimal.Decimal, bool, str, unicode, datetime,
+ none and other number-like objects) and collection (list, set, tuple and dict,
+ as well as iterable and dict-like objects) data types, with arbitrary nesting
+ for the collections. Items with a datetime type are converted to ISO format
+ strings. Items with a none type become empty XML elements.
+
+Package: python3-dicttoxml
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Description: Python 3 module for converting dict into a XML string
+ dicttoxml is a Python module for a Python dictionary or other native data type
+ into a valid XML string.
+ .
+ Supports item (int, float, long, decimal.Decimal, bool, str, unicode, datetime,
+ none and other number-like objects) and collection (list, set, tuple and dict,
+ as well as iterable and dict-like objects) data types, with arbitrary nesting
+ for the collections. Items with a datetime type are converted to ISO format
+ strings. Items with a none type become empty XML elements.
+ .
+ This is the Python 3 version of the package.
diff --git a/debian/source/copyright b/debian/source/copyright
new file mode 100644
index 0000000..204fb96
--- /dev/null
+++ b/debian/source/copyright
@@ -0,0 +1,29 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: dicttoxml
+Source: https://pypi.python.org/pypi/dicttoxml/
+
+Files: *
+Copyright: 2012-2015 Ryan McGreal
+License: GPL-2
+
+Files: debian/*
+Copyright: 2015 Sophie Brun <sophie at freexian.com>
+           2016 Marcos Fouces <mfouces at yahoo.es>
+License: GPL-2
+
+License: GPL-2
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License version 2 as
+ published by the Free Software Foundation.
+ .
+ This package 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 Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
diff --git a/debian/source/docs b/debian/source/docs
new file mode 100644
index 0000000..8d526b9
--- /dev/null
+++ b/debian/source/docs
@@ -0,0 +1 @@
+README.markdown
diff --git a/debian/source/rules b/debian/source/rules
new file mode 100755
index 0000000..54f6e51
--- /dev/null
+++ b/debian/source/rules
@@ -0,0 +1,5 @@
+#!/usr/bin/make -f
+export PYBUILD_NAME=dicttoxml
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
diff --git a/debian/source/watch b/debian/source/watch
new file mode 100644
index 0000000..24c4e15
--- /dev/null
+++ b/debian/source/watch
@@ -0,0 +1,2 @@
+version=3
+https://pypi.python.org/pypi/dicttoxml/ (?:.*)/dicttoxml-(\d.*)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-dicttoxml.git



More information about the Python-modules-commits mailing list