← Back to team overview

configglue team mailing list archive

[Merge] lp:~ricardokirkner/configglue/include-packaging into lp:configglue

 

Ricardo Kirkner has proposed merging lp:~ricardokirkner/configglue/include-packaging into lp:configglue.

Requested reviews:
  Configglue developers (configglue)

For more details, see:
https://code.launchpad.net/~ricardokirkner/configglue/include-packaging/+merge/50532

added debian packaging info directly into the source tree
-- 
https://code.launchpad.net/~ricardokirkner/configglue/include-packaging/+merge/50532
Your team Configglue developers is requested to review the proposed merge of lp:~ricardokirkner/configglue/include-packaging into lp:configglue.
=== added directory 'debian'
=== added file 'debian/changelog'
--- debian/changelog	1970-01-01 00:00:00 +0000
+++ debian/changelog	2011-02-20 21:58:57 +0000
@@ -0,0 +1,32 @@
+python-configglue (0.9pre1-0ubuntu1) maverick; urgency=low
+
+  [Rick McBride]
+  * New upstream release. Closes (LP: #616477)
+    - fixed broken tests
+    - moved existing code around
+    - initial import of configglue.pyschema (from schemaconfig)
+    - merged changes from Ricardo Kirkner
+    - unified the © headers
+    - worked around circular import that happens when importing pyschema first
+    - schema inheritance fix
+    -added optional arguement to ini2schema for ubuntuone-client
+
+  [Elliot Murphy]
+  * debian/control: bumped standards-version to 3.9.1
+
+ -- Rick McBride <rick.mcbride@xxxxxxxxxxxxx>  Wed, 11 Aug 2010 16:43:35 -0400
+
+python-configglue (0.2dev-0ubuntu2) karmic; urgency=low
+
+  * debian/control:
+    + XS-Python-Version changed to >= 2.5 because of absolute imports 
+      (LP: #391451)
+
+ -- Andrew Mitchell <ajmitch@xxxxxxxxxx>  Wed, 24 Jun 2009 14:35:22 +1200
+
+python-configglue (0.2dev-0ubuntu1) karmic; urgency=low
+
+    * Initial package Closes (LP: #384830)
+
+ -- Rick McBride <rick.mcbride@xxxxxxxxxxxxx>  Mon, 15 Jun 2009 14:33:00 -0400
+

=== added file 'debian/compat'
--- debian/compat	1970-01-01 00:00:00 +0000
+++ debian/compat	2011-02-20 21:58:57 +0000
@@ -0,0 +1,1 @@
+7

=== added file 'debian/control'
--- debian/control	1970-01-01 00:00:00 +0000
+++ debian/control	2011-02-20 21:58:57 +0000
@@ -0,0 +1,21 @@
+Source: python-configglue
+Section: python
+Priority: optional
+Maintainer: Ubuntu MOTU Team <ubuntu-motu@xxxxxxxxxxxxxxxx>
+XSBC-Original-Maintainer: Rick McBride <rick.mcbride@xxxxxxxxxxxxx>
+Build-Depends: cdbs,
+ debhelper (>= 7.0.14),
+ python,
+ python-setuptools,
+ python-support
+XS-Python-Version: >=2.5
+Standards-Version: 3.9.1
+
+Package: python-configglue
+Architecture: all
+XB-Python-Version: ${python:Versions}
+Depends: ${misc:Depends}, ${python:Depends}
+Description: Glues together optparse.OptionParser and ConfigParser.ConfigParser
+ Configglue is a library that glues together python's optparse.OptionParser 
+ and ConfigParser.ConfigParser, so that the same options can be exported to a
+ configuration file and a commandline interface.

=== added file 'debian/copyright'
--- debian/copyright	1970-01-01 00:00:00 +0000
+++ debian/copyright	2011-02-20 21:58:57 +0000
@@ -0,0 +1,43 @@
+This package was debianized by Rick McBride <rick.mcbride@xxxxxxxxxxxxx> on
+Fri, 20 Mar 2009 14:26:00 -0400.
+
+Copyright: 
+
+    Copyright (C) 2009 Canonical
+
+License:
+    
+    Upstream Author: John R. Lenton <john lenton at canonical com>
+	                 Ricardo Kirkner <ricardo kirkner at canonical com>
+    Project Homepage: https://launchpad.net/configglue
+    Released under the BSD License
+    
+    Copyright (C) 2009, Canonical
+    All rights reserved.
+
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted provided that the following conditions are met:
+
+        * Redistributions of source code must retain the above copyright notice,
+          this list of conditions and the following disclaimer.
+        * Redistributions in binary form must reproduce the above copyright
+          notice, this list of conditions and the following disclaimer in the
+          documentation and/or other materials provided with the distribution.
+        * Neither the name Canonical nor the names of its contributors may be
+          used to endorse or promote products derived from this software without
+          specific prior written permission.
+
+    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+    ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 
+    LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
+    CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
+    SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
+    INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
+    CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+    ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
+    POSSIBILITY OF SUCH DAMAGE
+    
+    The Debian packaging is (C) 2009, Canonical and is licensed under the BSD
+    license, see above.

=== added file 'debian/pycompat'
--- debian/pycompat	1970-01-01 00:00:00 +0000
+++ debian/pycompat	2011-02-20 21:58:57 +0000
@@ -0,0 +1,1 @@
+2

=== added file 'debian/rules'
--- debian/rules	1970-01-01 00:00:00 +0000
+++ debian/rules	2011-02-20 21:58:57 +0000
@@ -0,0 +1,5 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+DEB_PYTHON_SYSTEM = pysupport
+include /usr/share/cdbs/1/class/python-distutils.mk

=== added file 'debian/watch'
--- debian/watch	1970-01-01 00:00:00 +0000
+++ debian/watch	2011-02-20 21:58:57 +0000
@@ -0,0 +1,2 @@
+version=3
+http://pypi.python.org/packages/source/c/configglue/configglue-(.+)\.tar\.gz

=== modified file 'setup.py'
--- setup.py	2011-01-10 12:50:01 +0000
+++ setup.py	2011-02-20 21:58:57 +0000
@@ -16,24 +16,16 @@
 ###############################################################################
 
 
-import os
 from setuptools import (
     find_packages,
     setup,
 )
 
-
-def get_version():
-    version = [
-        (line.split('=')[1]).strip().strip('"').strip("'")
-        for line in open(os.path.join('configglue', '__init__.py'))
-        if line.startswith( '__version__' )
-    ][0]
-    return version
+import configglue
 
 
 setup(name='configglue',
-      version=get_version(),
+      version=configglue.__version__,
       description="Glue to stick OptionParser and ConfigParser together",
       long_description="""
 configglue is a library that glues together python's optparse.OptionParser and