summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovico Cavedon <ludovico.cavedon@gmail.com>2009-10-20 23:53:36 -0700
committerLudovico Cavedon <ludovico.cavedon@gmail.com>2009-10-20 23:53:36 -0700
commiteb213dc0b5bbc08dc6a5ee68fe2b92bf9b755db3 (patch)
tree8b06a5fc7d15c1d8a1f907d552dde23a7e282c2b
parent8cbb16c4830d341deb19d77d8ff9c10813460e46 (diff)
imported changes by Joao Eriberto Mota Filho <eriberto@eriberto.pro.br>
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control21
-rw-r--r--debian/copyright92
-rwxr-xr-xdebian/rules42
-rw-r--r--debian/watch3
6 files changed, 164 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..c3adfa1
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-iniparse (0.3.1-1) unstable; urgency=low
+
+ * Initial release (Closes: #506011)
+
+ -- Joao Eriberto Mota Filho <eriberto@eriberto.pro.br> Wed, 29 Jul 2009 10:03:26 -0300
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..bdc8014
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,21 @@
+Source: python-iniparse
+Section: python
+Priority: optional
+Maintainer: Joao Eriberto Mota Filho <eriberto@eriberto.pro.br>
+Build-Depends: debhelper (>= 7), python
+Build-Depends-Indep: python-support
+Standards-Version: 3.8.2
+Homepage: http://code.google.com/p/iniparse
+Vcs-Svn: svn://svn.debian.org/svn/debian-br-team/packages/python-iniparse
+Vcs-Browser: http://svn.debian.org/wsvn/debian-br-team/packages/python-iniparse
+
+Package: python-iniparse
+Architecture: all
+Depends: ${python:Depends}, ${python:Versions}, ${python:Provides}
+Description: module to access and modify configuration data in ini files
+ iniparse is an INI parser for Python which is API compatible with the
+ standard library's ConfigParser. It preserves structure of INI files
+ (order of sections & options, indentation, comments and blank lines
+ are preserved when data is updated).
+ .
+ Usage examples: http://code.google.com/p/iniparse/wiki/UsageExamples
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..72746c6
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,92 @@
+This package was debianized by Joao Eriberto Mota Filho
+<eriberto@eriberto.pro.br> on Fri, 14 Nov 2008 08:32:24 -0200.
+
+It was downloaded from http://code.google.com/p/iniparse
+
+Upstream Authors: Paramjit Oberoi <param.cs.wisc.edu> and
+ Tim Lauridsen <tla@rasmil.dk>
+
+Copyright: (C) 2001-2003 Python Software Foundation
+ (C) 2004-2008 Paramjit Oberoi
+ (C) 2007 Tim Lauridsen
+
+Licenses:
+
+ The iniparse uses MIT license. However, some files contain code derived
+ from files in python-2.3 original code.
+
+
+ The MIT License
+ ---------------
+
+ 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.
+
+
+ PSF LICENSE AGREEMENT FOR PYTHON 2.3
+ ------------------------------------
+
+ 1. This LICENSE AGREEMENT is between the Python Software Foundation
+ ("PSF"), and the Individual or Organization ("Licensee") accessing and
+ otherwise using Python 2.3 software in source or binary form and its
+ associated documentation.
+
+ 2. Subject to the terms and conditions of this License Agreement, PSF
+ hereby grants Licensee a nonexclusive, royalty-free, world-wide
+ license to reproduce, analyze, test, perform and/or display publicly,
+ prepare derivative works, distribute, and otherwise use Python 2.3
+ alone or in any derivative version, provided, however, that PSF's
+ License Agreement and PSF's notice of copyright, i.e., "Copyright (c)
+ 2001, 2002, 2003 Python Software Foundation; All Rights Reserved" are
+ retained in Python 2.3 alone or in any derivative version prepared by
+ Licensee.
+
+ 3. In the event Licensee prepares a derivative work that is based on
+ or incorporates Python 2.3 or any part thereof, and wants to make
+ the derivative work available to others as provided herein, then
+ Licensee hereby agrees to include in any such work a brief summary of
+ the changes made to Python 2.3.
+
+ 4. PSF is making Python 2.3 available to Licensee on an "AS IS"
+ basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 2.3 WILL NOT
+ INFRINGE ANY THIRD PARTY RIGHTS.
+
+ 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
+ 2.3 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
+ A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 2.3,
+ 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. Nothing in this License Agreement shall be deemed to create any
+ relationship of agency, partnership, or joint venture between PSF and
+ Licensee. This License Agreement does not grant permission to use PSF
+ trademarks or trade name in a trademark sense to endorse or promote
+ products or services of Licensee, or any third party.
+
+ 8. By copying, installing or otherwise using Python 2.3, Licensee
+ agrees to be bound by the terms and conditions of this License
+ Agreement.
+
+The Debian packaging is copyright 2008-2009, Joao Eriberto Mota Filho
+<eriberto@eriberto.pro.br> and is licensed under the GPL 2 or later.
+Please, see directory `/usr/share/common-licenses/GPL-[23]'.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..9f81d5f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,42 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+PROG_NAME=iniparse
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+ python setup.py build
+ touch build-stamp $(PROG_NAME)/__init__.py
+
+clean:
+ dh_testdir
+ dh_testroot
+ python setup.py clean --all
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_prep
+ python setup.py install --root=debian/python-$(PROG_NAME)
+ rm -rf debian/python-$(PROG_NAME)/usr/share/doc/$(PROG_NAME)-*
+
+binary: binary-indep
+binary-arch:
+binary-indep: install
+ dh_testdir
+ dh_testroot
+ dh_installdocs html
+ dh_installchangelogs
+ dh_compress
+ dh_fixperms
+ dh_pysupport
+ dh_installdeb
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+.PHONY: build clean binary-indep binary-arch binary install
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..7fb03f1
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://code.google.com/p/iniparse/downloads/list \
+ http://iniparse\.googlecode\.com/files/iniparse-(.*)\.tar\.gz