[Python-modules-commits] r27280 - in packages/cloud-sptheme/trunk (21 files)

olasd at users.alioth.debian.org olasd at users.alioth.debian.org
Sat Jan 18 10:59:56 UTC 2014


    Date: Saturday, January 18, 2014 @ 10:59:55
  Author: olasd
Revision: 27280

[svn-inject] Application des modifications Debian (1.6-1) pour le tronc

Added:
  packages/cloud-sptheme/trunk/debian/
  packages/cloud-sptheme/trunk/debian/changelog
  packages/cloud-sptheme/trunk/debian/clean
  packages/cloud-sptheme/trunk/debian/cloud-sptheme-common.install
  packages/cloud-sptheme/trunk/debian/compat
  packages/cloud-sptheme/trunk/debian/control
  packages/cloud-sptheme/trunk/debian/copyright
  packages/cloud-sptheme/trunk/debian/patches/
  packages/cloud-sptheme/trunk/debian/patches/0001-move-themes-to-usr-share.patch
  packages/cloud-sptheme/trunk/debian/patches/0002-add-missing-table_styling.css.patch
  packages/cloud-sptheme/trunk/debian/patches/0003-Remove-cookies-and-tracking.patch
  packages/cloud-sptheme/trunk/debian/patches/0004-make_helper.py-python3-conversion.patch
  packages/cloud-sptheme/trunk/debian/patches/series
  packages/cloud-sptheme/trunk/debian/python-cloud-sptheme.install
  packages/cloud-sptheme/trunk/debian/python3-cloud-sptheme.install
  packages/cloud-sptheme/trunk/debian/rules
  packages/cloud-sptheme/trunk/debian/source/
  packages/cloud-sptheme/trunk/debian/source/format
  packages/cloud-sptheme/trunk/debian/source/include-binaries
  packages/cloud-sptheme/trunk/debian/upstream-signing-key.pgp
  packages/cloud-sptheme/trunk/debian/watch


Property changes on: packages/cloud-sptheme/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages/cloud-sptheme/trunk/debian/changelog
===================================================================
--- packages/cloud-sptheme/trunk/debian/changelog	                        (rev 0)
+++ packages/cloud-sptheme/trunk/debian/changelog	2014-01-18 10:59:55 UTC (rev 27280)
@@ -0,0 +1,5 @@
+cloud-sptheme (1.6-1) UNRELEASED; urgency=medium
+
+  * Initial release. (Closes: #734952)
+
+ -- Nicolas Dandrimont <olasd at debian.org>  Sat, 11 Jan 2014 04:38:06 +0100

Added: packages/cloud-sptheme/trunk/debian/clean
===================================================================
--- packages/cloud-sptheme/trunk/debian/clean	                        (rev 0)
+++ packages/cloud-sptheme/trunk/debian/clean	2014-01-18 10:59:55 UTC (rev 27280)
@@ -0,0 +1,2 @@
+html
+cloud_sptheme/themes/cloud/static/jquery.cookie.js

Added: packages/cloud-sptheme/trunk/debian/cloud-sptheme-common.install
===================================================================
--- packages/cloud-sptheme/trunk/debian/cloud-sptheme-common.install	                        (rev 0)
+++ packages/cloud-sptheme/trunk/debian/cloud-sptheme-common.install	2014-01-18 10:59:55 UTC (rev 27280)
@@ -0,0 +1,2 @@
+html /usr/share/doc/cloud-sptheme-common/
+cloud_sptheme/themes /usr/share/sphinx/

Added: packages/cloud-sptheme/trunk/debian/compat
===================================================================
--- packages/cloud-sptheme/trunk/debian/compat	                        (rev 0)
+++ packages/cloud-sptheme/trunk/debian/compat	2014-01-18 10:59:55 UTC (rev 27280)
@@ -0,0 +1 @@
+9

Added: packages/cloud-sptheme/trunk/debian/control
===================================================================
--- packages/cloud-sptheme/trunk/debian/control	                        (rev 0)
+++ packages/cloud-sptheme/trunk/debian/control	2014-01-18 10:59:55 UTC (rev 27280)
@@ -0,0 +1,89 @@
+Source: cloud-sptheme
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Nicolas Dandrimont <olasd at debian.org>
+Build-Depends:
+ debhelper (>= 9),
+ dh-python,
+ python-all,
+ python3-all,
+ python-sphinx,
+ python3-sphinx,
+ python-setuptools,
+ python3-setuptools
+Standards-Version: 3.9.5
+X-Python-Version: >= 2.6
+Homepage: http://pythonhosted.org/cloud_sptheme/
+Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/cloud-sptheme/trunk/
+Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/cloud-sptheme/trunk/
+
+Package: python-cloud-sptheme
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}, cloud-sptheme-common
+Description: Cloud Sphinx theme and related extensions
+ cloud_sptheme contains a Sphinx theme named "Cloud", and some related
+ Sphinx extensions.  Cloud and its extensions are primarily oriented
+ towards generating html documentation for Python libraries. It provides
+ numerous small enhancements to make the html documentation more
+ interactive, and improve the layout on mobile devices.
+ .
+ In addition to the Cloud theme, this package provides a few extra Sphinx
+ extensions which may be useful when documenting Python projects; and
+ should be theme-agnostic:
+ .
+ cloud_sptheme.ext.autodoc_sections
+   Patches the sphinx.ext.autodoc to handle RST section headers inside
+   docstrings.
+ cloud_sptheme.ext.issue_tracker
+   Adds a special :issue: role for quickly linking to your project's
+   issue tracker.
+ cloud_sptheme.ext.escaped_samp_literals
+   Patches Sphinx to permit escaped {} characters within a :samp: role.
+ cloud_sptheme.ext.table_styling
+   Enhances .. table directive to support per-column text alignment and
+   other layout features.
+ .
+ This package contains the Python 2 version of cloud_sptheme.
+
+Package: python3-cloud-sptheme
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}, cloud-sptheme-common
+Description: Cloud Sphinx theme and related extensions (python3 version)
+ cloud_sptheme contains a Sphinx theme named "Cloud", and some related
+ Sphinx extensions.  Cloud and its extensions are primarily oriented
+ towards generating html documentation for Python libraries. It provides
+ numerous small enhancements to make the html documentation more
+ interactive, and improve the layout on mobile devices.
+ .
+ In addition to the Cloud theme, this package provides a few extra Sphinx
+ extensions which may be useful when documenting Python projects; and
+ should be theme-agnostic:
+ .
+ cloud_sptheme.ext.autodoc_sections
+   Patches the sphinx.ext.autodoc to handle RST section headers inside
+   docstrings.
+ cloud_sptheme.ext.issue_tracker
+   Adds a special :issue: role for quickly linking to your project's
+   issue tracker.
+ cloud_sptheme.ext.escaped_samp_literals
+   Patches Sphinx to permit escaped {} characters within a :samp: role.
+ cloud_sptheme.ext.table_styling
+   Enhances .. table directive to support per-column text alignment and
+   other layout features.
+ .
+ This package contains the Python 3 version of cloud_sptheme.
+
+Package: cloud-sptheme-common
+Architecture: all
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}, libjs-jquery-cookie
+Description: Cloud Sphinx theme and related extensions (theme files and docs)
+ cloud_sptheme contains a Sphinx theme named "Cloud", and some related
+ Sphinx extensions.  Cloud and its extensions are primarily oriented
+ towards generating html documentation for Python libraries. It provides
+ numerous small enhancements to make the html documentation more
+ interactive, and improve the layout on mobile devices.
+ .
+ This package contains the theme files, shared by the python2 and
+ python3 versions of the package. It also contains the module
+ documentation.

Added: packages/cloud-sptheme/trunk/debian/copyright
===================================================================
--- packages/cloud-sptheme/trunk/debian/copyright	                        (rev 0)
+++ packages/cloud-sptheme/trunk/debian/copyright	2014-01-18 10:59:55 UTC (rev 27280)
@@ -0,0 +1,70 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: cloud_sptheme
+Source: http://pythonhosted.org/cloud_sptheme/
+
+Files: *
+Copyright: 2010-2012 by Assurance Technologies, LLC.
+License: BSD-3-clause
+
+Files: cloud_sptheme/themes/cloud/static/jquery.cookie.js
+Copyright: 2010 Klaus Hartl (stilbuero.de)
+License: MIT or GPL
+Comment: The file is only present in the source package. It gets removed during build.
+
+Files: debian/*
+Copyright: 2014 Nicolas Dandrimont <olasd at debian.org>
+License: BSD-3-clause
+
+License: BSD-3-clause
+ 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 of Assurance Technologies, nor the names of the
+   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
+ OWNER 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.
+
+License: GPL
+  On Debian systems, the complete text of the GNU General Public License
+  can be found in `/usr/share/common-licenses/GPL'
+
+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.

Added: packages/cloud-sptheme/trunk/debian/patches/0001-move-themes-to-usr-share.patch
===================================================================
--- packages/cloud-sptheme/trunk/debian/patches/0001-move-themes-to-usr-share.patch	                        (rev 0)
+++ packages/cloud-sptheme/trunk/debian/patches/0001-move-themes-to-usr-share.patch	2014-01-18 10:59:55 UTC (rev 27280)
@@ -0,0 +1,42 @@
+Description: Move themes to /usr/share
+Author: Nicolas Dandrimont <olasd at debian.org>
+Forwarded: not-needed
+
+Index: cloud-sptheme-1.6/cloud_sptheme/__init__.py
+===================================================================
+--- cloud-sptheme-1.6.orig/cloud_sptheme/__init__.py	2014-01-11 06:03:57.000000000 +0100
++++ cloud-sptheme-1.6/cloud_sptheme/__init__.py	2014-01-11 06:03:57.000000000 +0100
+@@ -60,7 +60,7 @@
+ 
+     .. seealso:: The :ref:`Cloud Sphinx Theme <cloud-theme-usage>` for a usage example.
+     """
+-    return os.path.join(_root_dir, "themes")
++    return "/usr/share/sphinx/themes"
+ 
+ def get_version(release):
+     """Derive short version string from longer 'release' string.
+Index: cloud-sptheme-1.6/setup.py
+===================================================================
+--- cloud-sptheme-1.6.orig/setup.py	2014-01-11 06:03:57.000000000 +0100
++++ cloud-sptheme-1.6/setup.py	2014-01-11 06:18:24.428143436 +0100
+@@ -24,7 +24,6 @@
+ setup(
+     #package info
+     packages = find_packages(),
+-    package_data = { "cloud_sptheme": ["themes/*/*.*", "themes/*/static/*.*"] },
+     zip_safe=False,
+ 
+     install_requires=[ "sphinx>=1.1"],
+Index: cloud-sptheme-1.6/docs/conf.py
+===================================================================
+--- cloud-sptheme-1.6.orig/docs/conf.py	2014-01-11 06:07:54.589419958 +0100
++++ cloud-sptheme-1.6/docs/conf.py	2014-01-11 06:08:46.453314843 +0100
+@@ -140,7 +140,7 @@
+     )
+ 
+ # Add any paths that contain custom themes here, relative to this directory.
+-html_theme_path = [csp.get_theme_dir()]
++html_theme_path = [os.path.join(os.path.abspath(os.pardir), "cloud_sptheme", "themes")]
+ 
+ # The name for this set of Sphinx documents.  If None, it defaults to
+ # "<project> v<release> documentation".

Added: packages/cloud-sptheme/trunk/debian/patches/0002-add-missing-table_styling.css.patch
===================================================================
--- packages/cloud-sptheme/trunk/debian/patches/0002-add-missing-table_styling.css.patch	                        (rev 0)
+++ packages/cloud-sptheme/trunk/debian/patches/0002-add-missing-table_styling.css.patch	2014-01-18 10:59:55 UTC (rev 27280)
@@ -0,0 +1,43 @@
+Description: Add missing table_styling.css
+Author: Nicolas Dandrimont <olasd at debian.org>
+Forwarded: not-needed
+
+Index: cloud-sptheme-1.6/cloud_sptheme/ext/table_styling.css
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ cloud-sptheme-1.6/cloud_sptheme/ext/table_styling.css	2014-01-11 06:18:48.708094227 +0100
+@@ -0,0 +1,18 @@
++/* css fragment used by cloud_sptheme.ext.table_styling
++ * for themes which don't derive from base cloud theme
++ */
++table.docutils .left-align { text-align: left; }
++table.docutils .center-align { text-align: center; }
++table.docutils .right-align { text-align: right; }
++table.docutils .justify-align { text-align: justify; }
++table.docutils .nowrap { white-space: nowrap; }
++
++table.docutils .no-left-divider { border-left-width: 0; }
++table.docutils .single-left-divider { border-left-width: 2px; border-left-style: solid; }
++table.docutils .double-left-divider { border-left-width: 6px; border-left-style: double; }
++
++table.docutils .no-right-divider,
++table.docutils .single-right-divider,
++table.docutils .double-right-divider { border-right-width: 0; }
++table.docutils .single-right-divider:last-child { border-right-width: 2px; border-right-style: solid; }
++table.docutils .double-right-divider:last-child { border-right-width: 6px; border-right-style: double; }
+Index: cloud-sptheme-1.6/setup.py
+===================================================================
+--- cloud-sptheme-1.6.orig/setup.py	2014-01-11 06:18:24.428143436 +0100
++++ cloud-sptheme-1.6/setup.py	2014-01-11 06:19:48.607972825 +0100
+@@ -24,6 +24,11 @@
+ setup(
+     #package info
+     packages = find_packages(),
++    package_data = {
++        "cloud_sptheme": [
++            "ext/*.css",
++        ]
++    },
+     zip_safe=False,
+ 
+     install_requires=[ "sphinx>=1.1"],

Added: packages/cloud-sptheme/trunk/debian/patches/0003-Remove-cookies-and-tracking.patch
===================================================================
--- packages/cloud-sptheme/trunk/debian/patches/0003-Remove-cookies-and-tracking.patch	                        (rev 0)
+++ packages/cloud-sptheme/trunk/debian/patches/0003-Remove-cookies-and-tracking.patch	2014-01-18 10:59:55 UTC (rev 27280)
@@ -0,0 +1,89 @@
+Description: Remove Google Analytics
+Author: Nicolas Dandrimont <olasd at debian.org>
+Forwarded: not-needed
+
+Index: cloud-sptheme-1.6/cloud_sptheme/themes/cloud/layout.html
+===================================================================
+--- cloud-sptheme-1.6.orig/cloud_sptheme/themes/cloud/layout.html	2013-09-22 00:00:12.000000000 +0200
++++ cloud-sptheme-1.6/cloud_sptheme/themes/cloud/layout.html	2014-01-11 06:55:28.820021614 +0100
+@@ -20,8 +20,7 @@
+ {% set reldelim2 = reldim2 is not defined and '    ' or reldelim2 %}
+ 
+ {# add script file to instrument collapsable sections  and other features #}
+-{% set script_files = script_files + ['_static/jquery.cookie.js',
+-                                      '_static/cloud.js'] %}
++{% set script_files = script_files + ['_static/cloud.js'] %}
+ 
+ {# add font stylesheets #}
+ {% set css_files = css_files + [theme_fontcssurl] %}
+@@ -58,38 +57,9 @@
+ {% block extrahead -%}
+         {{ super() }}
+         <meta name="viewport" content="width=device-width, initial-scale=1">
+-        {%- if theme_googleanalytics_id -%}
+-<script type="text/javascript">
+-var ga_enabled = !$.cookie('disable-ga');
+-if(ga_enabled){
+-  var _gaq = _gaq || [];
+-  _gaq.push(['_setAccount', '{{ theme_googleanalytics_id }}']);
+-  _gaq.push(['_setCookiePath', '{{ theme_googleanalytics_path }}']);
+-  _gaq.push(['_setDetectFlash', false]);
+-  _gaq.push(['_trackPageview']);
+-  (function() {
+-    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+-    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+-  })();
+-}
+-</script>
+-        {%- endif %}
+ {%- endblock %}
+ 
+ {% block footer -%}
+     {{ super() }}
+-    {%- if theme_googleanalytics_id -%}
+-<script type="text/javascript">
+-    if(ga_enabled){
+-        document.write("<div class=\"footer\">This page uses <a href=\"http://analytics.google.com\">Google Analytics</a> to collect statistics. ");
+-        document.write("Click <button title=\"set cookie to disable analytics for this site\" class=\"link\" onclick=\"$.cookie('disable-ga', 'true', {expires: 3650, path: '{{ theme_googleanalytics_path }}'}); window.location.reload(); return false; \">here</button> to disable analytics for this site.");
+-        document.write("</div>");
+-    }else{
+-        document.write("<div class=\"footer\">Google Analytics has been disabled. ");
+-        document.write("Click <button title=\"set cookie to re-enable analytics for this site\" class=\"link\" onclick=\"$.cookie('disable-ga', null, {path: '{{ theme_googleanalytics_path }}'}); window.location.reload(); return false; \">here</button> to re-enable analytics for this site.");
+-    };
+-</script>
+-    {%- endif %}
+     <!-- cloud_sptheme 1.4 -->
+ {%- endblock %}
+Index: cloud-sptheme-1.6/cloud_sptheme/themes/cloud/static/cloud.js_t
+===================================================================
+--- cloud-sptheme-1.6.orig/cloud_sptheme/themes/cloud/static/cloud.js_t	2014-01-18 11:14:39.713457855 +0100
++++ cloud-sptheme-1.6/cloud_sptheme/themes/cloud/static/cloud.js_t	2014-01-18 11:16:18.337421275 +0100
+@@ -144,15 +144,11 @@
+ 
+   var show_btn = $('#sidebar-show', holder);
+   var hide_btn = $('#sidebar-hide', holder);
+-  /* FIXME: when url_root is a relative path, this sets cookie in wrong spot.
+-     need to detect relative roots, and combine with document.location.path */
+-  var copts = { expires: 7, path: DOCUMENTATION_OPTIONS.url_root };
+ 
+   show_btn.click(function (){
+     doc.removeClass("collapsed-sidebar");
+     hide_btn.show();
+     show_btn.hide();
+-    $.cookie("sidebar", "expanded", copts);
+     $(window).trigger("cloud-sidebar-toggled", false);
+   });
+ 
+@@ -160,11 +156,9 @@
+     doc.addClass("collapsed-sidebar");
+     show_btn.show();
+     hide_btn.hide();
+-    $.cookie("sidebar", "collapsed", copts);
+     $(window).trigger("cloud-sidebar-toggled", true);
+   });
+ 
+-  var state = $.cookie("sidebar");
+ {% if theme_defaultcollapsed | tobool %}
+   if(!state)
+     state = "collapsed";

Added: packages/cloud-sptheme/trunk/debian/patches/0004-make_helper.py-python3-conversion.patch
===================================================================
--- packages/cloud-sptheme/trunk/debian/patches/0004-make_helper.py-python3-conversion.patch	                        (rev 0)
+++ packages/cloud-sptheme/trunk/debian/patches/0004-make_helper.py-python3-conversion.patch	2014-01-18 10:59:55 UTC (rev 27280)
@@ -0,0 +1,92 @@
+Index: cloud-sptheme-1.6/cloud_sptheme/make_helper.py
+===================================================================
+--- cloud-sptheme-1.6.orig/cloud_sptheme/make_helper.py	2013-09-13 19:43:05.000000000 +0200
++++ cloud-sptheme-1.6/cloud_sptheme/make_helper.py	2014-01-11 07:10:42.782169247 +0100
+@@ -6,6 +6,7 @@
+ #imports
+ #===============================================================
+ #core
++from __future__ import print_function
+ import logging; log = logging.getLogger(__name__)
+ import os,sys
+ from string import Template
+@@ -150,16 +151,16 @@
+     #targets
+     #===============================================================
+     def target_help(self):
+-        print "Please use \`make <target>' where <target> is one of"
+-        print "  clean     remove all compiled files"
+-        print "  html      to make standalone HTML files"
+-        print "  servehtml to serve standalone HTML files on port 8000"
+-#        print "  pickle    to make pickle files"
+-#        print "  json      to make JSON files"
+-        print "  htmlhelp  to make HTML files and a HTML help project"
+-#        print "  latex     to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
+-#        print "  changes   to make an overview over all changed/added/deprecated items"
+-#        print "  linkcheck to check all external links for integrity"
++        print("Please use \`make <target>' where <target> is one of")
++        print("  clean     remove all compiled files")
++        print("  html      to make standalone HTML files")
++        print("  servehtml to serve standalone HTML files on port 8000")
++#        print("  pickle    to make pickle files")
++#        print("  json      to make JSON files")
++        print("  htmlhelp  to make HTML files and a HTML help project")
++#        print("  latex     to make LaTeX files, you can set PAPER=a4 or PAPER=letter")
++#        print("  changes   to make an overview over all changed/added/deprecated items")
++#        print("  linkcheck to check all external links for integrity")
+ 
+     def target_clean(self):
+         rmpath(self.BUILD)
+@@ -180,10 +181,17 @@
+             from paste.urlparser import StaticURLParser
+         except ImportError:
+             # fall back to stdlib server
+-            import SimpleHTTPServer as s
++            if sys.version_info[0] >= 3:
++                import http.server as s
++                HTTPServer = s.HTTPServer
++            else:
++                import SimpleHTTPServer as s
++                HTTPServer = s.BaseHTTPServer.HTTPServer
++
+             os.chdir(path)
+-            print "Serving files from %r on port %r" % (path, port)
+-            s.BaseHTTPServer.HTTPServer(('',port), s.SimpleHTTPRequestHandler).serve_forever()
++            print("Serving files from %r on port %r" % (path, port))
++
++            HTTPServer(('',port), s.SimpleHTTPRequestHandler).serve_forever()
+         else:
+             serve(StaticURLParser(path), host="0.0.0.0", port=port)
+ 
+@@ -191,8 +199,8 @@
+ 
+     ##def target_latex(self):
+     ##    build("latex")
+-    ##    print "Run \`make all-pdf' or \`make all-ps' in that directory to" \
+-    ##        "run these through (pdf)latex."
++    ##    print("Run \`make all-pdf' or \`make all-ps' in that directory to" \
++    ##        "run these through (pdf)latex.")
+     ##
+     ##def target_pdf():
+     ##    assert os.name == "posix", "pdf build support not automated for your os"
+@@ -200,7 +208,7 @@
+     ##    target = BUILD / "latex"
+     ##    target.chdir()
+     ##    subprocess.call(['make', 'all-pdf'])
+-    ##    print "pdf built"
++    ##    print("pdf built")
+ 
+     #===============================================================
+     #helpers
+@@ -217,9 +225,9 @@
+ 
+         rc = subprocess.call([self.SPHINXBUILD, "-b", name] + ALLSPHINXOPTS + [ target ])
+         if rc:
+-            print "Sphinx-Build returned error, exiting."
++            print("Sphinx-Build returned error, exiting.")
+             sys.exit(rc)
+-        print "Build finished. The %s pages are in %r." % (name, target,)
++        print("Build finished. The %s pages are in %r." % (name, target,))
+         return target
+ 
+     def get_paper_opts(self):

Added: packages/cloud-sptheme/trunk/debian/patches/series
===================================================================
--- packages/cloud-sptheme/trunk/debian/patches/series	                        (rev 0)
+++ packages/cloud-sptheme/trunk/debian/patches/series	2014-01-18 10:59:55 UTC (rev 27280)
@@ -0,0 +1,4 @@
+0001-move-themes-to-usr-share.patch
+0002-add-missing-table_styling.css.patch
+0003-Remove-cookies-and-tracking.patch
+0004-make_helper.py-python3-conversion.patch

Added: packages/cloud-sptheme/trunk/debian/python-cloud-sptheme.install
===================================================================
--- packages/cloud-sptheme/trunk/debian/python-cloud-sptheme.install	                        (rev 0)
+++ packages/cloud-sptheme/trunk/debian/python-cloud-sptheme.install	2014-01-18 10:59:55 UTC (rev 27280)
@@ -0,0 +1 @@
+/usr/lib/python2.*

Added: packages/cloud-sptheme/trunk/debian/python3-cloud-sptheme.install
===================================================================
--- packages/cloud-sptheme/trunk/debian/python3-cloud-sptheme.install	                        (rev 0)
+++ packages/cloud-sptheme/trunk/debian/python3-cloud-sptheme.install	2014-01-18 10:59:55 UTC (rev 27280)
@@ -0,0 +1 @@
+/usr/lib/python3.*

Added: packages/cloud-sptheme/trunk/debian/rules
===================================================================
--- packages/cloud-sptheme/trunk/debian/rules	                        (rev 0)
+++ packages/cloud-sptheme/trunk/debian/rules	2014-01-18 10:59:55 UTC (rev 27280)
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_auto_build:
+	dh_auto_build
+	sphinx-build $(CURDIR)/docs $(CURDIR)/html
+
+override_dh_auto_clean:
+	dh_auto_clean
+	if [ -d $(CURDIR)/html ]; then rm -r $(CURDIR)/html; fi
+
+override_dh_install:
+	dh_install --fail-missing


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

Added: packages/cloud-sptheme/trunk/debian/source/format
===================================================================
--- packages/cloud-sptheme/trunk/debian/source/format	                        (rev 0)
+++ packages/cloud-sptheme/trunk/debian/source/format	2014-01-18 10:59:55 UTC (rev 27280)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: packages/cloud-sptheme/trunk/debian/source/include-binaries
===================================================================
--- packages/cloud-sptheme/trunk/debian/source/include-binaries	                        (rev 0)
+++ packages/cloud-sptheme/trunk/debian/source/include-binaries	2014-01-18 10:59:55 UTC (rev 27280)
@@ -0,0 +1 @@
+debian/upstream-signing-key.pgp

Added: packages/cloud-sptheme/trunk/debian/upstream-signing-key.pgp
===================================================================
(Binary files differ)


Property changes on: packages/cloud-sptheme/trunk/debian/upstream-signing-key.pgp
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: packages/cloud-sptheme/trunk/debian/watch
===================================================================
--- packages/cloud-sptheme/trunk/debian/watch	                        (rev 0)
+++ packages/cloud-sptheme/trunk/debian/watch	2014-01-18 10:59:55 UTC (rev 27280)
@@ -0,0 +1,3 @@
+version=3
+
+opts=pgpsigurlmangle=s/$/.asc/ https://pypi.python.org/packages/source/c/cloud_sptheme/cloud_sptheme-(.+).tar.gz




More information about the Python-modules-commits mailing list